NewOrgVendorItemInput
input type
Create-input for an OrgVendorItem. The tenant (org group) is derived SERVER-SIDE from the principal; orgVendorId (the parent — rides the header) and variantId are tenant-scoped server-side and must BOTH be ACTIVE (STRICT); a supplied listCost requires the parent OrgVendor to carry a purchasingCurrency and must MATCH it.
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
caption | String | no | Optional: when omitted the per-type default applies — the vendor's part number when given, else 'Org Vendor Item'; when supplied it must be non-blank. |
orgVendorId | ID ID! | yes | The owning OrgVendor id. |
variantId | ID ID! | yes | The Variant this vendor supplies — immutable after birth. |
vendorPartNumber | String | no | No further notes. |
listCost | MoneyEntryInput | no | The vendor's list cost — the currency must match the parent OrgVendor's purchasingCurrency; the cost per PACK when purchasePackId is supplied. |
moq | Int | no | No further notes. |
leadTimeDays | Int | no | No further notes. |
purchasePackId | ID | no | The vendor PurchasePack denomination — tenant + ACTIVE + must package variantId. |