JDE Reference
R49115
Batch UBETransportation Bill of Lading — the batch print job that produces bill of lading documents for confirmed shipments, with options for delivery instructions and shipment attachments
Lineage hook
Rows written by R49115 carry …PID = 'R49115' in their audit columns — a ready-made marker for isolating the records this program produced. See the audit-columns guide →
Notes
Companion UBE R49110 (Transportation Bill of Lading Build) builds the document workfile first.
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.
Query parameters
-- ============================================================
-- Program: R49115 Transportation Bill of Lading — the batch print job that produces bill of lading documents for confirmed shipments, with options for delivery instructions and shipment attachments
-- Purpose: Transportation Bill of Lading — the batch print job that produces bill of lading documents for confirmed shipments, with options for delivery instructions and shipment attachments — auto-generated boilerplate from program-table-map
-- Grain : F4215 × F4211, F4101 — 1:N joins yield one row per detail line
-- Tables : F4215, F4211, F4101
-- 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.
-- ============================================================
SELECT
h.XHSHPN AS "Shipment number - the system-assigned key that groups order lines for transport; the same value lands on F4211.SDSHPN.",
d.SDKCOO AS "Order key company - disambiguates order numbers across companies",
d.SDDOCO AS "Order number",
d.SDDCTO AS "Order type code (SO, ST, CO, ...)",
d.SDLNID / POWER(10, 3) AS "Order line number, stored x1000 (3 implied decimals)", -- implied decimals: 3 (verify in F9210)
im.IMITM AS "Short item number - the internal numeric item key"
FROM <catalog>.<schema_data>.f4215 h
LEFT JOIN <catalog>.<schema_data>.f4211 d
ON 1 = 1 -- TODO: define join condition (no shared aliases detected)
LEFT JOIN <catalog>.<schema_data>.f4101 im
ON 1 = 1 -- TODO: define join condition (no shared aliases detected)
ORDER BY h.XHSHPN;2 parameters not filled: <catalog>, <schema_data>
Tables Used by This Program
How these tables connect. Nodes are clickable.