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.

Fields

12 fields · 11 key

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 F40942on 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  : 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;

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

Relationships

1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.

Programs That Use This Table

No program mappings populated for this table yet.