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 :
Microsoft Dynamics AX (Archived)

Finalize Purchase Order in Batch Mode

(0) ShareShare
ReportReport
Posted on by 680

Hi,

Has anyone implemented running the Finalize Purchase Order as a Batch Job?

If so, how do you manage with the accounting date that was set at the time the batch was created..

We get the following warning at first and the error later appears:

Warning1:

Purchase order PO-##### cannot be finalised on 2017-11-16. The accounting date must be on or after the last accounting date 2017-11-17 that is used to account the purchase order.

Error 2:

Function BudgetControlTrackingUpdate.returnRemainingFunds has been incorrectly called.

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.

   at Dynamics.Ax.Application.BudgetControlTrackingUpdate.Returnremainingfunds() in BudgetControlTrackingUpdate.returnRemainingFunds.xpp:line 22

   at Dynamics.Ax.Application.BudgetControlProcessor.Preprocessforbudgetcontrolreturn() in BudgetControlProcessor.preProcessForBudgetControlReturn.xpp:line 27...

and the message continues

Any suggestions on what could be causing the error?

Regards,

Anisha

*This post is locked for comments

I have the same question (0)
  • Khaled Alloud Profile Picture
    3,658 on at

    Hello,

    Any feedback?

    Best,

  • Amiya Das Profile Picture
    205 on at

    Is it due to timezone difference? Why two dates are not matching? Can you give the class name and method from which the error is coming.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 26

#2
imran ul haq Profile Picture

imran ul haq 8

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 4 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans