AlmondTill/G3N API

RtvLine

object type

One embedded Rtv line.

Fields

FieldTypeNotes
lineNoInt Int!1-based position (input order at create).
variantIdID ID!The variant being returned.
inventoryItemIdID ID!The (variant x ship-from LF) InventoryItem junction — server-resolved + STAMPED at create (TR-f; must EXIST + be active).
quantityString String!The quantity to return (decimal string, stock UoM, strictly positive).
reasonRtvReason RtvReason!The canned return reason.
sourceBucketStockBucket StockBucket!The bucket this line ships FROM (on_hand / damaged / held — the -mutable trio; reserved / in_transit are never RTV-shippable).
binIdIDOptional source bin (binned relief stamps the StockRecord shard in the same transaction; omitted = the un-binned pool).