Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Suggested answer

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

(0) ShareShare
ReportReport
Posted on by 2

Hello, everyone.

I’m facing this issue above while trying to correct a product receipt that has already been completed, and below are the attempts I’ve conducted so far:


  1. Status change to Draft: I changed the order status to Draft, but the system does not allow me to use the correction button, stating that the action can only be performed when the status is Confirmed.

  2. Deactivation of Activate change management: I have already disabled the Activate change management flag directly in the purchase order (Header > Setup), through code changes, but the error persists.

  3. Workflow resend: I canceled the workflow and resent it. Since the order had already been approved earlier, it was automatically updated to Confirmed status.

 

In a previous situation, I encountered a similar issue when trying to perform a product receipt. The system displayed the same error message, and through code analysis, the developer identified that the receipt number I was trying to use had already been used in another order that had already been invoiced. As a result, the system was pulling data from that other PO, even though there was no restriction preventing the same ID from being used for identification.

At that time, I simply changed the receipt identification number, and the process went through smoothly.

However, this time the situation is different: I’m trying to correct a receipt that has already been processed, so I can’t change the ID, and the developer has confirmed that the system is not pulling data from another order.

If anyone has encountered something similar or has any suggestions, I would greatly appreciate it!

  • Suggested answer
    Navneeth Nagrajan Profile Picture
    1,635 Super User 2025 Season 1 on at
    Changes to the document are only allowed in state Draft, because change management is activated.
    HI CU08052144-1,
     
    A few suggestions:
    1. At the first step itself, if the purchase order workflow is activated and if the status changes to approved, it is better to reset the workflow back through X++ code to draft state. In addition to this, it is better to re-add the purchase order lines relevant to the product receipt number back.
     
    2. However, the step number 3 that you mentioned where your workflow is Cancelled and the order automatically changes back to Confirmed state, should allow you to correct the order line if the workflow status is set back to Draft state and post that ensure the workflow is approved by the Approver. Another point is to use a different receipt number while correcting your product receipt for the same PO to avoid any challenges.
     
    Ensure that the product receipt number if used is corrected to a different receipt number for the same PO you are looking to process.
     
    Hope this helps. Happy to answer questions, if any.
  • CU08052144-1 Profile Picture
    2 on at
    Changes to the document are only allowed in state Draft, because change management is activated.
    Hello @Danny Bilodeau

    This message appears both when the process is successful and when it fails, as it's configured just as a warning. I removed it from the post to avoid any confusion.

    Unfortunately, it's not related to the error, but thank you.
  • Suggested answer
    Danny Bilodeau Profile Picture
    4,499 Moderator on at
    Changes to the document are only allowed in state Draft, because change management is activated.
    Hi, 
    From the message, it looks like system does not like the date change required. It seems that its that Date change that is being rejected because of change management. So you cant correct the packing slip because a date needs to be updated (require PO to be at draft) and you cant correct packing slip for a PO that is in draft.  
     
    I think you have to identify the date field that teh Packing Slip correction wants to update and adjust it on your PO before hand.  May be your developer can trace to identify that field.  

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Zain Mehmood Profile Picture

Zain Mehmood 241 Moderator

#2
Siv Sagar Profile Picture

Siv Sagar 111 Super User 2025 Season 1

#3
Danny Bilodeau Profile Picture

Danny Bilodeau 95 Moderator

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans