Magidoc

submitPurchaseOrder
Mutation

Sends a draft purchase order for approval. Evaluates the workspace's approval rules and, when one matches, records its route on the order so approval consumes the steps in sequence. Access: 'purchasingCreate' in a workspace where finance is enabled. Errors: refuses an order that is not draft or has no lines, and refuses a non-positive total.

Arguments

#

purchaseOrderId

ID !
Non-null

Response

#

Returns PurchaseOrder !.

Example

#