JDE Reference
F4104
masterAlso in JDE WorldItem cross-reference: links internal item numbers to external identifiers such as customer or supplier part numbers, substitutes, and replacements, keyed by cross-reference type.
Module: 41 · Inventory ManagementColumn prefix: IV
Fields
25 fields · 6 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | IVITM | ITM | Short internal item number (8-digit numeric key). | Numeric | 8 | |
| Primary key | IVXRT | XRT | Cross-reference type code that says what kind of link this is (customer item, vendor item, substitute, replacement, bar code, etc.). | String | 2 | |
| Primary key | IVAN8 | AN8 | Address book number the external item number belongs to (customer or supplier); zero for generic references. | Numeric | 8 | |
| Primary key | IVCITM | CITM | The external (customer's or supplier's) item number being cross-referenced. | String | 25 | |
| Primary key | IVEXDJ | EXDJ | Expiration date; the record stops applying after this date. | Numeric | 6 | |
| Primary key | IVCIRV | CIRV | Revision level of the customer/supplier item. | String | 20 | |
| IVEFTJ | EFTJ | Effective-from date; the record applies on or after this date. | Numeric | 6 | ||
| IVMCU | MCU | Branch/plant (business unit); stored right-justified with leading blanks. | String | 12 | ||
| IVDSC1 | DSC1 | Description of the cross-referenced item. | String | 30 | ||
| IVDSC2 | DSC2 | Second description line of the cross-referenced item. | String | 30 | ||
| IVALN | ALN | Compressed description used for word search. | String | 30 | ||
| IVLITM | LITM | Second (long) item number, the customer-facing alphanumeric item identifier. | String | 25 | ||
| IVAITM | AITM | Third item number, an alternate catalog-style identifier. | String | 25 | ||
| IVURCD | URCD | User-reserved code (open field for site-specific use). | String | 2 | ||
| IVURDT | URDT | User-reserved date (open field for site-specific use). | Numeric | 6 | ||
| IVURAT | URAT | User-reserved amount (open field for site-specific use). | Numeric | 15 | ||
| IVURAB | URAB | User-reserved number (open field for site-specific use). | Numeric | 8 | ||
| IVURRF | URRF | User-reserved reference (open field for site-specific use). | String | 15 | ||
| IVRATO | RATO | Quantity ratio applied when substituting this item. | Numeric | 15 | ||
| IVAPSP | APSP | Priority order among substitute items. | Numeric | 15 | ||
| IVIDEM | IDEM | Flag: transfer demand to the substitute item in planning. | Character | 1 | ||
| IVAPSS | APSS | Flag: substitute usable by APS planning. | Character | 1 | ||
| IVADIND | ADIND | Flag: price adjustments apply to the cross-referenced item. | Character | 1 | ||
| IVBPIND | BPIND | Flag: base price is retrieved for the cross-referenced item. | Character | 1 | ||
| IVCARDNO | CARDNO | Card number used for country-of-origin style references. | String | 4 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F4104on 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.
Query parameters
-- ============================================================
-- Table : F4104 Item cross-reference: links internal item numbers to external identifiers such as customer or supplier part numbers, substitutes, and replacements, keyed by cross-reference type.
-- Purpose: Column-selected read of F4104 — auto-generated from field metadata
-- Grain : One row per IVITM + IVXRT + IVAN8 + IVCITM + IVEXDJ + IVCIRV
-- 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.IVITM AS "Short internal item number (8-digit numeric key).",
f.IVXRT AS "Cross-reference type code that says what kind of link this is (customer item, vendor item, substitute, replacement, bar code, etc.).",
f.IVAN8 AS "Address book number the external item number belongs to (customer or supplier); zero for generic references.",
f.IVCITM AS "The external (customer's or supplier's) item number being cross-referenced.",
CASE WHEN f.IVEXDJ IS NULL OR f.IVEXDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.IVEXDJ AS INT) DIV 1000, 1, 1), CAST(f.IVEXDJ AS INT) % 1000 - 1) END AS "Expiration date; the record stops applying after this date.", -- CYYDDD Julian → DATE
f.IVCIRV AS "Revision level of the customer/supplier item.",
CASE WHEN f.IVEFTJ IS NULL OR f.IVEFTJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.IVEFTJ AS INT) DIV 1000, 1, 1), CAST(f.IVEFTJ AS INT) % 1000 - 1) END AS "Effective-from date; the record applies on or after this date.", -- CYYDDD Julian → DATE
TRIM(f.IVMCU) AS "Branch/plant (business unit); stored right-justified with leading blanks.",
f.IVDSC1 AS "Description of the cross-referenced item.",
f.IVDSC2 AS "Second description line of the cross-referenced item.",
f.IVALN AS "Compressed description used for word search.",
f.IVLITM AS "Second (long) item number, the customer-facing alphanumeric item identifier.",
f.IVAITM AS "Third item number, an alternate catalog-style identifier.",
f.IVURCD AS "User-reserved code (open field for site-specific use).",
CASE WHEN f.IVURDT IS NULL OR f.IVURDT = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.IVURDT AS INT) DIV 1000, 1, 1), CAST(f.IVURDT AS INT) % 1000 - 1) END AS "User-reserved date (open field for site-specific use).", -- CYYDDD Julian → DATE
f.IVURAT / POWER(10, 2) AS "User-reserved amount (open field for site-specific use).", -- implied decimals: 2 (verify in F9210)
f.IVURAB AS "User-reserved number (open field for site-specific use).",
f.IVURRF AS "User-reserved reference (open field for site-specific use).",
f.IVRATO / POWER(10, 4) AS "Quantity ratio applied when substituting this item.", -- implied decimals: 4 (verify in F9210)
f.IVAPSP / POWER(10, 4) AS "Priority order among substitute items.", -- implied decimals: 4 (verify in F9210)
f.IVIDEM AS "Flag: transfer demand to the substitute item in planning.",
f.IVAPSS AS "Flag: substitute usable by APS planning.",
f.IVADIND AS "Flag: price adjustments apply to the cross-referenced item.",
f.IVBPIND AS "Flag: base price is retrieved for the cross-referenced item.",
f.IVCARDNO AS "Card number used for country-of-origin style references."
FROM <catalog>.<schema_data>.f4104 f
WHERE
f.IVITM = <ITM>
-- AND f.IVAN8 = <AN8>
ORDER BY f.IVITM;4 parameters not filled: <catalog>, <schema_data>, <ITM>, <AN8>
Relationships
1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.
Join details
ON f4104.IVITM = f4101.IMITM
Programs That Use This Table
No program mappings populated for this table yet.