Skip to content
JDE Reference

F40942

control

One row per customer price group combination: a customer group plus a specific set of customer category-code values, assigned a numeric key ID (CGID) that F4072 rate rows point at.

Notes

Decode table for ADCGID in F4072: join CGID to recover which customer group and category-code values a rate row covers. CGID has its own unique index.

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

12 fields · 11 key

12 fields.

Table fields: key flag, field name, DD alias, description, data type, length, and quirk flags (Julian date, implied decimals, padded string, UDC decode). 12 fields.
KeyFieldAliasDescriptionTypeLengthFlags
Primary keyCKCPGPCPGPCustomer price group this combination belongs to.String8
Primary keyCKCGP1CGP1Value of the first customer category code in the combination.String3
Primary keyCKCGP2CGP2Value of the second customer category code in the combination.String3
Primary keyCKCGP3CGP3Value of the third customer category code in the combination.String3
Primary keyCKCGP4CGP4Value of the fourth customer category code in the combination.String3
Primary keyCKCGP5CGP5Value of the fifth customer category code in the combination.String3
Primary keyCKCGP6CGP6Value of the sixth customer category code in the combination.String3
Primary keyCKCGP7CGP7Value of the seventh customer category code in the combination.String3
Primary keyCKCGP8CGP8Value of the eighth customer category code in the combination.String3
Primary keyCKCGP9CGP9Value of the ninth customer category code in the combination.String3
Primary keyCKCGP10CGP10Value of the tenth customer category code in the combination.String3
CKCGIDCGIDCustomer group key ID — the surrogate key F4072 stores in ADCGID; unique per combination.Numeric8

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading F40942 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_data>

-- ============================================================
-- Table  : F40942 One row per customer price group combination: a customer group plus a specific set of customer category-code values, assigned a numeric key ID (CGID) that F4072 rate rows point at.
-- Purpose: Column-selected read of F40942 — auto-generated from field metadata
-- Grain  : One row per CKCPGP + CKCGP1 + CKCGP2 + CKCGP3 + CKCGP4 + CKCGP5 + CKCGP6 + CKCGP7 + CKCGP8 + CKCGP9 + CKCGP10
-- 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.CKCPGP AS "Customer price group this combination belongs to.",
  f.CKCGP1 AS "Value of the first customer category code in the combination.",
  f.CKCGP2 AS "Value of the second customer category code in the combination.",
  f.CKCGP3 AS "Value of the third customer category code in the combination.",
  f.CKCGP4 AS "Value of the fourth customer category code in the combination.",
  f.CKCGP5 AS "Value of the fifth customer category code in the combination.",
  f.CKCGP6 AS "Value of the sixth customer category code in the combination.",
  f.CKCGP7 AS "Value of the seventh customer category code in the combination.",
  f.CKCGP8 AS "Value of the eighth customer category code in the combination.",
  f.CKCGP9 AS "Value of the ninth customer category code in the combination.",
  f.CKCGP10 AS "Value of the tenth customer category code in the combination.",
  f.CKCGID AS "Customer group key ID — the surrogate key F4072 stores in ADCGID; unique per combination."
FROM <catalog>.<schema_data>.f40942 f
ORDER BY f.CKCPGP;

Verified September 2026

Relationships

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

Join details

  • F4072F40942foreign key · N:1
    ON f4072.ADCGID = f40942.CKCGID

Programs That Use This Table

No program mappings populated for this table yet.

Browse more 45 tables

More Advanced Pricing 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.