AlmondTill/G3N API

RtvLineInput

input type

One caller-supplied Rtv line (create + wholesale draft edit — lineNo assigned and the junction resolved 1..N in input order by the server).

Fields

FieldTypeRequiredNotes
variantIdID ID!yesThe variant to return — its (variant x ship-from LF) junction must EXIST and be active (IV-b; an RTV of a variant never stocked at the LF is meaningless).
quantityString String!yesThe quantity to return (decimal string, strictly positive).
reasonRtvReason RtvReason!yesThe canned return reason.
sourceBucketStockBucketnoThe bucket to ship from — OPTIONAL, defaults to on_hand; on_hand / damaged / held only (reserved / in_transit refuse at the boundary).
binIdIDnoOptional source bin.