EditRtvInput
input type
Edit-input for a Rtv. Every field optional, at least ONE required; supplied fields REPLACE, omitted fields are preserved (no clearing semantic yet). 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
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | No further notes. |
expectedCredit | MoneyEntryInput | no | The expected vendor credit replacement (draft-only; in the vendor purchasingCurrency). |
lines | RtvLineInput [RtvLineInput!] | no | The wholesale line replacement (draft-only) — same shape, resolution and gates as create; lineNo reassigned 1..N in input order. |