JDE Reference
F0015
controlAlso in JDE WorldCurrency exchange rate table: dated conversion rates between currency pairs, including multiplier and divisor forms and triangulation settings.
Module: 00 · FoundationColumn prefix: CX
Fields
11 fields · 5 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | CXCRCD | CRCD | Currency being converted from. | String | 3 | |
| Primary key | CXCRDC | CRDC | Currency being converted to. | String | 3 | |
| Primary key | CXAN8 | AN8 | Address number for customer- or supplier-specific rates; zero for the default rate. | Numeric | 8 | |
| Primary key | CXRTTYP | RTTYP | Rate type (spot, average, budget, etc.) distinguishing parallel rate sets. | String | 2 | |
| Primary key | CXEFT | EFT | Date the rate takes effect; the latest row at or before the transaction date applies. | Numeric | 6 | |
| CXCLMETH | CLMETH | Whether conversion multiplies or divides by the stored rate. | Character | 1 | ||
| CXCRCM | CRCM | Multi-currency conversion mode flag. | Character | 1 | ||
| CXTRCR | TRCR | Intermediate currency used when the pair converts via triangulation. | String | 3 | ||
| CXCRR | CRR | Conversion rate in multiplier form. Implied decimals vary by setup, so no fixed scaling is applied. | Numeric | 15 | ||
| CXCRRD | CRRD | Conversion rate in divisor form. Implied decimals vary by setup, so no fixed scaling is applied. | Numeric | 15 | ||
| CXCSR | CSR | Flag allowing spot rates entered directly on transactions. | Character | 1 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F0015on 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 : F0015 Currency exchange rate table: dated conversion rates between currency pairs, including multiplier and divisor forms and triangulation settings.
-- Purpose: Column-selected read of F0015 — auto-generated from field metadata
-- Grain : One row per CXCRCD + CXCRDC + CXAN8 + CXRTTYP + CXEFT
-- 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.CXCRCD AS "Currency being converted from.",
f.CXCRDC AS "Currency being converted to.",
f.CXAN8 AS "Address number for customer- or supplier-specific rates; zero for the default rate.",
f.CXRTTYP AS "Rate type (spot, average, budget, etc.) distinguishing parallel rate sets.",
CASE WHEN f.CXEFT IS NULL OR f.CXEFT = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(f.CXEFT AS INT) DIV 1000, 1, 1), CAST(f.CXEFT AS INT) % 1000 - 1) END AS "Date the rate takes effect; the latest row at or before the transaction date applies.", -- CYYDDD Julian → DATE
f.CXCLMETH AS "Whether conversion multiplies or divides by the stored rate.",
f.CXCRCM AS "Multi-currency conversion mode flag.",
f.CXTRCR AS "Intermediate currency used when the pair converts via triangulation.",
f.CXCRR AS "Conversion rate in multiplier form. Implied decimals vary by setup, so no fixed scaling is applied.",
f.CXCRRD AS "Conversion rate in divisor form. Implied decimals vary by setup, so no fixed scaling is applied.",
f.CXCSR AS "Flag allowing spot rates entered directly on transactions."
FROM <catalog>.<schema_data>.f0015 f
WHERE
f.CXAN8 = <AN8>
ORDER BY f.CXCRCD;3 parameters not filled: <catalog>, <schema_data>, <AN8>
Relationships
1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.
Join details
ON f0015.CXCRCD = f0013.CVCRCD
Programs That Use This Table
No program mappings populated for this table yet.