
When creating a Purchase Order (PO) from a Sales Order (SO) using Direct Delivery in Dynamics 365 Finance and Operations, the business requirement is to have Change Management enabled (Active = Yes) on the newly created PO.
However, when Change Management is set to Yes during PO creation, the system throws the error
Additionally, even when the PO is successfully created, the workflow status of the PO is set to Approved by default, instead of Draft. This prevents further modifications and conflicts with Change Management rules, which require the document to be in Draft status to allow changes.
The challenge is to:
Enable Change Management = Yes on the Direct Delivery PO, and
Reset or initialize the PO workflow/document state to Draft instead of Approved during or immediately after creation so that the PO complies with Change Management and allows further updates as required