AlmondTill/G3N API

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

FieldTypeNotes
idID ID!The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it.
sysIdString String!The human-readable id, shaped like EV-… — stable for the record’s life.
typeString String!The kind of record — always OrgVendor here.
captionString String!The record’s display name — what people see it called.
statusString String!The record’s current state — one of active, inactive or doomed.
parentIdID ID!The parent Organization; for an OrgVendor parentId!== rootId.
rootIdID ID!The id of your organization group — every record of yours carries the same one.
createdAtString String!When the record was created, as a UTC timestamp.
updatedAtString String!When the record last changed, as a UTC timestamp.
revisionNumInt Int!How many times this record has been edited; the first save is 0.
revisionID 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.
refCaptionsRefCaption [RefCaption!]!The captions of the records this one refers to, composed for you — one row per referenced id; see RefCaption.
vendorIdID ID!The selected group Vendor — set at creation, immutable thereafter.
accountNumberStringThe org account number with the vendor; optional + editable.
termsStringFree-text terms notes.
purchasingCurrencyStringThe purchasing currency — a platform-registry code inside the organization's allowed set.
paymentTermsStringThe canned payment terms; a non-canned token is VALIDATION/INVALID. Optional + editable.
incotermCodeStringThe canned Incoterms-2020 delivery term; a non-canned code is VALIDATION/INVALID. Optional + editable.
leadTimeDaysIntThe vendor's default lead time in days (1..730; the OrgVendorItem may override per item); optional + editable.
defaultShipToLogicalFacilityIdIDThe default ship-to LogicalFacility; optional + editable.
billToContactIdIDThe billing Contact pointer; optional + editable.
returnsToContactIdIDThe return-to-vendor target Contact pointer; optional + editable.
orderMinimumMoneyEntryThe order minimum — currency-matched to purchasingCurrency; optional + editable.
freeFreightThresholdMoneyEntryThe free-freight threshold — currency-matched like orderMinimum; optional + editable.
requireCatalogItemBooleanRequire an OrgVendorItem per PO line. Absent (null) on pre- records means false; new records always carry it. Editable.
codeStringOptional mutable merchant reference code; uniqueness NOT enforced.

Used by