AlmondTill/G3N API

EditRtvInput

input type

Edit-input for a Rtv. Every field optional, at least ONE required; supplied fields replace, omitted fields are preserved. Draft-only wholesale (the family stance): caption + expectedCredit + a full line replace while draft; the OrgVendor, the PO ref, and the ship-from LF are birth-fixed (re-point = cancel + recreate — the Transfer pair precedent); a live post-draft doc refuses CONFLICT/REF_STATE naming the required draft state; a write in an immutable terminal (credited / cancelled) refuses CONFLICT/IMMUTABLE.

Fields

FieldTypeRequiredNotes
captionStringno
expectedCreditMoneyEntryInputnoThe expected vendor credit replacement (draft-only; in the vendor purchasingCurrency).
linesRtvLineInput [RtvLineInput!]noThe wholesale line replacement (draft-only) — same shape, resolution and gates as create; lineNo reassigned 1..N in input order.

Used by