TransferLine
object type
One embedded Transfer line.
Fields
| Field | Type | Notes |
|---|---|---|
lineNo | Int Int! | 1-based position (create input order) — the receipt/resolution addressing key. |
inventoryItemId | ID ID! | The SOURCE InventoryItem id (variant x source LF). |
destinationInventoryItemId | ID ID! | The DESTINATION InventoryItem id (same variant x destination LF) — server-resolved at create (IV-b: the junction must already exist; movements never auto-vivify). |
variantId | ID ID! | The variant both junctions share (provenance — server-resolved at create). |
quantity | String String! | The quantity to move (decimal string, stock UoM, strictly positive). |
unitCost | MoneyEntry | The carried unit cost — birth-stamped at SHIP from the source WMA; absent until then, and absent forever on an un-costed source book. |
shippedQty | String String! | Rollup: quantity shipped (a light transfer stamps it at its one completing step). |
receivedQty | String String! | Rollup: quantity landed at the destination (on_hand + held together). |
heldQty | String String! | Rollup: the held subset of receivedQty (quarantine landings). |
resolvedQty | String String! | Rollup: residual quantity disposed via resolve (disposition-coded doc-referencing movements). |
unplannedQty | String | Rollup: DECLARED surplus booked at receive (the accepted-unplanned lane, absent = 0). OUTSIDE receivedQty by design — the over-receipt outstanding math stays pure. |
transferRequestId | ID | The originating TransferRequest — present iff this Transfer was born by an acceptance. |
requestLineNo | Int | The originating request line number (1-based on THAT doc) — travels with transferRequestId. |