CopyPurchaseOrderCommandResponse
Creates a new purchase order as a copy of another one, of the same kind and in every status of the source: header, addresses and the item and custom lines with their quantities and prices. It gets a new number, starts as a new order of its kind would (‘Open’ or ‘Released’; ‘Released’ for drop shipping), and has no deliveries, no confirmation and no output dates; the requested delivery date and the dates of the lines are today plus the supplier’s delivery time. Allowances and charges are computed anew. Raises the workflow event ‘created’; an order that starts released also raises ‘changed’, and an order to a warehouse ‘released’ as well. Errors arrive as GraphQL errors with the code in ‘extensions.code’; a refusal because of the current state also lists every reason in ‘extensions.blockers’. Codes: PURCHASE_ORDER_NOT_FOUND (the source order was not found); SUPPLIER_NOT_FOUND (the other supplier was not found); SUPPLIER_INACTIVE (the other supplier is not active). - Response
CopyPurchaseOrderCommandResponseFields
The ID of the new purchase order.
The number of the new purchase order.
The temporary identifier from the request, if one was sent.
Was this page helpful?