approvePurchaseOrder Mutation
Approves a submitted purchase order, or clears one step of the rule route holding it. With a matched route, each call consumes the step the order is waiting on; the order reaches 'approved' — committing budget cost entries — only as the last step clears. Without a route the first call approves outright, exactly as before rules were enforced. Access: 'purchasingApprove' in a workspace where finance is enabled. A rule route can require more than that permission, never less: a step naming a user or team admits only them. Errors: refuses an order that is not submitted, and refuses a user the route is not waiting on.
Arguments
#
input
Response
#
Returns PurchaseOrder !.
Example
#
Previous
approveProjectBudgetVersion
Next
approveVendorBill