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
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.
Hope this helps.
Thanks,
Steve
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156