JDE Reference
P41026
InteractiveItem Branch/Plant — assign items to branch/plants and maintain branch-level item attributes and locations
Lineage hook
Rows written by P41026 carry …PID = 'P41026' in their audit columns — a ready-made marker for isolating the records this program produced. See the audit-columns guide →
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: P41026 Item Branch/Plant — assign items to branch/plants and maintain branch-level item attributes and locations
-- Purpose: Item Branch/Plant — assign items to branch/plants and maintain branch-level item attributes and locations — auto-generated boilerplate from program-table-map
-- Grain : F4102 × F41021, F4101, F41001 — 1:N joins yield one row per detail line
-- Tables : F4102, F41021, F4101, F41001
-- 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
ib.IBITM AS "Short item number - the internal numeric item key",
TRIM(ib.IBMCU) AS "Business unit / branch plant (right-justified, space-padded to 12)",
loc.LILOCN AS "Storage location within the branch plant",
loc.LILOTN AS "Lot or serial number",
f.CISY AS "System/product code the constants row belongs to (typically 41)."
FROM <catalog>.<schema_data>.f4102 ib
LEFT JOIN <catalog>.<schema_data>.f41021 loc
ON loc.LIITM = ib.IBITM
AND loc.LIMCU = ib.IBMCU
LEFT JOIN <catalog>.<schema_data>.f4101 im
ON im.IMITM = ib.IBITM
LEFT JOIN <catalog>.<schema_data>.f41001 f
ON f.CIMCU = ib.IBMCU
WHERE
ib.IBITM = <ITM>
AND ib.IBMCU = '<MCU>'
ORDER BY ib.IBITM;4 parameters not filled: <catalog>, <schema_data>, <ITM>, <MCU>
Tables Used by This Program
How these tables connect. Nodes are clickable.
Primary tables
Secondary tables
- F41001Branch/plant inventory constants: the per-branch switchboard for item number symbols, location formatting, costing methods, commitment rules, and G/L interface options.Read accesscontrol
- F4101Item master — one row per item with descriptions, units of measure, and category codes shared across branchesRead accessmaster
- F41021Item location — on-hand, committed, and inbound quantities by item, branch, location, and lotRead/write accessmaster