web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    Charan140 Profile Picture
    24 on at
    While confirm PO getting error
    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.
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    While confirm PO getting error
    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
    Ramit Paul Profile Picture
    22,797 Most Valuable Professional on at
    While confirm PO getting error
    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.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,351

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 874 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 638 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans