Appearance
PurchaseOrderLineInput
Type: Input
One line of a new purchase order. Its line number, line total and currency are derived server-side; only what is ordered, how much, and at what price is supplied.
Fields
| Name | Type | Default | Description |
|---|---|---|---|
| description | String! | Free-text description of what is being ordered, as it should appear on the purchase order. Must not be blank. | |
| quantity | Float! | Amount being ordered, expressed in unit. Must be greater than zero. | |
| substrateId | SubstrateID | TypeID ("sub_01K…") of the substrate being ordered, when the line is for a catalogued substrate. Null for free-text lines; only lines carrying a substrate can be turned into warehouse stock on receipt. | |
| supplierProductCode | String | The supplier's own article/SKU code for this item, recorded so the order can be matched against their catalogue. Null when not known. | |
| unit | MeasurementUnit! | Unit of measure the line's quantity is expressed in (e.g. SHEET, KG, PC). | |
| unitPrice | Float! | Price of one unit, in the order's currency. May be zero (e.g. free samples) but never negative. Line total is computed as quantity × unitPrice. |