WHSShipmentTable
worksheet headerWarehouse shipment header — one row per shipment built from released order lines, carrying its load, status, carrier, and ship-confirm timestamp; the outbound unit customers track
What the badges mean
- main
- Table group: how F&O categorizes the table's role — main entity, group/header, transaction, worksheet header, worksheet line, reference, parameter, or framework.
- Shared across companies
- The table carries no
DataAreaId— rows aren’t partitioned per company, so a query never needs (and can’t use) a company filter here (see the quirks guide). - Date-effective
- The table carries a
ValidFrom/ValidToeffectivity window — a join without a date filter multiplies every key by its history (see the quirks guide).
Fields
16 fields · 1 key
16 fields.
| Key | Field | EDT | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | ShipmentId | ShipmentId | The shipment number — the natural key work and load lines reference | string | ||
| LoadId | LoadId | Load the shipment is grouped onto — the join to WHSLoadTable; one load carries many shipments | string | |||
| ShipmentStatus | Shipment status across its life cycle (open through shipped) | enum | ||||
| LoadDirection | Whether the shipment is outbound or inbound | enum | ||||
| OrderNum | OrderNum | Source order number the shipment fulfills (sales or transfer order, per direction) | string | |||
| AccountNum | Customer or vendor account behind the shipment, depending on direction | string | 20 | |||
| CustomerRef | Customer's own reference for the shipment | string | ||||
| InventSiteId | InventSiteId | Site the shipment ships from | string | 10 | ||
| InventLocationId | InventLocationId | Warehouse the shipment ships from | string | 10 | ||
| CarrierCode | Carrier assigned to the shipment | string | ||||
| ModeCode | Transportation mode of the shipment | string | ||||
| DlvTermId | Delivery terms for the shipment | string | ||||
| ShipConfirmUTCDateTime | When the shipment was ship-confirmed, stored in UTC — the on-time-shipment timestamp | datetime | ||||
| ShipmentArrivalUTCDateTime | Planned arrival at the destination, stored in UTC | datetime | ||||
| WaveId | Wave that released the shipment to the warehouse floor | string | ||||
| BillOfLadingId | Bill of lading issued for the shipment | string |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading WHSShipmentTable on Databricks — enums are decoded, 1900-01-01 dates are wrapped to NULL, and the DataAreaId anchor is in place. Set your Unity Catalog location, company, and filter values below; they’re substituted into the SQL and the copy button.
5 parameters not filled: <catalog>, <schema>, <company>, <DATE_FROM>, <DATE_TO>
-- ============================================================
-- Table : WHSShipmentTable Warehouse shipment header — one row per shipment built from released order lines, carrying its load, status, carrier, and ship-confirm timestamp; the outbound unit customers track
-- Purpose: Column-selected read of WHSShipmentTable — auto-generated from field metadata
-- Grain : One row per company (dataareaid) + ShipmentId
-- Notes : Auto-generated skeleton for Synapse Link / Fabric Link-landed F&O data (lowercase column names). Enums decoded inline where verified; datetimes stored in UTC; 1900-01-01 dates are sentinels mapped to NULL. System/audit columns omitted — see the quirks guide.
-- ============================================================
SELECT
w.shipmentid AS "The shipment number — the natural key work and load lines reference",
w.loadid AS "Load the shipment is grouped onto — the join to WHSLoadTable; one load carries many shipments",
w.shipmentstatus AS "Shipment status across its life cycle (open through shipped)", -- enum: decode w.shipmentstatus via GlobalOptionsetMetadata join — see quirks guide #enums
w.loaddirection AS "Whether the shipment is outbound or inbound", -- enum: decode w.loaddirection via GlobalOptionsetMetadata join — see quirks guide #enums
w.ordernum AS "Source order number the shipment fulfills (sales or transfer order, per direction)",
w.accountnum AS "Customer or vendor account behind the shipment, depending on direction",
w.customerref AS "Customer's own reference for the shipment",
w.inventsiteid AS "Site the shipment ships from",
w.inventlocationid AS "Warehouse the shipment ships from",
w.carriercode AS "Carrier assigned to the shipment",
w.modecode AS "Transportation mode of the shipment",
w.dlvtermid AS "Delivery terms for the shipment",
w.shipconfirmutcdatetime AS "When the shipment was ship-confirmed, stored in UTC — the on-time-shipment timestamp", -- stored in UTC
w.shipmentarrivalutcdatetime AS "Planned arrival at the destination, stored in UTC", -- stored in UTC
w.waveid AS "Wave that released the shipment to the warehouse floor",
w.billofladingid AS "Bill of lading issued for the shipment"
FROM <catalog>.<schema>.whsshipmenttable w
WHERE
w.dataareaid = '<company>'
-- AND w.shipconfirmutcdatetime >= '<DATE_FROM>' -- yyyy-MM-dd (UTC)
-- AND w.shipconfirmutcdatetime <= '<DATE_TO>' -- yyyy-MM-dd (UTC)
ORDER BY w.shipmentid;Verified September 2026
Relationships
Diagram of 1-hop neighbors — join details below. RecId and InventDim edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON whsshipmenttable.loadid = whsloadtable.loadid AND whsshipmenttable.dataareaid = whsloadtable.dataareaidON whsloadline.shipmentid = whsshipmenttable.shipmentid AND whsloadline.dataareaid = whsshipmenttable.dataareaidON whsworktable.shipmentid = whsshipmenttable.shipmentid AND whsworktable.dataareaid = whsshipmenttable.dataareaid
Data Entities That Expose This Table
More Warehouse Management tables
- WHSWorkLineWarehouse work line — the individual pick and put steps of a work order, with item, location, quantities, and the worker who executed them; the grain for labor and travel analysis
- WHSWorkTableWarehouse work header — one row per work order (pick, put, count, replenish) created by wave processing, with status, priority, and the load/shipment it serves
- WHSLoadLineWarehouse load line — one row per order line placed on a load, linking the load and shipment to the source document line, item, and picked quantities
- WHSLoadTableWarehouse load header — one row per load (a truck, trailer, or container worth of goods); shipments are grouped onto loads, and ship confirmation happens at this level