F4215
transactionAlso in JDE WorldOne 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.
What the badges mean
- Superseded
- Superseded — a newer table has replaced it, but older scripts still read this one.
- Also in JDE World
- Also present in JDE World A9.x on the same table name.
- master
- Data class: what the table holds — master data, transaction documents, control/setup values, history, or a workfile.
- Read/write access
- Access mode: how the paired program reads or writes this table — R (read), W (write), or R/W (both).
Fields
37 fields · 1 key
37 fields.
| 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 (DD type: Date) | 6 | ||
| XHRSDJ | RSDJ | Promised delivery date. | Numeric (DD type: Date) | 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 F4215 on 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.
5 parameters not filled: <catalog>, <schema_data>, <SHPN>, <DRQJ_FROM>, <DRQJ_TO>
-- ============================================================
-- 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
WHERE
f.XHSHPN = <SHPN>
-- AND f.XHDRQJ >= <DRQJ_FROM> -- Julian CYYDDD, e.g. 126001
-- AND f.XHDRQJ <= <DRQJ_TO> -- Julian CYYDDD, e.g. 126365
ORDER BY f.XHSHPN;Verified September 2026
Relationships
Diagram of 1-hop neighbors — join details below. UDC decode edges point coded fields at their F0005 lookup.
Join details
ON f4215.XHSHPN = f4942.ISSHPNON f4215.XHSHPN = f4941.RSSHPNON f4945.SCSHPN = f4215.XHSHPNON f47037.SZSHPN = f4215.XHSHPNON f0005.DRSY = '41' AND f0005.DRRT = 'SS' AND TRIM(f0005.DRKY) = TRIM(f4215.XHSSTS)
Programs That Use This Table
R read · W write · R/W read + write
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
- R47032EDI Advance Ship Notice Extraction — the batch job that extracts confirmed shipment data into the outbound 856 staging tables, writing one header row per shipment at the top hierarchy break plus the hierarchy lines beneath itRead accessBatch UBE
- 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
More Transportation Management tables
- F4906One row per carrier - the transportation attributes (SCAC code, auto-pay, performance rating) hung off an address book number that acts as a carrier.
- F4941One row per routing step of a shipment - where the carrier, mode, load assignment, scheduled vs. actual ship/delivery timestamps, and billable vs. payable freight totals live. The workhorse table for carrier performance and freight cost analysis.
- F4942One row per order line per shipment routing step - the bridge between order detail and the shipment, carrying the line's shipped quantity, weight, volume, and value.
- F4945One row per calculated freight charge on a shipment routing step or load - billable (customer) and payable (carrier) charges by rate name and charge code, as they stand before freight update moves them to history.
- F4960One row per load (trip) - a planned vehicle departure that groups shipments, keyed by trip depot plus load number, with carrier, vehicle, load status, and distance.
- F4961One row per leg of a load - a depot-to-stop slice of the trip with scheduled versus confirmed weight, volume, and cube, plus scheduled and actual ship dates.