CreateRtvInput
input type
Create-input for createRtv.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — 'return to vendor <N> line(s)'; when supplied it must be non-blank. |
orgVendorId | ID ID! | yes | |
purchaseOrderId | ID | no | The optional originating PurchaseOrder — must belong to the same OrgVendor and be past-issue (a draft/pending/cancelled order shipped nothing to return). |
shipFromLogicalFacilityId | ID ID! | yes | The LF the return ships from — tenant-scoped + active + the buying org's (SL-b set-time; re-checked at ship). |
expectedCredit | MoneyEntryInput | no | Optional expected vendor credit (in the vendor purchasingCurrency — VALIDATION/INVALID naming both else); omitted ⇒ ship stamps the Σ quantity × current WMA default. |
lines | RtvLineInput [RtvLineInput!]! | yes | The lines. |