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 :
Small and medium business | Business Central, N...
Suggested Answer

Posting date overulled document date

(0) ShareShare
ReportReport
Posted on by 5

Good afternoon,

I'm using the posting date to bring costs in the right period.
and document is the date what's on the invoice.

Only problem is that the Posting date always overulled the document date when i change the posting date.
Is it possible to turn

I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at

    Kenny,

    Frist information:

    Order Date: This is the date the order was created. NAV populates this with the work date at the time the order is created.

    Posting Date: This is the date you populate to record the date you want as the Posting Date on the Ledger Entry tables when the order is Shipped and Invoiced.

    Document Date: This is the date the system uses to calculate the Due Date (Payment Due Date) when the order is posted. This date has no use or meaning until posting time. This date defaults to the same date as the Posting Date, but can be overridden if the Due Date should be calculated on a date different than the posting date.

    I learned after reviewing this for a customer that there is a line of code in table 38 (Purchase Header) which sets the Document Date to the Posting Date whenever the Posting Date is changed but only if there are no Incoming Documents attached to the order.  If there is at least one Incoming Document Entry assigned to the invoice, you can change the posting date and it will not change the document date.

    Now the problem is that not too many companies use the Incoming Document feature.  Because of this, you should have your partner (or you can do it if you have access to the C/AL code) comment out the line in the code which tests for this.  The lines in question are shown below (shown already commented out).  Please remember to test this beforehand.
    pastedimage1612363515514v1.png

    Hope this helps.

    Thanks,

    Steve

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,066

#2
YUN ZHU Profile Picture

YUN ZHU 658 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 595

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans