JDE Reference
F4009
controlAlso in JDE WorldDistribution/inventory constants - system-level configuration flags stored one row per system code
Module: 40 · Distribution BaseColumn prefix: CP
Fields
50 fields · 1 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | CPSY | SY | System code the constants row belongs to (distribution constants live under one row per system) | String | 4 | |
| CPBUMC | BUMC | Flag: unit-of-measure conversions are defined per branch/plant | Character | 1 | ||
| CPBSDB | BSDB | Flag: supplemental database is kept by branch/plant | Character | 1 | ||
| CPULOT | ULOT | Whether duplicate lot numbers are allowed | Character | 1 | ||
| CPAVGC | AVGC | Flag: average cost is updated online instead of by batch job | Character | 1 | ||
| CPADVP | ADVP | Advanced sales pricing enabled | Character | 1 | ||
| CPUMB1 | UMB1 | Unit of measure used when retrieving sales prices | Character | 1 | ||
| CPCP01 | CP01 | Which date drives sales price selection | Character | 1 | ||
| CPCP02 | CP02 | Symbol that identifies a variable table in pricing | Character | 1 | ||
| CPCP03 | CP03 | Symbol that identifies a unit of measure in pricing | Character | 1 | ||
| CPCP04 | CP04 | Symbol that identifies a currency code in pricing | Character | 1 | ||
| CPCP05 | CP05 | Symbol that identifies a database field in pricing | Character | 1 | ||
| CPCP06 | CP06 | Unit of measure used when retrieving purchase prices | Character | 1 | ||
| CPCP07 | CP07 | Category code used for purchase rebates | Character | 1 | ||
| CPCP08 | CP08 | Pricing audit history enabled | Character | 1 | ||
| CPCP09 | CP09 | Internal PPAT message flag for pricing | Character | 1 | ||
| CPCP10 | CP10 | Non-coexisting lot processing flag | Character | 1 | ||
| CPCCTL | CCTL | ECS (energy/chemical) control flag | Character | 1 | ||
| CPSADR | SADR | Ship-ascending-date rule enabled | Character | 1 | ||
| CPCP11 | CP11 | Advanced procurement pricing enabled | Character | 1 | ||
| CPCP12 | CP12 | Scientific rounding option | Character | 1 | ||
| CPCP13 | CP13 | Price changes require approval | Character | 1 | ||
| CPCP14 | CP14 | Which date drives procurement cost selection | Character | 1 | ||
| CPCP15 | CP15 | Reserved constants flag 15 | Character | 1 | ||
| CPCP16 | CP16 | Audit log used for sales order changes | Character | 1 | ||
| CPCP17 | CP17 | Reason code required on order changes | Character | 1 | ||
| CPCP18 | CP18 | Approval process required for order changes | Character | 1 | ||
| CPCP19 | CP19 | Customer set functionality enabled | Character | 1 | ||
| CPCP20 | CP20 | Prepayment processing enabled | Character | 1 | ||
| CPCHDC | CHDC | Critical hold decoupling flag | Character | 1 | ||
| CPELOT | ELOT | Enhanced lot processing enabled | Character | 1 | ||
| CPAJRM | AJRM | Adjustment retrieval method for pricing | Character | 1 | ||
| CPOSTP | OSTP | Organization structure type used by pricing | String | 3 | ||
| CPPRAD | PRAD | Pricing address selection flag | Character | 1 | ||
| CPCP22 | CP22 | Unit of measure used for preference retrieval | Character | 1 | ||
| CPPRSN | PRSN | Default preference schedule | String | 8 | ||
| CPPMRF | PMRF | How overlapping promotions are resolved | Character | 1 | ||
| CPPRSF | PRSF | Promotions system enabled | Character | 1 | ||
| CPCP23 | CP23 | Reserved future-use flag 23 | Character | 1 | ||
| CPCP24 | CP24 | Reserved future-use flag 24 | Character | 1 | ||
| CPCP25 | CP25 | Reserved future-use flag 25 | Character | 1 | ||
| CPCP26 | CP26 | Reserved future-use flag 26 | Character | 1 | ||
| CPCP27 | CP27 | Reserved future-use flag 27 | Character | 1 | ||
| CPCP28 | CP28 | Sales pricing applies on override price | Character | 1 | ||
| CPCP29 | CP29 | Procurement pricing applies on override price | Character | 1 | ||
| CPCP30 | CP30 | Symbol that identifies a test result name in pricing | Character | 1 | ||
| CPCP31 | CP31 | Symbol that identifies a function name in pricing | Character | 1 | ||
| CPCP32 | CP32 | Symbol that separates function arguments in pricing | Character | 1 | ||
| CPCP33 | CP33 | Symbol that identifies an adjustment detail reference | Character | 1 | ||
| CPCP34 | CP34 | Accelerated pricing resolution engine enabled | Character | 1 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F4009on 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 : F4009 Distribution/inventory constants - system-level configuration flags stored one row per system code
-- Purpose: Column-selected read of F4009 — auto-generated from field metadata
-- Grain : One row per CPSY
-- 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.CPSY AS "System code the constants row belongs to (distribution constants live under one row per system)",
f.CPBUMC AS "Flag: unit-of-measure conversions are defined per branch/plant",
f.CPBSDB AS "Flag: supplemental database is kept by branch/plant",
f.CPULOT AS "Whether duplicate lot numbers are allowed",
f.CPAVGC AS "Flag: average cost is updated online instead of by batch job",
f.CPADVP AS "Advanced sales pricing enabled",
f.CPUMB1 AS "Unit of measure used when retrieving sales prices",
f.CPCP01 AS "Which date drives sales price selection",
f.CPCP02 AS "Symbol that identifies a variable table in pricing",
f.CPCP03 AS "Symbol that identifies a unit of measure in pricing",
f.CPCP04 AS "Symbol that identifies a currency code in pricing",
f.CPCP05 AS "Symbol that identifies a database field in pricing",
f.CPCP06 AS "Unit of measure used when retrieving purchase prices",
f.CPCP07 AS "Category code used for purchase rebates",
f.CPCP08 AS "Pricing audit history enabled",
f.CPCP09 AS "Internal PPAT message flag for pricing",
f.CPCP10 AS "Non-coexisting lot processing flag",
f.CPCCTL AS "ECS (energy/chemical) control flag",
f.CPSADR AS "Ship-ascending-date rule enabled",
f.CPCP11 AS "Advanced procurement pricing enabled",
f.CPCP12 AS "Scientific rounding option",
f.CPCP13 AS "Price changes require approval",
f.CPCP14 AS "Which date drives procurement cost selection",
f.CPCP15 AS "Reserved constants flag 15",
f.CPCP16 AS "Audit log used for sales order changes",
f.CPCP17 AS "Reason code required on order changes",
f.CPCP18 AS "Approval process required for order changes",
f.CPCP19 AS "Customer set functionality enabled",
f.CPCP20 AS "Prepayment processing enabled",
f.CPCHDC AS "Critical hold decoupling flag",
f.CPELOT AS "Enhanced lot processing enabled",
f.CPAJRM AS "Adjustment retrieval method for pricing",
f.CPOSTP AS "Organization structure type used by pricing",
f.CPPRAD AS "Pricing address selection flag",
f.CPCP22 AS "Unit of measure used for preference retrieval",
f.CPPRSN AS "Default preference schedule",
f.CPPMRF AS "How overlapping promotions are resolved",
f.CPPRSF AS "Promotions system enabled",
f.CPCP23 AS "Reserved future-use flag 23",
f.CPCP24 AS "Reserved future-use flag 24"
-- … plus 10 more columns — full list in the Fields section above
FROM <catalog>.<schema_data>.f4009 f
ORDER BY f.CPSY;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.