F4945
transactionOne 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.
Working table: rows are recalculated as shipments change and cleared by freight update. For final freight spend use F4981; use this one for in-flight charge visibility. Always split on BLPB.
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
30 fields · 1 key
30 fields.
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| SCSHPN | SHPN | Shipment number - the system-assigned key that groups order lines for transport; the same value lands on F4211.SDSHPN. | Numeric | 8 | ||
| SCRSSN | RSSN | Routing step number within the shipment. | Numeric | 3 | ||
| SCVMCU | VMCU | Trip depot business unit - first half of the load key; join to F4960.TMVMCU. | String | 12 | ||
| SCLDNM | LDNM | Load number - second half of the load key; join to F4960/F4961. | Numeric | 8 | ||
| SCDLNO | DLNO | Delivery number, used when freight is charged at the delivery level. | Numeric | 8 | ||
| SCOSEQ | OSEQ | Charge sequence number within the routing step. | Numeric | 4 | ||
| SCRTNM | RTNM | Rate name that produced this charge. | String | 10 | ||
| SCNMFC | NMFC | National Motor Freight Classification used for LTL rating. | String | 4 | ||
| SCDSGP | DSGP | Dispatch group - groups compatible products for transport. | String | 3 | ||
| SCFRT1 | FRT1 | Freight category code 1 used in rating. | String | 6 | ||
| SCFRT2 | FRT2 | Freight category code 2 used in rating. | String | 6 | ||
| SCCGC1 | CGC1 | Charge code classifying the freight charge (line haul, fuel surcharge...). | String | 3 | ||
| SCAG | AG | Gross charge amount; 2 implied decimals. | Numeric | 15 | ||
| SCBLPB | BLPB | Charge direction: billable to the customer or payable to the carrier - always filter or group on this. | Character | 1 | ||
| SCCRDC | CRDC | Billing (to) currency code. | String | 3 | ||
| SCFAA | FAA | Gross charge amount in foreign currency; 2 implied decimals. | Numeric | 15 | ||
| SCNAMF | NAMF | Net charge amount in foreign currency; 2 implied decimals. | Numeric | 15 | ||
| SCRTDQ | RTDQ | Quantity the rate was applied against; 4 implied decimals. | Numeric | 15 | ||
| SCNAMT | NAMT | Net charge amount after discounts; 2 implied decimals - the number to aggregate for freight spend. | Numeric | 15 | ||
| SCUOM | UOM | Unit of measure of the transaction quantity. | String | 2 | ||
| SCRTGB | RTGB | Rate basis the charge was computed on (weight, volume, pieces...). | Character | 1 | ||
| SCCRCD | CRCD | Transaction (from) currency code. | String | 3 | ||
| SCDOCO | DOCO | Order number of the related order line - joins F4211.SDDOCO (or F4311 for inbound). | Numeric | 8 | ||
| SCDCTO | DCTO | Order type of the related order line. | String | 2 | ||
| SCKCOO | KCOO | Order key company of the related order line. | String | 5 | ||
| SCLNID | LNID | Order line number; 3 implied decimals - matches F4211.SDLNID as stored. | Numeric | 6 | ||
| SCOVFG | OVFG | Manual override flag on the charge. | Character | 1 | ||
| SCUKID | UKID | Internal unique key ID. | Numeric | 15 | ||
| Primary key | SCUK01 | UK01 | Internal unique key - the physical primary key of this table. | Numeric | 15 | |
| SCEFTJ | EFTJ | Effective date of the rate used. | Numeric (DD type: Date) | 6 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F4945 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.
2 parameters not filled: <catalog>, <schema_data>
-- ============================================================
-- Table : F4945 One 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.
-- Purpose: Column-selected read of F4945 — auto-generated from field metadata
-- Grain : One row per SCUK01
-- 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.SCUK01 AS "Internal unique key - the physical primary key of this table.",
f.SCSHPN AS "Shipment number - the system-assigned key that groups order lines for transport; the same value lands on F4211.SDSHPN.",
f.SCRSSN / POWER(10, 1) AS "Routing step number within the shipment.", -- implied decimals: 1 (verify in F9210)
TRIM(f.SCVMCU) AS "Trip depot business unit - first half of the load key; join to F4960.TMVMCU.",
f.SCLDNM AS "Load number - second half of the load key; join to F4960/F4961.",
f.SCDLNO AS "Delivery number, used when freight is charged at the delivery level.",
f.SCOSEQ AS "Charge sequence number within the routing step.",
f.SCRTNM AS "Rate name that produced this charge.",
f.SCNMFC AS "National Motor Freight Classification used for LTL rating.",
f.SCDSGP AS "Dispatch group - groups compatible products for transport.",
f.SCFRT1 AS "Freight category code 1 used in rating.",
f.SCFRT2 AS "Freight category code 2 used in rating.",
f.SCCGC1 AS "Charge code classifying the freight charge (line haul, fuel surcharge...).",
f.SCAG / POWER(10, 2) AS "Gross charge amount; 2 implied decimals.", -- implied decimals: 2 (verify in F9210)
f.SCBLPB AS "Charge direction: billable to the customer or payable to the carrier - always filter or group on this.",
f.SCCRDC AS "Billing (to) currency code.",
f.SCFAA / POWER(10, 2) AS "Gross charge amount in foreign currency; 2 implied decimals.", -- implied decimals: 2 (verify in F9210)
f.SCNAMF / POWER(10, 2) AS "Net charge amount in foreign currency; 2 implied decimals.", -- implied decimals: 2 (verify in F9210)
f.SCRTDQ / POWER(10, 4) AS "Quantity the rate was applied against; 4 implied decimals.", -- implied decimals: 4 (verify in F9210)
f.SCNAMT / POWER(10, 2) AS "Net charge amount after discounts; 2 implied decimals - the number to aggregate for freight spend.", -- implied decimals: 2 (verify in F9210)
f.SCUOM AS "Unit of measure of the transaction quantity.",
f.SCRTGB AS "Rate basis the charge was computed on (weight, volume, pieces...).",
f.SCCRCD AS "Transaction (from) currency code.",
f.SCDOCO AS "Order number of the related order line - joins F4211.SDDOCO (or F4311 for inbound).",
f.SCDCTO AS "Order type of the related order line.",
f.SCKCOO AS "Order key company of the related order line.",
f.SCLNID / POWER(10, 3) AS "Order line number; 3 implied decimals - matches F4211.SDLNID as stored.", -- implied decimals: 3 (verify in F9210)
f.SCOVFG AS "Manual override flag on the charge.",
f.SCUKID AS "Internal unique key ID.",
CASE WHEN f.SCEFTJ IS NULL OR f.SCEFTJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.SCEFTJ AS INT) DIV 1000, 1, 1), CAST(f.SCEFTJ AS INT) % 1000 - 1) END AS "Effective date of the rate used." -- CYYDDD Julian → DATE
FROM <catalog>.<schema_data>.f4945 f
ORDER BY f.SCUK01;Verified September 2026
Relationships
Diagram of 1-hop neighbors — join details below. UDC decode edges point coded fields at their F0005 lookup.
Programs That Use This Table
No program mappings populated for this table yet.
More Transportation Management tables
- 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.
- F4981One row per freight charge written by freight update (R4981) - the permanent audit trail that ties every billable and payable charge to the G/L document (voucher or invoice) it created. The system-of-record table for freight spend analytics.
- F4215One 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.
- 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.