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 :
Finance | Project Operations, Human Resources, ...
Answered

While confirm PO getting error

(0) ShareShare
ReportReport
Posted on by 24
Hi,
   I am facing an issue with the PO confirmation. only few of the orders I am getting this below error. 
  Error: 
  1. An error occurred during updateFix issues
  2. PostingPurchase order:  Test12345 Procurement category: AAA Function SourceDocumentLineStateCompleted.doFinalize has been incorrectly called.
I have the same question (0)
  • Suggested answer
    Ramit Paul Profile Picture
    22,805 Most Valuable Professional on at
    Hi,
     
    Either this is causing for some customization code or this is happening because of the accounting distribution error
     
    To further check please have a look into the accounting distribution from action pane.
     
    If everything is fine, kindly ask developer to debug the same.
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    You can check out an old thread similar to this question, it mentions navigating to the class in VS that prompts the message, debugging the code and checking if some parameters are empty.
    Solved: "Purchase order "XXXX" Function ProjbudgetTransactionLine_Virtual::construct has been incorrectly called." while PO confirm in D365FO (dynamics.com)
    Or as Ramit said, to check accounting distribution, you can refer to this link:
    https://d365tour.com/issues/issue-error-during-posting-purchase-order-receipt-accounting-distribution/
    Best Regards,
    Hana
  • Suggested answer
    Charan140 Profile Picture
    24 on at
    Thanks  for Reply, 
    Error resolved; the root cause was that the Accounting Date was removed during the creation of the Purchase Requisition and after workflow approval was completed and the PO was raised. because the accounting date is missing in the related PR, while the confirm PO is getting the error.

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 622

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 430

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans