Columns
| Column | Description | API Field Name |
|---|---|---|
order_item_id | Primary key. Unique identifier for the supplier order item. | id |
supplier_order_id | Foreign key to the parent supplier order & supplier_orders_enriched table. | supplier_order_id |
is_deleted | Indicates whether the order item record is deleted. | |
corporate_location_id | Corporate location identifier derived from buyer corporate metadata or the supplier account metadata, used for location-level reporting. | corporate_location_id |
name | Display name of the ordered item. | name |
unique_id | External unique identifier for the order item. | unique_id |
sku | SKU of the ordered item. | sku |
unit_price | Unit price in dollars. Snowflake displays dollars, API returns cents. | unit_price |
quantity | Ordered quantity. | quantity |
quantity_shipped | Quantity shipped by the supplier. | quantity_shipped |
total_price | Total line price in dollars. Snowflake displays dollars, API returns cents. | total_price |
status | Current status of the order item. | status |
date | Date the order was placed. | date |
supply_id | Foreign key to the supply record linking item to supplier. | supply_id |
item_id | Foreign key to the product item. | item_id |
primary_category_name | Top-level (parent) product category name. | primary_category_name |
secondary_category_name | Leaf-level product category name. | secondary_category_name |
manufacturer_name | Name of the item manufacturer. | manufacturer_name |
manufacturer_no | Manufacturer part number. | manufacturer_no |
order_number | Human-readable order number. | order_number |
units | Total units ordered (unit_measurement units * quantity). | units |
quantity_received | Total quantity received as recorded in receivables. | quantity_received |
counts_toward_budget | Whether this item counts toward corporate budget tracking. | counts_toward_budget |
missed_savings | Corporate net savings missed on this order, in dollars. Snowflake displays dollars, API returns cents. | missed_savings |
last_updated | The timestamp when the supplier order item record was last updated. This is the most recent timestamp from all related tables. | |
vetcove_corporate_id | The unique identifier of the corporate group associated with this record. |
Relationships
- Supplier Order via
supplier_order_id
SQL Definition
View SQL
View SQL