Skip to content
JDE Reference

F4072

master

One row per adjustment rate: the factor value for a given adjustment name, item or item group, customer or customer group, currency, UOM, quantity level break, and effective-date window. The rate lookup behind every Advanced Pricing calculation.

Notes

Group key IDs (IGID/CGID/OGID) resolve through F40941/F40942/F40943 to the category-code combination the rate covers. ADUPMJ/ADTDAY are part of the primary key — rate rows are version-stamped, so dedupe on the latest update when reconstructing effective rates.

Fields

29 fields · 12 key

KeyFieldAliasDescriptionTypeLengthFlags
Primary keyADASTASTAdjustment name this rate belongs to; joins to F4071 and to F4074 ledger rows.String8
Primary keyADITMITMShort item number when the rate targets a specific item (zero when keyed by item group).Numeric8
ADLITMLITMSecond (customer-facing) item number for the targeted item.String25
ADAITMAITMThird item number for the targeted item.String25
Primary keyADAN8AN8Address number when the rate targets a specific customer or supplier (zero when keyed by group).Numeric8
Primary keyADIGIDIGIDItem group key ID — resolves via F40941 to the item category-code combination this rate covers.Numeric8
Primary keyADCGIDCGIDCustomer group key ID — resolves via F40942 to the customer category-code combination this rate covers.Numeric8
Primary keyADOGIDOGIDOrder group key ID — resolves via F40943 to the order-detail value combination this rate covers.Numeric8
Primary keyADCRCDCRCDCurrency the rate is expressed in.String3
Primary keyADUOMUOMUnit of measure the quantity break and rate are stated in.String2
Primary keyADMNQMNQLevel break: minimum quantity (or weight/amount, per the F4071 level-break type) at which this rate starts.Numeric15
ADEFTJEFTJDate the rate becomes effective (Julian CYYDDD).Numeric6
Primary keyADEXDJEXDJDate the rate expires (Julian CYYDDD).Numeric6
ADBSCDBSCDBasis code: what the factor is applied against — base price percent, cost percent, cost plus amount, flat amount, formula, etc. Determines how to interpret FVTR.Character1
ADLEDGLEDGCost method used as the basis when the basis code is cost-driven.String2
ADFRMNFRMNPrice formula name applied when the basis code calls for a formula.String10
ADFVTRFVTRFactor value — the percent, amount, or override price depending on the basis code; implied decimals vary by setup.Numeric15
ADFGYFGYY/N: this rate row awards free goods (details in the free goods catalog).Character1
ADATIDATIDAdjustment key ID — system row identifier, unique within an adjustment name; useful as a stable join handle.Numeric8
ADNBRORDNBRORDNumber of orders threshold for volume-incentive adjustments.Numeric15
ADUOMVIDUOMVIDUnit of measure the volume-incentive accumulation is tracked in.String2
ADFVUMFVUMUnit of measure the factor value itself is stated in (for per-unit amount factors).String2
ADPARTFGPARTFGFlag allowing the rate to price partial quantities.Character1
ADAPRSAPRSApproval status of the rate row when price approval workflow is active — filter on approved rows for effective-price analysis.Character1
Primary keyADUPMJUPMJLast-updated date (Julian CYYDDD); part of the primary key, so treat as a version stamp on the rate row.Numeric6
Primary keyADTDAYTDAYLast-updated time of day; part of the primary key alongside UPMJ.Numeric6
ADBKTPIDBKTPIDParent ID linking basket-level rate rows to their basket master.Numeric8
ADCRCDVIDCRCDVIDCurrency the volume-incentive accumulation is tracked in.String3
ADRULENAMERULENAMERounding rule applied to the calculated adjusted price.String10

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading F4072on 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  : F4072 One row per adjustment rate: the factor value for a given adjustment name, item or item group, customer or customer group, currency, UOM, quantity level break, and effective-date window. The rate lookup behind every Advanced Pricing calculation.
-- Purpose: Column-selected read of F4072 — auto-generated from field metadata
-- Grain  : One row per ADAST + ADITM + ADAN8 + ADIGID + ADCGID + ADOGID + ADCRCD + ADUOM + ADMNQ + ADEXDJ + ADUPMJ + ADTDAY
-- 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.ADAST AS "Adjustment name this rate belongs to; joins to F4071 and to F4074 ledger rows.",
  f.ADITM AS "Short item number when the rate targets a specific item (zero when keyed by item group).",
  f.ADAN8 AS "Address number when the rate targets a specific customer or supplier (zero when keyed by group).",
  f.ADIGID AS "Item group key ID — resolves via F40941 to the item category-code combination this rate covers.",
  f.ADCGID AS "Customer group key ID — resolves via F40942 to the customer category-code combination this rate covers.",
  f.ADOGID AS "Order group key ID — resolves via F40943 to the order-detail value combination this rate covers.",
  f.ADCRCD AS "Currency the rate is expressed in.",
  f.ADUOM AS "Unit of measure the quantity break and rate are stated in.",
  f.ADMNQ AS "Level break: minimum quantity (or weight/amount, per the F4071 level-break type) at which this rate starts.",
  CASE WHEN f.ADEXDJ IS NULL OR f.ADEXDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.ADEXDJ AS INT) DIV 1000, 1, 1), CAST(f.ADEXDJ AS INT) % 1000 - 1) END AS "Date the rate expires (Julian CYYDDD).",  -- CYYDDD Julian → DATE
  CASE WHEN f.ADUPMJ IS NULL OR f.ADUPMJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.ADUPMJ AS INT) DIV 1000, 1, 1), CAST(f.ADUPMJ AS INT) % 1000 - 1) END AS "Last-updated date (Julian CYYDDD); part of the primary key, so treat as a version stamp on the rate row.",  -- CYYDDD Julian → DATE
  f.ADTDAY AS "Last-updated time of day; part of the primary key alongside UPMJ.",
  f.ADLITM AS "Second (customer-facing) item number for the targeted item.",
  f.ADAITM AS "Third item number for the targeted item.",
  CASE WHEN f.ADEFTJ IS NULL OR f.ADEFTJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.ADEFTJ AS INT) DIV 1000, 1, 1), CAST(f.ADEFTJ AS INT) % 1000 - 1) END AS "Date the rate becomes effective (Julian CYYDDD).",  -- CYYDDD Julian → DATE
  f.ADBSCD AS "Basis code: what the factor is applied against — base price percent, cost percent, cost plus amount, flat amount, formula, etc. Determines how to interpret FVTR.",
  f.ADLEDG AS "Cost method used as the basis when the basis code is cost-driven.",
  f.ADFRMN AS "Price formula name applied when the basis code calls for a formula.",
  f.ADFVTR AS "Factor value — the percent, amount, or override price depending on the basis code; implied decimals vary by setup.",
  f.ADFGY AS "Y/N: this rate row awards free goods (details in the free goods catalog).",
  f.ADATID AS "Adjustment key ID — system row identifier, unique within an adjustment name; useful as a stable join handle.",
  f.ADNBRORD AS "Number of orders threshold for volume-incentive adjustments.",
  f.ADUOMVID AS "Unit of measure the volume-incentive accumulation is tracked in.",
  f.ADFVUM AS "Unit of measure the factor value itself is stated in (for per-unit amount factors).",
  f.ADPARTFG AS "Flag allowing the rate to price partial quantities.",
  f.ADAPRS AS "Approval status of the rate row when price approval workflow is active — filter on approved rows for effective-price analysis.",
  f.ADBKTPID AS "Parent ID linking basket-level rate rows to their basket master.",
  f.ADCRCDVID AS "Currency the volume-incentive accumulation is tracked in.",
  f.ADRULENAME AS "Rounding rule applied to the calculated adjusted price."
FROM <catalog>.<schema_data>.f4072 f
WHERE
  f.ADITM = <ITM>
  -- AND f.ADAN8 = <AN8>
ORDER BY f.ADAST;

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

  • F4072F4071foreign key · N:1
    ON f4072.ADAST = f4071.ATAST
  • F4074F4072foreign key · N:1
    ON f4074.ALAST = f4072.ADAST

Programs That Use This Table