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 (canned paymentTerms [the shared registry — CANONICAL over the free-text terms] / canned Incoterms-2020 incotermCode / leadTimeDays / the shipTo-LF + billTo/returnsTo-Contact pointers [SL-b set-time gates] / orderMinimum + freeFreightThreshold Money [currency-matched to purchasingCurrency] / requireCatalogItem [the PO-line gate over the OrgVendorItem junction]). 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 group-scoped human-facing system id (EV-…).
typeString String!The kind of record — always OrgVendor here.
captionString String!The record’s display name — what people see it called.
statusString String!The FSM state: active | inactive | doomed.
parentIdID ID!The parent Organization; for an OrgVendor parentId!== rootId.
rootIdID ID!The org-group family root.
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 OCC revision token — supply it on every mutation of this record; rotates on every write.
refCaptionsRefCaption [RefCaption!]!The server-composed captions of this record's declared references (the referenced-caption rule) — 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 — STRICT ISO-4217 alphabetic SHAPE (three uppercase letters).
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 (the gate; 's own deliberate default-FALSE). ABSENT (null) on pre- records means FALSE; new records always carry it. Editable.
codeStringOptional mutable merchant reference code; uniqueness NOT enforced.

Used by