RtvLine
object type
One embedded Rtv line.
Fields
| Field | Type | Notes |
|---|---|---|
lineNo | Int Int! | 1-based position (input order at create). |
variantId | ID ID! | The variant being returned. |
inventoryItemId | ID ID! | The (variant x ship-from LF) InventoryItem junction — server-resolved + STAMPED at create (TR-f; must EXIST + be active). |
quantity | String String! | The quantity to return (decimal string, stock UoM, strictly positive). |
reason | RtvReason RtvReason! | The canned return reason. |
sourceBucket | StockBucket StockBucket! | The bucket this line ships FROM (on_hand / damaged / held — the -mutable trio; reserved / in_transit are never RTV-shippable). |
binId | ID | Optional source bin (binned relief stamps the StockRecord shard in the same transaction; omitted = the un-binned pool). |