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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

Batch posting purchase invoices - overriding posting date

(0) ShareShare
ReportReport
Posted on by 30

We have a relatively complex approval workflow and we have therefore set up job queues to batch post purchase invoices and purchase orders once approved. These are working fine.

However, we have an issue, particularly over month end, where an invoice has been entered on (say) 30 November, but not approved until after November is closed and cannot be posted to. 

I'd like to be able to overwrite the posting date (not the document date) to reflect the actual workdate it is posted, however the report parameters will only let me enter an actual date (dd/mm/yy).

Is there any way this can be done? If there is a report / codeunit I can run as part of the month end close (eg that picks up any non-posted invoices and updates the date to the first of the next month) that would probably work, but I have no idea if there is one.

  • Verified answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,306 Super User 2026 Season 1 on at

    You can build a codeunit that check the approved order and change the posting date. You can then run the codeunit before the batch post.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 719 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 410 Super User 2026 Season 2

#3
AndrewThomas81 Profile Picture

AndrewThomas81 369 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans