F4215
transactionOne row per shipment - the anchor record Transportation Management creates when order lines are grouped for delivery; despite the F42xx name it belongs to system 49. Carries status, mode, geography, weight, value, and promised dates.
The shipment header is F4215, not F4915 - the F49xx-style name many analysts guess does not exist at 9.20. Weight is stored with 4 implied decimals. Shipment status (XHSSTS) edits against UDC 41/SS.
Fields
37 fields · 1 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | XHSHPN | SHPN | Shipment number - the system-assigned key that groups order lines for transport; the same value lands on F4211.SDSHPN. | Numeric | 8 | |
| XHSSTS | SSTS | Shipment status - the main workflow filter (pending, confirmed, freight updated...). | String | 2 | ||
| XHWGTS | WGTS | Shipment weight in the weight UoM; stored with 4 implied decimals - divide by 10,000. | Numeric | 15 | ||
| XHWGTU | WGTU | Weight unit of measure. | String | 2 | ||
| XHMOT | MOT | Mode of transport - truckload, LTL, parcel, rail, and so on. | String | 3 | ||
| XHROTE | ROTE | Free-form routing description text. | String | 35 | ||
| XHMCU | MCU | Business unit that owns the shipment. | String | 12 | ||
| XHNMCU | NMCU | Shipment depot - the origin depot business unit. | String | 12 | ||
| XHORGN | ORGN | Origin address book number the goods ship from. | Numeric | 8 | ||
| XHSRCO | SRCO | Where the shipment originated - sales order, purchase order, or another source. | Character | 1 | ||
| XHBPFG | BPFG | Bulk or packed shipment flag. | Character | 1 | ||
| XHAEXP | AEXP | Extended sales value of the goods being shipped; 2 implied decimals. | Numeric | 15 | ||
| XHECST | ECST | Extended cost of the goods being shipped; 2 implied decimals. | Numeric | 15 | ||
| XHDRQJ | DRQJ | Requested delivery date from the order. | Numeric | 6 | ||
| XHRSDJ | RSDJ | Promised delivery date. | Numeric | 6 | ||
| XHRSDT | RSDT | Promised delivery time (HHMMSS). | Numeric | 6 | ||
| XHAN8 | AN8 | Customer (sold-to) address book number. | Numeric | 8 | ||
| XHSHAN | SHAN | Ship-to address book number; join to F0101. | Numeric | 8 | ||
| XHCTY1 | CTY1 | Ship-to city. | String | 25 | ||
| XHADDS | ADDS | Ship-to state. | String | 3 | ||
| XHADDZ | ADDZ | Ship-to postal code. | String | 12 | ||
| XHCTR | CTR | Ship-to country. | String | 3 | ||
| XHZON | ZON | Delivery zone code. | String | 3 | ||
| XHCAR1 | CAR1 | First preferred carrier address number considered during routing. | Numeric | 8 | ||
| XHCAR2 | CAR2 | Second preferred carrier address number. | Numeric | 8 | ||
| XHCAR3 | CAR3 | Third preferred carrier address number. | Numeric | 8 | ||
| XHFRTH | FRTH | Freight handling code - the freight terms (who arranges and pays). | String | 3 | ||
| XHFRSC | FRSC | Freight rate schedule used to rate this record. | String | 8 | ||
| XHDLLV | DLLV | Level at which freight applies: delivery, line, or load. | Character | 1 | ||
| XHRSLT | RSLT | Route selection type used for this shipment. | Character | 1 | ||
| XHDSTN | DSTN | Distance in the distance UoM. | Numeric | 5 | ||
| XHUMD1 | UMD1 | Distance unit of measure (miles/kilometers). | String | 2 | ||
| XHNRTS | NRTS | Count of routing steps on the shipment. | Numeric | 3 | ||
| XHCTYO | CTYO | Origin city. | String | 25 | ||
| XHADSO | ADSO | Origin state. | String | 3 | ||
| XHADZO | ADZO | Origin postal code. | String | 12 | ||
| XHCTRO | CTRO | Origin country. | String | 3 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F4215on Databricks — Julian dates, implied decimals, and padded strings are already converted. Set your Unity Catalog location and filter values below; they’re substituted into the SQL and the copy button.
-- ============================================================
-- Table : F4215 One row per shipment - the anchor record Transportation Management creates when order lines are grouped for delivery; despite the F42xx name it belongs to system 49. Carries status, mode, geography, weight, value, and promised dates.
-- Purpose: Column-selected read of F4215 — auto-generated from field metadata
-- Grain : One row per XHSHPN
-- Notes : Auto-generated skeleton. Julian dates (CYYDDD) are converted to DATE and implied-decimal amounts are scaled (verify decimals in F9210); padded business-unit/UDC keys are TRIMmed. Audit columns (…USER/…PID/…UPMJ) are omitted — see the quirks guide. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
f.XHSHPN AS "Shipment number - the system-assigned key that groups order lines for transport; the same value lands on F4211.SDSHPN.",
f.XHSSTS AS "Shipment status - the main workflow filter (pending, confirmed, freight updated...).",
f.XHWGTS / POWER(10, 4) AS "Shipment weight in the weight UoM; stored with 4 implied decimals - divide by 10,000.", -- implied decimals: 4 (verify in F9210)
f.XHWGTU AS "Weight unit of measure.",
f.XHMOT AS "Mode of transport - truckload, LTL, parcel, rail, and so on.",
f.XHROTE AS "Free-form routing description text.",
TRIM(f.XHMCU) AS "Business unit that owns the shipment.",
TRIM(f.XHNMCU) AS "Shipment depot - the origin depot business unit.",
f.XHORGN AS "Origin address book number the goods ship from.",
f.XHSRCO AS "Where the shipment originated - sales order, purchase order, or another source.",
f.XHBPFG AS "Bulk or packed shipment flag.",
f.XHAEXP / POWER(10, 2) AS "Extended sales value of the goods being shipped; 2 implied decimals.", -- implied decimals: 2 (verify in F9210)
f.XHECST / POWER(10, 2) AS "Extended cost of the goods being shipped; 2 implied decimals.", -- implied decimals: 2 (verify in F9210)
CASE WHEN f.XHDRQJ IS NULL OR f.XHDRQJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.XHDRQJ AS INT) DIV 1000, 1, 1), CAST(f.XHDRQJ AS INT) % 1000 - 1) END AS "Requested delivery date from the order.", -- CYYDDD Julian → DATE
CASE WHEN f.XHRSDJ IS NULL OR f.XHRSDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.XHRSDJ AS INT) DIV 1000, 1, 1), CAST(f.XHRSDJ AS INT) % 1000 - 1) END AS "Promised delivery date.", -- CYYDDD Julian → DATE
f.XHRSDT AS "Promised delivery time (HHMMSS).",
f.XHAN8 AS "Customer (sold-to) address book number.",
f.XHSHAN AS "Ship-to address book number; join to F0101.",
f.XHCTY1 AS "Ship-to city.",
f.XHADDS AS "Ship-to state.",
f.XHADDZ AS "Ship-to postal code.",
f.XHCTR AS "Ship-to country.",
f.XHZON AS "Delivery zone code.",
f.XHCAR1 AS "First preferred carrier address number considered during routing.",
f.XHCAR2 AS "Second preferred carrier address number.",
f.XHCAR3 AS "Third preferred carrier address number.",
f.XHFRTH AS "Freight handling code - the freight terms (who arranges and pays).",
f.XHFRSC AS "Freight rate schedule used to rate this record.",
f.XHDLLV AS "Level at which freight applies: delivery, line, or load.",
f.XHRSLT AS "Route selection type used for this shipment.",
f.XHDSTN AS "Distance in the distance UoM.",
f.XHUMD1 AS "Distance unit of measure (miles/kilometers).",
f.XHNRTS AS "Count of routing steps on the shipment.",
f.XHCTYO AS "Origin city.",
f.XHADSO AS "Origin state.",
f.XHADZO AS "Origin postal code.",
f.XHCTRO AS "Origin country."
FROM <catalog>.<schema_data>.f4215 f
ORDER BY f.XHSHPN;2 parameters not filled: <catalog>, <schema_data>
Relationships
1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.
Programs That Use This Table
Primary programs
- P4915Work With Shipments — the interactive workbench for reviewing, revising, routing, rating, and approving shipments after order entry creates themRead/write accessInteractive
- R49115Transportation Bill of Lading — the batch print job that produces bill of lading documents for confirmed shipments, with options for delivery instructions and shipment attachmentsRead accessBatch UBE
Secondary programs
- P4960Work With Loads — the interactive workbench that builds and maintains loads by grouping shipments onto vehicles, assigning carriers, and sequencing stopsRead/write accessInteractive
- R4981Freight Update and Report — the batch job that finalizes freight after delivery confirmation: writes freight audit history, books payable freight accruals/vouchers, and adds billable freight charges to the customer's orderRead/write accessBatch UBE