ReceiptLine
object type
One Receipt line.
Fields
| Field | Type | Notes |
|---|---|---|
lineNo | Int Int! | 1-based, assigned at mint from the header nextLineNo — a removed number is never reused. |
poLineNo | Int Int! | The PO line being received (1-based on the PARENT PO). |
quantityReceived | String String! | The quantity arriving NOW (strictly positive; cumulative across posted receipts <= ordered — over-receipt REFUSES at post). |
disposition | ReceiptDisposition ReceiptDisposition! | The canned arrival routing. |
heldReason | String | The canned held reason — required iff disposition is hold (the law, strict both ways). |
binId | ID | Optional landing bin (binned receive stamps the StockRecord shard in the same transaction; omitted = the un-binned pool). |
purchasePackId | ID | The pack-ENTRY audit capture: the pack whose IMMUTABLE unitsPerPack derived quantityReceived; may DIFFER from the PO line's pack. |
packQuantity | Int | The entered pack count (present iff purchasePackId is). |
merchandiseUnitCost | MoneyEntry | PORT-STAMPED at post (absent while draft): the merchandise unit cost — the PO line's unitCost at post (the merchandise half of the split; the audit +.3 true-up record). |
landedUnitCost | MoneyEntry | PORT-STAMPED at post (absent while draft): the effective LANDED unit cost (merchandise + the allocated estimate share per unit, half-up 4 dp — the display figure; the WMA re-weight uses the EXACT conserved value, never this re-rounded number). |