web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Errors during the preview posting in purchase invoice.

(0) ShareShare
ReportReport
Posted on by 1,893

Dear Experts,

When we try to take a preview posting, we are getting the below error messages, please help me to resolve it.

2350.test01.png

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    RockwithNav Profile Picture
    8,637 Super User 2025 Season 2 on at

    Did you tried debugging?
    If you haven't modified any code base as its a base code altogether then hat you need to do is to cross verify the integrity of data as that will be the only reason behind this.

  • manish.yadav Profile Picture
    1,893 on at

    ok sir.

  • manish.yadav Profile Picture
    1,893 on at

    From yesterday evening, this errors is coming. I am not very technically strong, this error is coming in codeunit no - 90 post purchase.

  • Suggested answer
    RockwithNav Profile Picture
    8,637 Super User 2025 Season 2 on at

    Which line of code in Codeunit 90?

  • manish.yadav Profile Picture
    1,893 on at

    Thank you for your fast reply. After debugging, I am getting the error in below line. Please find the screenshot

    1050.test01.png

  • Suggested answer
    RockwithNav Profile Picture
    8,637 Super User 2025 Season 2 on at

    This all seems to be base code. Did you tested this this document no is not there in Posted Sales Invoice??

    No Series is automatically getting generated OR its manual??

    If you find this document no doesn't exist in Posted Invoice then you need to do smart debugging and check out how come its clashing.

  • Suggested answer
    CDsilva Profile Picture
    4,188 on at

    Hi MKY,

    Looks like a problem with your No.series. Do check how No. series is set up

  • manish.yadav Profile Picture
    1,893 on at

    Yes Miss,  unfortunately one of the invoice is posted with no document no...that's a reason problem is coming. I don't know the reason, how it is possible to post the invoice without document no.. In my "Purc_invoice_line, Posted narration, Purch_comment_ line, Vendor ledger entry" table have saved the document no "****". If I directly  post the PO without preview post, then successfully posted. But preview post, is the necessary part of the account person. Please give me some tips to resolve it permanently.

  • Community Member Profile Picture
    on at

    Dear NAV Beginners,

    we're struggling with the same problem. I would like to ask did you find any solution, how did you solve this?

    Kind regards,

    Kami199

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans