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
Answered

Changes to the document are only allowed in state Draft, because change management is activated.

(2) ShareShare
ReportReport
Posted on by 72
Hi all
I am facing this error when I try to post the product receipt.
PO was created, approved and confirmed. When I try to post product receipts.. This error pops up. 
It does not make sense because not making any changes to the PO, I am just trying to post PR. This issue has never happened before and it is only happening for some PO's. 
I have the same question (0)
  • Laurens vd Tang Profile Picture
    4,586 Super User 2026 Season 1 on at
    Good day,
     
    A few questions:
     
    1. Can you share a screenshot of the purchase order approval status?
    2. Did you or someone else change something on the purchase order?
     
    Best regards,
    Laurens van der Tang
  • André Arnaud de Calavon Profile Picture
    303,691 Super User 2026 Season 1 on at
    Hi Vishal,
     
    Can you also tell if there is a customization that might change particular fields on the header or lines during product receipt posting?  
  • Suggested answer
    Zain Mehmood Profile Picture
    4,189 Most Valuable Professional on at
    Hi, 

    This type of issue usually points to a workflow-related restriction or a data integrity issue on the purchase order. A few things to check:

    Is change management enabled? If yes, ensure no changes were made that require re-approval.

    Was the PO edited after approval? Even minor changes can trigger re-approval rules.

    Check workflow history for any pending steps or errors.

    Validate vendor settings and posting profiles—sometimes a vendor-specific config causes unexpected issues.

    Try re-approving the PO if possible and see if the error clears.

    Also, if this only happens for some POs, compare a working one with the affected ones to isolate any pattern.

    Hope this helps, 

    Zain 

  • Verified answer
    Navneeth Nagrajan Profile Picture
    2,538 Super User 2026 Season 1 on at
    Hi Vishal,
     
    The issue is with the Purchase order workflow. The Purchase order workflow is activated and everytime it is created, it needs to be approved and based on the approval it should be confirmed. Otherwise, the SourceDocumentHeader and the SourceDocumentLine is set to 0 and the product receipt process and invoicing process will fail as a result. The SourceDocument and SourceDocumentLine details are carried into the invoicing stage through the purchase order reference. 
     
    A few questions:
    1. Are you trying to post the PO or processing the Purchase requisition first and then process the purchase order?
    2. Have you processed the purchase requisition through the workflow? 
     
    Suggestion is to update the purchase order through a X++ script and update the SourceDocumentHeader and SourceDocumentLine (if applicable) through the same X++ script. The product receipt should work based on the same. Same is the case if the purchase requisition has not been processed successfully too.
     
    Also, under Procurement and Sourcing Parameters -> General -> Change Management for purchase orders, check if this parameter is enabled or disabled.
     
    Hope this helps. Happy to answer questions, if any.
  • Suggested answer
    Yunus Profile Picture
    150 on at
    Hi Vishal,
     
    This can appear only incase of any customization, kindly check with your developer if there's any customization on workflow approval or PO auto update.
     
    Regards,
    Yunus

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Mallesh Deshapaga Profile Picture

Mallesh Deshapaga 254

#2
Laurens vd Tang Profile Picture

Laurens vd Tang 188 Super User 2026 Season 1

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans