Skip to content
JDE Reference

F4215

transaction

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.

Notes

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

KeyFieldAliasDescriptionTypeLengthFlags
Primary keyXHSHPNSHPNShipment number - the system-assigned key that groups order lines for transport; the same value lands on F4211.SDSHPN.Numeric8
XHSSTSSSTSShipment status - the main workflow filter (pending, confirmed, freight updated...).String2
XHWGTSWGTSShipment weight in the weight UoM; stored with 4 implied decimals - divide by 10,000.Numeric15
XHWGTUWGTUWeight unit of measure.String2
XHMOTMOTMode of transport - truckload, LTL, parcel, rail, and so on.String3
XHROTEROTEFree-form routing description text.String35
XHMCUMCUBusiness unit that owns the shipment.String12
XHNMCUNMCUShipment depot - the origin depot business unit.String12
XHORGNORGNOrigin address book number the goods ship from.Numeric8
XHSRCOSRCOWhere the shipment originated - sales order, purchase order, or another source.Character1
XHBPFGBPFGBulk or packed shipment flag.Character1
XHAEXPAEXPExtended sales value of the goods being shipped; 2 implied decimals.Numeric15
XHECSTECSTExtended cost of the goods being shipped; 2 implied decimals.Numeric15
XHDRQJDRQJRequested delivery date from the order.Numeric6
XHRSDJRSDJPromised delivery date.Numeric6
XHRSDTRSDTPromised delivery time (HHMMSS).Numeric6
XHAN8AN8Customer (sold-to) address book number.Numeric8
XHSHANSHANShip-to address book number; join to F0101.Numeric8
XHCTY1CTY1Ship-to city.String25
XHADDSADDSShip-to state.String3
XHADDZADDZShip-to postal code.String12
XHCTRCTRShip-to country.String3
XHZONZONDelivery zone code.String3
XHCAR1CAR1First preferred carrier address number considered during routing.Numeric8
XHCAR2CAR2Second preferred carrier address number.Numeric8
XHCAR3CAR3Third preferred carrier address number.Numeric8
XHFRTHFRTHFreight handling code - the freight terms (who arranges and pays).String3
XHFRSCFRSCFreight rate schedule used to rate this record.String8
XHDLLVDLLVLevel at which freight applies: delivery, line, or load.Character1
XHRSLTRSLTRoute selection type used for this shipment.Character1
XHDSTNDSTNDistance in the distance UoM.Numeric5
XHUMD1UMD1Distance unit of measure (miles/kilometers).String2
XHNRTSNRTSCount of routing steps on the shipment.Numeric3
XHCTYOCTYOOrigin city.String25
XHADSOADSOOrigin state.String3
XHADZOADZOOrigin postal code.String12
XHCTROCTROOrigin country.String3

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.

Query parameters
-- ============================================================
-- 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.

Join details

  • F4215F4942header detail · 1:N
    ON f4215.XHSHPN = f4942.ISSHPN
  • F4215F4941header detail · 1:N
    ON f4215.XHSHPN = f4941.RSSHPN
  • F47037F4215foreign key · N:1
    ON f47037.SZSHPN = f4215.XHSHPN
  • F4215F0005UDC decode · N:1
    ON f4215.XHSSTS = f0005.DRKY

Programs That Use This Table