OrgVendor
object type
An OrgVendor — the per-org purchasing enablement of a group Vendor: the trio (accountNumber / terms free-text notes / purchasingCurrency [strict ISO-4217 shape]) + the commercial payload. Parent = the organization (not the family root). Deactivate stays free (pausing the enablement); doom is blocked by live OrgVendorItems; a NON-doomed enablement blocks the master Vendor doom. Money reuses the MoneyEntry SDL (declared on the Product entry).
Fields
| Field | Type | Notes |
|---|---|---|
id | ID ID! | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
sysId | String String! | The human-readable id, shaped like EV-… — stable for the record’s life. |
type | String String! | The kind of record — always OrgVendor here. |
caption | String String! | The record’s display name — what people see it called. |
status | String String! | The record’s current state — one of active, inactive or doomed. |
parentId | ID ID! | The parent Organization; for an OrgVendor parentId!== rootId. |
rootId | ID ID! | The id of your organization group — every record of yours carries the same one. |
createdAt | String String! | When the record was created, as a UTC timestamp. |
updatedAt | String String! | When the record last changed, as a UTC timestamp. |
revisionNum | Int Int! | How many times this record has been edited; the first save is 0. |
revision | ID ID! | The id of the record’s current edit — send it back with a change so an edit made in the meantime is refused instead of overwritten. |
refCaptions | RefCaption [RefCaption!]! | The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption. |
vendorId | ID ID! | The selected group Vendor — set at creation, immutable thereafter. |
accountNumber | String | The org account number with the vendor; optional + editable. |
terms | String | Free-text terms notes. |
purchasingCurrency | String | The purchasing currency — a platform-registry code inside the organization's allowed set. |
paymentTerms | String | The canned payment terms; a non-canned token is VALIDATION/INVALID. Optional + editable. |
incotermCode | String | The canned Incoterms-2020 delivery term; a non-canned code is VALIDATION/INVALID. Optional + editable. |
leadTimeDays | Int | The vendor's default lead time in days (1..730; the OrgVendorItem may override per item); optional + editable. |
defaultShipToLogicalFacilityId | ID | The default ship-to LogicalFacility; optional + editable. |
billToContactId | ID | The billing Contact pointer; optional + editable. |
returnsToContactId | ID | The return-to-vendor target Contact pointer; optional + editable. |
orderMinimum | MoneyEntry | The order minimum — currency-matched to purchasingCurrency; optional + editable. |
freeFreightThreshold | MoneyEntry | The free-freight threshold — currency-matched like orderMinimum; optional + editable. |
requireCatalogItem | Boolean | Require an OrgVendorItem per PO line. Absent (null) on pre- records means false; new records always carry it. Editable. |
code | String | Optional mutable merchant reference code; uniqueness NOT enforced. |