Skip to content
D365 Reference

WHSShipmentTable

worksheet header

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

Module: Warehouse ManagementCompany-partitioned (DataAreaId)
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/ValidTo effectivity window — a join without a date filter multiplies every key by its history (see the quirks guide).
In field listings, K marks a key field.
Used in the library
KPI definitions
Dashboard patterns

Fields

16 fields · 1 key

16 fields.

Table fields: key flag, field name, extended data type, description, data type, length, and quirk flags. 16 fields.
KeyFieldEDTDescriptionTypeLengthFlags
KeyShipmentIdShipmentIdThe shipment number — the natural key work and load lines referencestring
LoadIdLoadIdLoad the shipment is grouped onto — the join to WHSLoadTable; one load carries many shipmentsstring
ShipmentStatusShipment status across its life cycle (open through shipped)enum
LoadDirectionWhether the shipment is outbound or inboundenum
OrderNumOrderNumSource order number the shipment fulfills (sales or transfer order, per direction)string
AccountNumCustomer or vendor account behind the shipment, depending on directionstring20
CustomerRefCustomer's own reference for the shipmentstring
InventSiteIdInventSiteIdSite the shipment ships fromstring10
InventLocationIdInventLocationIdWarehouse the shipment ships fromstring10
CarrierCodeCarrier assigned to the shipmentstring
ModeCodeTransportation mode of the shipmentstring
DlvTermIdDelivery terms for the shipmentstring
ShipConfirmUTCDateTimeWhen the shipment was ship-confirmed, stored in UTC — the on-time-shipment timestampdatetime
ShipmentArrivalUTCDateTimePlanned arrival at the destination, stored in UTCdatetime
WaveIdWave that released the shipment to the warehouse floorstring
BillOfLadingIdBill of lading issued for the shipmentstring

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.

Query parameters

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

  • WHSShipmentTableWHSLoadTableforeign key · N:1
    ON whsshipmenttable.loadid = whsloadtable.loadid AND whsshipmenttable.dataareaid = whsloadtable.dataareaid
  • WHSLoadLineWHSShipmentTableforeign key · N:1
    ON whsloadline.shipmentid = whsshipmenttable.shipmentid AND whsloadline.dataareaid = whsshipmenttable.dataareaid
  • WHSWorkTableWHSShipmentTableforeign key · N:1
    ON whsworktable.shipmentid = whsshipmenttable.shipmentid AND whsworktable.dataareaid = whsshipmenttable.dataareaid

Data Entities That Expose This Table

More Warehouse Management tables

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice

Not affiliated with or endorsed by Microsoft. Microsoft, Dynamics 365, and Microsoft Fabric are trademarks of the Microsoft group of companies.