ReceiptLineInput
input type
One caller-supplied Receipt line.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
poLineNo | Int Int! | yes | The PO line being received (1-based on the parent PO; must name a line destined to this receipt's LF). |
quantityReceived | String | no | The quantity arriving NOW (decimal string, strictly positive). Unit entry — exactly ONE of {quantityReceived, the pack pair} per line. |
disposition | ReceiptDisposition ReceiptDisposition! | yes | The canned arrival routing (accept / hold / damage). |
heldReason | String | no | The canned held reason — required iff disposition is hold (strict both ways). |
binId | ID | no | Optional landing bin. |
purchasePackId | ID | no | Pack entry: the pack the arrival is counted in — tenant + active + must package the addressed PO line's variant; quantityReceived derives as packQuantity x unitsPerPack. Comes as a pair with packQuantity. |
packQuantity | Int | no | The pack count (1..999999) — present iff purchasePackId is. |