F4960
transactionOne 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.
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
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | TMVMCU | VMCU | Trip depot business unit - first half of the load key. | String | 12 | |
| Primary key | TMLDNM | LDNM | Load number - second half of the load key; join to F4960/F4961. | Numeric | 8 | |
| TMNMCU | NMCU | Shipment depot - the origin depot business unit. | String | 12 | ||
| TMORGN | ORGN | Origin address book number the goods ship from. | Numeric | 8 | ||
| TMMCUX | MCUX | Destination business unit. | String | 12 | ||
| TMANCC | ANCC | Destination address book number. | Numeric | 8 | ||
| TMCTY1 | CTY1 | Destination city. | String | 25 | ||
| TMADDS | ADDS | Destination state. | String | 3 | ||
| TMADDZ | ADDZ | Destination postal code. | String | 12 | ||
| TMCTR | CTR | Destination country. | String | 3 | ||
| TMZON | ZON | Destination zone code. | String | 3 | ||
| TMLDTY | LDTY | Load type. | String | 2 | ||
| TMLDLS | LDLS | Load status - the workflow filter for loads (pending, approved, confirmed...). | String | 2 | ||
| TMLOAD | LOAD | Scheduled load date. | Numeric | 6 | ||
| TMSHFT | SHFT | Shift code for the scheduled departure. | Character | 1 | ||
| TMTMLS | TMLS | Scheduled loading time (HHMMSS). | Numeric | 6 | ||
| TMPPDJ | PPDJ | Promised ship date. | Numeric | 6 | ||
| TMADDJ | ADDJ | Actual ship date - the anchor for on-time-shipment analysis. | Numeric | 6 | ||
| TMMOT | MOT | Mode of transport - truckload, LTL, parcel, rail, and so on. | String | 3 | ||
| TMVTYP | VTYP | Vehicle type planned for the load. | String | 12 | ||
| TMPVEH | PVEH | Primary vehicle ID. | String | 12 | ||
| TMRLNO | RLNO | Vehicle registration / license plate number. | String | 13 | ||
| TMCARS | CARS | Carrier's address book number; join to F0101.ABAN8 for the name and F4906 for carrier attributes. | Numeric | 8 | ||
| TMROUT | ROUT | Route code assigned during routing. | String | 3 | ||
| TMRTN | RTN | Route number assigned by route selection. | Numeric | 8 | ||
| TMFRSC | FRSC | Freight rate schedule used to rate this record. | String | 8 | ||
| TMDSGP | DSGP | Dispatch group - groups compatible products for transport. | String | 3 | ||
| TMDATY | DATY | Dispatch type. | Character | 1 | ||
| TMDSCD | DSCD | Disposition code. | Character | 1 | ||
| TMDSTN | DSTN | Distance in the distance UoM. | Numeric | 5 | ||
| TMUMD1 | UMD1 | Distance unit of measure (miles/kilometers). | String | 2 | ||
| TMODST | ODST | Out-of-route distance beyond the standard route. | Numeric | 5 | ||
| TMNSTP | NSTP | Number of stops on the load. | Numeric | 3 | ||
| TMRRTR | RRTR | Routing status - whether a carrier/route has been assigned yet. | Character | 1 | ||
| TMRATR | RATR | Rating status - whether freight has been rated yet. | Character | 1 | ||
| TMFRVC | FRVC | Payable (carrier) freight amount in domestic currency; 4 implied decimals. | Numeric | 15 | ||
| TMCRCP | CRCP | Currency code of the payable (A/P) freight amounts. | String | 3 |
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.
-- ============================================================
-- 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.