AlmondTill/G3N API

CreateRtvInput

input type

Create-input for createRtv.

Fields

FieldTypeRequiredNotes
captionStringnoOptional: when omitted the per-type default applies — 'return to vendor <N> line(s)'; when supplied it must be non-blank.
orgVendorIdID ID!yes
purchaseOrderIdIDnoThe optional originating PurchaseOrder — must belong to the same OrgVendor and be past-issue (a draft/pending/cancelled order shipped nothing to return).
shipFromLogicalFacilityIdID ID!yesThe LF the return ships from — tenant-scoped + active + the buying org's (SL-b set-time; re-checked at ship).
expectedCreditMoneyEntryInputnoOptional expected vendor credit (in the vendor purchasingCurrency — VALIDATION/INVALID naming both else); omitted ⇒ ship stamps the Σ quantity × current WMA default.
linesRtvLineInput [RtvLineInput!]!yesThe lines.

Used by