Appearance
ReceivePurchaseOrderInput
Type: Input
Input for receivePurchaseOrder. The order becomes RECEIVED once every one of its lines has been received in full, and PARTIALLY_RECEIVED otherwise.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| purchaseOrderId | PurchaseOrderID! | TypeID ("pur_01K…") of the purchase order the delivery belongs to. The order must exist in the tenant and must not be CANCELLED. | |
| receivedLines | [ReceivePurchaseOrderLineInput!]! | The lines being received. At least one is required; lines omitted here keep their existing received quantity. | |
| warehouseLocationId | WarehouseLocationID | TypeID ("wlc_01K…") of the warehouse location the goods are put away into. When supplied, each received line that carries a substrate creates a new warehouse stock entry there, batched under the PO number. Null records the receipt on the order only, without touching stock. |