P4915
InteractiveWork With Shipments — the interactive workbench for reviewing, revising, routing, rating, and approving shipments after order entry creates them
Rows written by P4915 carry …PID = 'P4915' in their audit columns — a ready-made marker for isolating the records this program produced. See the audit-columns guide
Central Transportation Management application; processing options control manual shipment consolidation. Operates on the shipment header F4215 (the F49xx name does not exist at 9.20).
Boilerplate SQL
Databricks SQLStarting point for querying the tables behind this program. Set your Unity Catalog location and filter values below — they’re substituted into the SQL and the copy button.
3 parameters not filled: <catalog>, <schema_data>, <SHPN>
-- ============================================================
-- Program: P4915 Work With Shipments — the interactive workbench for reviewing, revising, routing, rating, and approving shipments after order entry creates them
-- Purpose: Work With Shipments — the interactive workbench for reviewing, revising, routing, rating, and approving shipments after order entry creates them — auto-generated boilerplate from program-table-map
-- Grain : F4215 × F4941 — 1:N joins yield one row per detail line
-- Tables : F4215, F4941
-- Notes : Auto-generated skeleton. Julian dates are converted to DATE and implied-decimal amounts are scaled (verify decimals in F9210). 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.
-- Omitted: F4211 is cataloged for this program, but no verified join condition connects it to F4215, so it is left out of this skeleton. Add the join yourself using the key fields on each table's page.
-- ============================================================
SELECT
h.XHSHPN AS "Shipment number - the system-assigned key that groups order lines for transport; the same value lands on F4211.SDSHPN.",
f.RSRSSN / POWER(10, 1) AS "Routing step number within the shipment." -- implied decimals: 1 (verify in F9210)
FROM <catalog>.<schema_data>.f4215 h
LEFT JOIN <catalog>.<schema_data>.f4941 f
ON f.RSSHPN = h.XHSHPN
WHERE
h.XHSHPN = <SHPN>
ORDER BY h.XHSHPN;Tables Used by This Program
How these tables connect — join details in the list below.
Loading relationship diagram…
R read · W write · R/W read + write
Secondary tables
- F4211Sales order detail — current sales lines, including completed lines retained by the site's purge processing optionsRead accesstransaction
- 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.Read/write accesstransaction