AlmondTill/G3N API

ReceiptLine

object type

One Receipt line.

Fields

FieldTypeNotes
lineNoInt Int!1-based, assigned at mint from the header nextLineNo — a removed number is never reused.
poLineNoInt Int!The PO line being received (1-based on the PARENT PO).
quantityReceivedString String!The quantity arriving NOW (strictly positive; cumulative across posted receipts <= ordered — over-receipt REFUSES at post).
dispositionReceiptDisposition ReceiptDisposition!The canned arrival routing.
heldReasonStringThe canned held reason — required iff disposition is hold (the law, strict both ways).
binIdIDOptional landing bin (binned receive stamps the StockRecord shard in the same transaction; omitted = the un-binned pool).
purchasePackIdIDThe pack-ENTRY audit capture: the pack whose IMMUTABLE unitsPerPack derived quantityReceived; may DIFFER from the PO line's pack.
packQuantityIntThe entered pack count (present iff purchasePackId is).
merchandiseUnitCostMoneyEntryPORT-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).
landedUnitCostMoneyEntryPORT-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).