AlmondTill/G3N API

OrgVendorItem

object type

An org vendor item — the (OrgVendor × Variant) junction: this org buys this variant from this enabled vendor, carrying the vendor's part number / list cost / MOQ / lead time. Parent = the OrgVendor (the InventoryItem junction stance). The (orgVendor × variant) pair is unique (a live duplicate is CONFLICT/IDENTITY_TAKEN naming the holder; a doomed holder is taken over). OVIs are optional by default. Live OVIs block the parent OrgVendor's doom AND the Variant's doom; OrgVendor deactivate stays free. 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 EI-… — stable for the record’s life.
typeString String!The kind of record — always OrgVendorItem 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 OrgVendor; for an OrgVendorItem 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.
variantIdID ID!The Variant leg of the junction — set at creation, immutable thereafter (re-point = doom + create).
vendorPartNumberStringThe vendor'S part number for this variant (their token, not our SKU; at most 128 chars); optional + editable.
listCostMoneyEntryThe vendor's list cost — the currency must match the parent OrgVendor's purchasingCurrency. The cost per pack when purchasePackId is present; optional + editable.
moqIntThe minimum order quantity — STOCK-UoM units, or packs when purchasePackId is present; optional + editable.
leadTimeDaysIntThe per-item lead time in days (1..730) — overrides the OrgVendor default when present; optional + editable.
purchasePackIdIDThe vendor PurchasePack denomination for this junction. Must package this junction variant (tenant + active + variant-coherence gated at every set); an edit supplying it while listCost/moq are stored re-supplies them in the same payload (the flip coupling); NO clearing semantic — un-denominating = doom + re-create. Optional + editable.

Used by