# 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 (CONFLICT/REFERENCED); OrgVendor deactivate stays free. Money reuses the MoneyEntry SDL (declared on the Product entry).

## Fields

| Field | Type | Notes |
| --- | --- | --- |
| `id` | [ID](/types/#scalars) `ID!` | The record’s id — a UUID the platform assigned when the record was created; every reference to this record uses it. |
| `sysId` | [String](/types/#scalars) `String!` | The group-scoped human-facing system id (EI-…). |
| `type` | [String](/types/#scalars) `String!` | The kind of record — always `OrgVendorItem` here. |
| `caption` | [String](/types/#scalars) `String!` | The record’s display name — what people see it called. |
| `status` | [String](/types/#scalars) `String!` | The FSM state: active \| inactive \| doomed. |
| `parentId` | [ID](/types/#scalars) `ID!` | The parent OrgVendor; for an OrgVendorItem parentId!== rootId. |
| `rootId` | [ID](/types/#scalars) `ID!` | The org-group family root. |
| `createdAt` | [String](/types/#scalars) `String!` | When the record was created, as a UTC timestamp. |
| `updatedAt` | [String](/types/#scalars) `String!` | When the record last changed, as a UTC timestamp. |
| `revisionNum` | [Int](/types/#scalars) `Int!` | How many times this record has been edited; the first save is 0. |
| `revision` | [ID](/types/#scalars) `ID!` | The OCC revision token — supply it on every mutation of this record; rotates on every write. |
| `refCaptions` | [RefCaption](/types/RefCaption/) `[RefCaption!]!` | The server-composed captions of this record's declared references (the referenced-caption rule) — one row per referenced id; see RefCaption. |
| `variantId` | [ID](/types/#scalars) `ID!` | The Variant leg of the junction — set at creation, IMMUTABLE thereafter (re-point = doom + create). |
| `vendorPartNumber` | [String](/types/#scalars) | The VENDOR'S part number for this variant (their token, not our SKU; at most 128 chars); optional + editable. |
| `listCost` | [MoneyEntry](/types/MoneyEntry/) | The vendor's list cost — the currency must MATCH the parent OrgVendor's purchasingCurrency. The cost per PACK when purchasePackId is present; optional + editable. |
| `moq` | [Int](/types/#scalars) | The minimum order quantity — STOCK-UoM units, or PACKS when purchasePackId is present; optional + editable. |
| `leadTimeDays` | [Int](/types/#scalars) | The per-item lead time in days (1..730) — OVERRIDES the OrgVendor default when present; optional + editable. |
| `purchasePackId` | [ID](/types/#scalars) | The 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

- [createOrgVendorItem](/reference/org-vendor-item/createOrgVendorItem/)
- [deactivateOrgVendorItem](/reference/org-vendor-item/deactivateOrgVendorItem/)
- [doomOrgVendorItem](/reference/org-vendor-item/doomOrgVendorItem/)
- [orgVendorItem](/reference/org-vendor-item/orgVendorItem/)
- [orgVendorItems](/reference/org-vendor-item/orgVendorItems/)
- [reactivateOrgVendorItem](/reference/org-vendor-item/reactivateOrgVendorItem/)
- [updateOrgVendorItem](/reference/org-vendor-item/updateOrgVendorItem/)
