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)

Fields

16 fields · 1 key

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 WHSShipmentTableon 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
-- ============================================================
-- 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;

5 parameters not filled: <catalog>, <schema>, <company>, <DATE_FROM>, <DATE_TO>

Relationships

1-hop neighbors — click a table to navigate there. 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
  • WHSLoadLineWHSShipmentTableforeign key · N:1
    ON whsloadline.shipmentid = whsshipmenttable.shipmentid
  • WHSWorkTableWHSShipmentTableforeign key · N:1
    ON whsworktable.shipmentid = whsshipmenttable.shipmentid

Data Entities That Expose This Table