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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Issue on confirming a purchase order

(0) ShareShare
ReportReport
Posted on by

Hi,
A user has created a Purchase requisition that was successfully converted to a PO.
We have a batch job that confirm automatically the POs.
For an unknow reason, the Batch stopped running and displays an error message.
I checked each single distribute amount from the PO lines and all seems good.
Can you please advise what should be done 


Message details

Infolog for job Purchase order confirmation GEN. (5659642782)

Infolog for task Purchase order confirmation GEN. (5665974186)

No lines for posting or quantity = 0

Posting

Purchase order: GEN-PO008151

Item number: 210-AVJY - Non-Touch

The source document lines cannot be finalized until the status is Confirmed.

The state of the source document or source document line could not be updated.

Update completed

An error occurred during update

Batch task failed: Posting

An error occurred during update

End of task log
__________

Thank you !
kamel.

 

I have the same question (0)
  • jannawangD365 Profile Picture
    Microsoft Employee on at

    Hi Kamel,

    how about the document status?  

  • Finance and operations Profile Picture
    on at

    Hi,

    The document status is None

    pastedimage1619358757554v1.png
    .
    In this PO there is 2 items, the message is pointing only one of the 2 items 

    pastedimage1619358929829v2.png

    I checked, all the same beside this attributes that is not completed for the item pointed.

    pastedimage1619359137776v3.png

    Thank you !

  • Finance and operations Profile Picture
    on at

    Hi,

    Here is an additional information.

    I created a similar purchase requisition that was converted to a PO and I confirmed successfully the PO manually.

    I created another record but this time, I waited for the batch to confirm it. There I received the error message in the Batch job LOG

    pastedimage1619368906096v1.png

    I opened the View tasks,
    As soon as I clicked on the Log, I refreshed the PO then it has been confirmed automatically.
    I still need to understand this behavior

    Thank you !

  • jannawangD365 Profile Picture
    Microsoft Employee on at

    Hi Kamel,

    Could you help to check the PR and PO line. go to the line, highlight it and click the line menu 'finance-> distribution amount'. in the new window, there is a filed 'the current document accounting status'. what's that status? 'in process'? it needs to be completed before you try to post PO confirmation. 

  • Finance and operations Profile Picture
    on at

    HI, 
    I checked, yes the "Current document accounting status" is In process status but there is no way how to update this status to show completed.

    pastedimage1622805811280v1.png
    and when I try to confirm manually this PO

    pastedimage1622806021249v2.png

    Thank you !
    kamel.
     

  • jannawangD365 Profile Picture
    Microsoft Employee on at

    HI Kamel,

    it needs manually data repair for the related tables:  

    --Update Accounting Distribution table
    --Update SourceDocumentLine table
    --Delete the SourceDocumentLine records in accounting status of 1
    --Update SourceDocumentHeader table

    since you are using D365, you may need ti submit a support ticket to let support team to run the data repair for your PROD. 

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 > Supply chain | Supply Chain Management, Commerce

#1
André Arnaud de Calavon Profile Picture

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

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 92 Super User 2026 Season 1

#3
Zain Mehmood Profile Picture

Zain Mehmood 89 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans