RE: Cannot process Product Received, error "Changes to the document are only allowed in state draft,because change management is activated"
Al Salam Alaikom from EGYPT,
I don't know why everybody are going to hard code everything! any way here are my answer:
Yup, I analyzed and successfully resolved al 7amd le Allah:
I believe that this error occurred when AX is trying to update the total PO balance, which means it did not continue the "Totals" calculation before the moment of submitting the PO.
While you open the PO and in another cases while you are trying to re-submit a PO after "Request change" and making any change affects the PO balance, AX is trying to calculate the balance and trying to type it in the respective fields, along with that, AX prevents any change in any field while not in "Draft", that's why AX is giving you this error.
Resolution: Simply, after create the PO, user have to click on "Totals" button (so AX will update the respective totals fields), then Submit the PO workflow.
Or, you can add that piece of code in the Submit action, if applicable.
sherif.abolsaud@gmail.com