Appearance
UpsertPurchaseOrderLineInput
Type: Input
Input for creating or updating a purchase order line
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| currency | CurrencyISO | Currency code | |
| description | String! | Line item description (required) | |
| id | PurchaseOrderLineID | ID for update; omit for create | |
| lineNumber | Int | Line number within the PO | |
| lineTotal | Float | Total for this line | |
| notes | String | Line item notes | |
| purchaseOrderId | PurchaseOrderID! | Parent purchase order ID (required) | |
| quantity | Float! | Ordered quantity (required) | |
| receivedAt | ISO8601 | Date goods were received (ISO8601) | |
| receivedQuantity | Float | Quantity received so far | |
| sortOrder | Int | Sort order for display | |
| substrateId | SubstrateID | Associated substrate ID | |
| supplierProductCode | String | Supplier's product code | |
| unit | MeasurementUnit | Unit of measurement | |
| unitPrice | Float! | Price per unit (required) |