User Manual
Help Center/User Manual/Purchase order state machine

Purchase order state machine

Last updated 2026-10-19

Purchase order states and events: from draft to released, with approval flow and cancellation rules.

Purchase order state machine diagram

Event table#

EventFromToTriggerActorSide effects
[submit]draftpending_approvalSubmit for approvalBuyer—
[approve]pending_approvalapprovedApproval grantedApprover—
[reject]pending_approvaldraftApproval rejectedApproverCan be fixed and resubmitted
[release]approvedreleasedRelease to the supplierBuyerWMS inbound receipt created at the same time
Receiving donereleasedcompletedInbound receipt fully receivedSystemPending: completed may be removed (no writes in production)
[cancel]draft / pending_approval / approvedcancelledCancel the POBuyer—
[cancel]releasedcancelledCancel the POBuyerLinked inbound receipt → cancelled as well
partially_received and completed are pending removal (zero writes in production). The PO flow effectively ends at released; receiving progress lives on the WMS inbound receipt.