Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

While confirm PO getting error

(0) ShareShare
ReportReport
Posted on by 19
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.
  • Suggested answer
    Charan140 Profile Picture
    Charan140 19 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
    Hana Xue 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
    Ramit Paul 22,295 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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,703 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,433 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans