Skip to content
JDE Reference

F4960

transaction

One 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.

Notes

The two-part key (VMCU + LDNM) is how routing steps in F4941 point at their load. VMCU is a padded business unit - trim before joining to un-padded sources.

Fields

37 fields · 2 key

KeyFieldAliasDescriptionTypeLengthFlags
Primary keyTMVMCUVMCUTrip depot business unit - first half of the load key.String12
Primary keyTMLDNMLDNMLoad number - second half of the load key; join to F4960/F4961.Numeric8
TMNMCUNMCUShipment depot - the origin depot business unit.String12
TMORGNORGNOrigin address book number the goods ship from.Numeric8
TMMCUXMCUXDestination business unit.String12
TMANCCANCCDestination address book number.Numeric8
TMCTY1CTY1Destination city.String25
TMADDSADDSDestination state.String3
TMADDZADDZDestination postal code.String12
TMCTRCTRDestination country.String3
TMZONZONDestination zone code.String3
TMLDTYLDTYLoad type.String2
TMLDLSLDLSLoad status - the workflow filter for loads (pending, approved, confirmed...).String2
TMLOADLOADScheduled load date.Numeric6
TMSHFTSHFTShift code for the scheduled departure.Character1
TMTMLSTMLSScheduled loading time (HHMMSS).Numeric6
TMPPDJPPDJPromised ship date.Numeric6
TMADDJADDJActual ship date - the anchor for on-time-shipment analysis.Numeric6
TMMOTMOTMode of transport - truckload, LTL, parcel, rail, and so on.String3
TMVTYPVTYPVehicle type planned for the load.String12
TMPVEHPVEHPrimary vehicle ID.String12
TMRLNORLNOVehicle registration / license plate number.String13
TMCARSCARSCarrier's address book number; join to F0101.ABAN8 for the name and F4906 for carrier attributes.Numeric8
TMROUTROUTRoute code assigned during routing.String3
TMRTNRTNRoute number assigned by route selection.Numeric8
TMFRSCFRSCFreight rate schedule used to rate this record.String8
TMDSGPDSGPDispatch group - groups compatible products for transport.String3
TMDATYDATYDispatch type.Character1
TMDSCDDSCDDisposition code.Character1
TMDSTNDSTNDistance in the distance UoM.Numeric5
TMUMD1UMD1Distance unit of measure (miles/kilometers).String2
TMODSTODSTOut-of-route distance beyond the standard route.Numeric5
TMNSTPNSTPNumber of stops on the load.Numeric3
TMRRTRRRTRRouting status - whether a carrier/route has been assigned yet.Character1
TMRATRRATRRating status - whether freight has been rated yet.Character1
TMFRVCFRVCPayable (carrier) freight amount in domestic currency; 4 implied decimals.Numeric15
TMCRCPCRCPCurrency code of the payable (A/P) freight amounts.String3

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading F4960on 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  : F4960 One 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.
-- Purpose: Column-selected read of F4960 — auto-generated from field metadata
-- Grain  : One row per TMVMCU + TMLDNM
-- 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
  TRIM(f.TMVMCU) AS "Trip depot business unit - first half of the load key.",
  f.TMLDNM AS "Load number - second half of the load key; join to F4960/F4961.",
  TRIM(f.TMNMCU) AS "Shipment depot - the origin depot business unit.",
  f.TMORGN AS "Origin address book number the goods ship from.",
  TRIM(f.TMMCUX) AS "Destination business unit.",
  f.TMANCC AS "Destination address book number.",
  f.TMCTY1 AS "Destination city.",
  f.TMADDS AS "Destination state.",
  f.TMADDZ AS "Destination postal code.",
  f.TMCTR AS "Destination country.",
  f.TMZON AS "Destination zone code.",
  f.TMLDTY AS "Load type.",
  f.TMLDLS AS "Load status - the workflow filter for loads (pending, approved, confirmed...).",
  CASE WHEN f.TMLOAD IS NULL OR f.TMLOAD = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.TMLOAD AS INT) DIV 1000, 1, 1), CAST(f.TMLOAD AS INT) % 1000 - 1) END AS "Scheduled load date.",  -- CYYDDD Julian → DATE
  f.TMSHFT AS "Shift code for the scheduled departure.",
  f.TMTMLS AS "Scheduled loading time (HHMMSS).",
  CASE WHEN f.TMPPDJ IS NULL OR f.TMPPDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.TMPPDJ AS INT) DIV 1000, 1, 1), CAST(f.TMPPDJ AS INT) % 1000 - 1) END AS "Promised ship date.",  -- CYYDDD Julian → DATE
  CASE WHEN f.TMADDJ IS NULL OR f.TMADDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.TMADDJ AS INT) DIV 1000, 1, 1), CAST(f.TMADDJ AS INT) % 1000 - 1) END AS "Actual ship date - the anchor for on-time-shipment analysis.",  -- CYYDDD Julian → DATE
  f.TMMOT AS "Mode of transport - truckload, LTL, parcel, rail, and so on.",
  f.TMVTYP AS "Vehicle type planned for the load.",
  f.TMPVEH AS "Primary vehicle ID.",
  f.TMRLNO AS "Vehicle registration / license plate number.",
  f.TMCARS AS "Carrier's address book number; join to F0101.ABAN8 for the name and F4906 for carrier attributes.",
  f.TMROUT AS "Route code assigned during routing.",
  f.TMRTN AS "Route number assigned by route selection.",
  f.TMFRSC AS "Freight rate schedule used to rate this record.",
  f.TMDSGP AS "Dispatch group - groups compatible products for transport.",
  f.TMDATY AS "Dispatch type.",
  f.TMDSCD AS "Disposition code.",
  f.TMDSTN AS "Distance in the distance UoM.",
  f.TMUMD1 AS "Distance unit of measure (miles/kilometers).",
  f.TMODST AS "Out-of-route distance beyond the standard route.",
  f.TMNSTP AS "Number of stops on the load.",
  f.TMRRTR AS "Routing status - whether a carrier/route has been assigned yet.",
  f.TMRATR AS "Rating status - whether freight has been rated yet.",
  f.TMFRVC / POWER(10, 4) AS "Payable (carrier) freight amount in domestic currency; 4 implied decimals.",  -- implied decimals: 4 (verify in F9210)
  f.TMCRCP AS "Currency code of the payable (A/P) freight amounts."
FROM <catalog>.<schema_data>.f4960 f
ORDER BY f.TMVMCU;

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

  • F4960F4961header detail · 1:N
    ON f4960.TMLDNM = f4961.LLLDNM
  • F4941F4960foreign key · N:1
    ON f4941.RSLDNM = f4960.TMLDNM
  • F4960F0005UDC decode · N:1
    ON f4960.TMLDLS = f0005.DRKY

Programs That Use This Table