Skip to content
JDE Reference

F0005

controlAlso in JDE World

User defined code values — the lookup rows behind every UDC-validated field, keyed by system, type, and code

Module: 00 · FoundationColumn prefix: DR
What the badges mean
Superseded
Superseded — a newer table has replaced it, but older scripts still read this one.
Also in JDE World
Also present in JDE World A9.x on the same table name.
master
Data class: what the table holds — master data, transaction documents, control/setup values, history, or a workfile.
Read/write access
Access mode: how the paired program reads or writes this table — R (read), W (write), or R/W (both).
No lifecycle badge means the table is current and not documented in JDE World. In field listings, K marks a primary-key field.

Fields

8 fields · 3 key

8 fields.

Table fields: key flag, field name, DD alias, description, data type, length, and quirk flags (Julian date, implied decimals, padded string, UDC decode). 8 fields.
KeyFieldAliasDescriptionTypeLengthFlags
Primary keyDRSYSYSystem code of the UDC tableString4
Primary keyDRRTRTUser defined code type within the systemString2
Primary keyDRKYKYThe code value itself; short/numeric codes are stored right-justified with leading blanks - TRIM before joiningString10
DRDL01DL01Code descriptionString30
DRDL02DL02Second description lineString30
DRSPHDSPHDSpecial handling code - extra behavior many programs key offString10
DRUDCOUDCOOwnership flag distinguishing Oracle-delivered vs customer codesCharacter1
DRHRDCHRDCHard coded flag - Y means programs depend on this exact valueCharacter1

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading F0005 on 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

2 parameters not filled: <catalog>, <schema_ctl>

-- ============================================================
-- Table  : F0005 User defined code values — the lookup rows behind every UDC-validated field, keyed by system, type, and code
-- Purpose: Column-selected read of F0005 — auto-generated from field metadata
-- Grain  : One row per DRSY + DRRT + DRKY
-- 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
  udc.DRSY AS "System code of the UDC table",
  udc.DRRT AS "User defined code type within the system",
  TRIM(udc.DRKY) AS "The code value itself; short/numeric codes are stored right-justified with leading blanks - TRIM before joining",
  udc.DRDL01 AS "Code description",
  udc.DRDL02 AS "Second description line",
  udc.DRSPHD AS "Special handling code - extra behavior many programs key off",
  udc.DRUDCO AS "Ownership flag distinguishing Oracle-delivered vs customer codes",
  udc.DRHRDC AS "Hard coded flag - Y means programs depend on this exact value"
FROM <catalog>.<schema_ctl>.f0005 udc
ORDER BY udc.DRSY;

Verified September 2026

Relationships

Diagram of 1-hop neighbors — join details below. UDC decode edges point coded fields at their F0005 lookup.

Join details

  • F4211F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'DT' AND TRIM(f0005.DRKY) = TRIM(f4211.SDDCTO)
  • F4211F0005UDC decode · N:1
    ON f0005.DRSY = '40' AND f0005.DRRT = 'AT' AND TRIM(f0005.DRKY) = TRIM(f4211.SDLTTR)
  • F4211F0005UDC decode · N:1
    ON f0005.DRSY = '40' AND f0005.DRRT = 'AT' AND TRIM(f0005.DRKY) = TRIM(f4211.SDNXTR)
  • F4101F0005UDC decode · N:1
    ON f0005.DRSY = '41' AND f0005.DRRT = '9' AND TRIM(f0005.DRKY) = TRIM(f4101.IMGLPT)
  • F0911F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'DT' AND TRIM(f0005.DRKY) = TRIM(f0911.GLDCT)
  • F0911F0005UDC decode · N:1
    ON f0005.DRSY = '09' AND f0005.DRRT = 'LT' AND TRIM(f0005.DRKY) = TRIM(f0911.GLLT)
  • F4311F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'DT' AND TRIM(f0005.DRKY) = TRIM(f4311.PDDCTO)
  • F4311F0005UDC decode · N:1
    ON f0005.DRSY = '40' AND f0005.DRRT = 'AT' AND TRIM(f0005.DRKY) = TRIM(f4311.PDLTTR)
  • F42199F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'DT' AND TRIM(f0005.DRKY) = TRIM(f42199.SLDCTO)
  • F42199F0005UDC decode · N:1
    ON f0005.DRSY = '40' AND f0005.DRRT = 'AT' AND TRIM(f0005.DRKY) = TRIM(f42199.SLLTTR)
  • F4301F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'DT' AND TRIM(f0005.DRKY) = TRIM(f4301.PHDCTO)
  • F0901F0005UDC decode · N:1
    ON f0005.DRSY = 'H00' AND f0005.DRRT = 'PE' AND TRIM(f0005.DRKY) = TRIM(f0901.GMPEC)
  • F0401F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'PY' AND TRIM(f0005.DRKY) = TRIM(f0401.A6PYIN)
  • F4106F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'UM' AND TRIM(f0005.DRKY) = TRIM(f4106.BPUOM)
  • F4801F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'SS' AND TRIM(f0005.DRKY) = TRIM(f4801.WASRST)
  • F3411F0005UDC decode · N:1
    ON f0005.DRSY = '34' AND f0005.DRRT = 'MT' AND TRIM(f0005.DRKY) = TRIM(f3411.MMMSGT)
  • F3413F0005UDC decode · N:1
    ON f0005.DRSY = '34' AND f0005.DRRT = 'QT' AND TRIM(f0005.DRKY) = TRIM(f3413.MRQT)
  • F03B11F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'PS' AND TRIM(f0005.DRKY) = TRIM(f03b11.RPPST)
  • F0411F0005UDC decode · N:1
    ON f0005.DRSY = '00' AND f0005.DRRT = 'PS' AND TRIM(f0005.DRKY) = TRIM(f0411.RPPST)
  • F4215F0005UDC decode · N:1
    ON f0005.DRSY = '41' AND f0005.DRRT = 'SS' AND TRIM(f0005.DRKY) = TRIM(f4215.XHSSTS)
  • F4960F0005UDC decode · N:1
    ON f0005.DRSY = '49' AND f0005.DRRT = 'SL' AND TRIM(f0005.DRKY) = TRIM(f4960.TMLDLS)
  • F4600F0005UDC decode · N:1
    ON f0005.DRSY = '46' AND f0005.DRRT = 'PS' AND TRIM(f0005.DRKY) = TRIM(f4600.R1PSTB)
  • F47022F0005UDC decode · N:1
    ON f0005.DRSY = '47' AND f0005.DRRT = 'LS' AND TRIM(f0005.DRKY) = TRIM(f47022.SZLSTS)

Programs That Use This Table

More Foundation tables

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Part of the Summit Analytics reference library.

Work with the practice

Not affiliated with or endorsed by Oracle. Oracle, JD Edwards, and EnterpriseOne are registered trademarks of Oracle and/or its affiliates.