JDE Reference
P4112
InteractiveInventory Issues — remove inventory from stock (for example to scrap or expense) with matching journal entries
Lineage hook
Rows written by P4112 carry …PID = 'P4112' 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
2 parameters not filled: <catalog>, <schema_data>
-- ============================================================
-- Program: P4112 Inventory Issues — remove inventory from stock (for example to scrap or expense) with matching journal entries
-- Purpose: Inventory Issues — remove inventory from stock (for example to scrap or expense) with matching journal entries — auto-generated boilerplate from program-table-map
-- Grain : One row per F4111
-- Tables : F4111
-- 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: F41021, F0911, F4102, F4105 are cataloged for this program, but no verified join condition connects them to F4111, so they are left out of this skeleton. Add the join yourself using the key fields on each table's page.
-- ============================================================
SELECT
il.ILUKID AS "Unique key ID - the system-assigned surrogate key"
FROM <catalog>.<schema_data>.f4111 il
ORDER BY il.ILUKID;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
Primary tables
Secondary tables
- F0911General ledger transaction detail: every journal entry line with its account, G/L date, amount, batch, subledger, and source-document references.Write accesstransaction
- F4102Item branch — branch/plant-level item attributes, planning parameters, and sourcing responsibilityRead accessmaster
- F4105Item cost table: one row per item, branch, location, lot, and cost method carrying the unit cost used to value inventory and purchasing transactions.Read accessmaster