JDE Reference
F0006
masterAlso in JDE WorldBusiness unit master — branch/plants, cost centers, and jobs with their reporting category codes
Module: 00 · FoundationColumn prefix: MC
Notes
Master data that lives in the PRODCTL (control) library by JDE convention rather than PRODDTA.
Fields
36 fields · 1 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Primary key | MCMCU | MCU | Business unit number - the key (right-justified, space-padded to 12) | String | 12 | |
| MCSTYL | STYL | Business unit type - groups business units for reporting | String | 2 | ||
| MCDC | DC | Compressed description used for word search | String | 40 | ||
| MCLDM | LDM | Level of detail for financial rollups | Character | 1 | ||
| MCCO | CO | Company that owns the business unit | String | 5 | ||
| MCAN8 | AN8 | Address book number linked to the business unit | Numeric | 8 | ||
| MCCNTY | CNTY | County code | String | 3 | ||
| MCADDS | ADDS | State code | String | 3 | ||
| MCFMOD | FMOD | Model/consolidation flag - marks model or consolidation records | Character | 1 | ||
| MCDL01 | DL01 | Business unit description | String | 30 | ||
| MCDL02 | DL02 | Description line 2 | String | 30 | ||
| MCRP01 | RP01 | Category code 01 - division | String | 3 | ||
| MCRP02 | RP02 | Category code 02 - region | String | 3 | ||
| MCRP03 | RP03 | Category code 03 - group | String | 3 | ||
| MCRP04 | RP04 | Category code 04 - branch office | String | 3 | ||
| MCRP05 | RP05 | Category code 05 - department type | String | 3 | ||
| MCRP06 | RP06 | Category code 06 - person responsible | String | 3 | ||
| MCRP07 | RP07 | Category code 07 - line of business | String | 3 | ||
| MCRP08 | RP08 | Category code 08 | String | 3 | ||
| MCRP09 | RP09 | Category code 09 | String | 3 | ||
| MCRP10 | RP10 | Category code 10 | String | 3 | ||
| MCTXA1 | TXA1 | Default tax rate/area | String | 10 | ||
| MCEXR1 | EXR1 | Default tax explanation code | String | 2 | ||
| MCPECC | PECC | Posting edit code - controls whether posting is allowed | Character | 1 | ||
| MCSBLI | SBLI | Subledger inactive code | Character | 1 | ||
| MCANPA | ANPA | Supervisor address book number | Numeric | 8 | ||
| MCMCUS | MCUS | Subsequent business unit | String | 12 | ||
| MCPC | PC | Percent complete (job costing) | Numeric | 5 | ||
| MCD1J | D1J | Planned start date (job costing) | Numeric | 6 | ||
| MCD2J | D2J | Actual start date | Numeric | 6 | ||
| MCD3J | D3J | Planned completion date | Numeric | 6 | ||
| MCD4J | D4J | Actual completion date | Numeric | 6 | ||
| MCFPDJ | FPDJ | Final payment date | Numeric | 6 | ||
| MCCAC | CAC | Projected cost at completion | Numeric | 15 | ||
| MCPAC | PAC | Projected profit at completion | Numeric | 15 | ||
| MCTSBU | TSBU | Target business unit | String | 12 |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading F0006on 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 : F0006 Business unit master — branch/plants, cost centers, and jobs with their reporting category codes
-- Purpose: Column-selected read of F0006 — auto-generated from field metadata
-- Grain : One row per MCMCU
-- 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
TRIM(mc.MCMCU) AS "Business unit number - the key (right-justified, space-padded to 12)",
mc.MCSTYL AS "Business unit type - groups business units for reporting",
mc.MCDC AS "Compressed description used for word search",
mc.MCLDM AS "Level of detail for financial rollups",
mc.MCCO AS "Company that owns the business unit",
mc.MCAN8 AS "Address book number linked to the business unit",
mc.MCCNTY AS "County code",
mc.MCADDS AS "State code",
mc.MCFMOD AS "Model/consolidation flag - marks model or consolidation records",
mc.MCDL01 AS "Business unit description",
mc.MCDL02 AS "Description line 2",
mc.MCRP01 AS "Category code 01 - division",
mc.MCRP02 AS "Category code 02 - region",
mc.MCRP03 AS "Category code 03 - group",
mc.MCRP04 AS "Category code 04 - branch office",
mc.MCRP05 AS "Category code 05 - department type",
mc.MCRP06 AS "Category code 06 - person responsible",
mc.MCRP07 AS "Category code 07 - line of business",
mc.MCRP08 AS "Category code 08",
mc.MCRP09 AS "Category code 09",
mc.MCRP10 AS "Category code 10",
mc.MCTXA1 AS "Default tax rate/area",
mc.MCEXR1 AS "Default tax explanation code",
mc.MCPECC AS "Posting edit code - controls whether posting is allowed",
mc.MCSBLI AS "Subledger inactive code",
mc.MCANPA AS "Supervisor address book number",
TRIM(mc.MCMCUS) AS "Subsequent business unit",
mc.MCPC AS "Percent complete (job costing)",
CASE WHEN mc.MCD1J IS NULL OR mc.MCD1J = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(mc.MCD1J AS INT) DIV 1000, 1, 1), CAST(mc.MCD1J AS INT) % 1000 - 1) END AS "Planned start date (job costing)", -- CYYDDD Julian → DATE
CASE WHEN mc.MCD2J IS NULL OR mc.MCD2J = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(mc.MCD2J AS INT) DIV 1000, 1, 1), CAST(mc.MCD2J AS INT) % 1000 - 1) END AS "Actual start date", -- CYYDDD Julian → DATE
CASE WHEN mc.MCD3J IS NULL OR mc.MCD3J = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(mc.MCD3J AS INT) DIV 1000, 1, 1), CAST(mc.MCD3J AS INT) % 1000 - 1) END AS "Planned completion date", -- CYYDDD Julian → DATE
CASE WHEN mc.MCD4J IS NULL OR mc.MCD4J = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(mc.MCD4J AS INT) DIV 1000, 1, 1), CAST(mc.MCD4J AS INT) % 1000 - 1) END AS "Actual completion date", -- CYYDDD Julian → DATE
CASE WHEN mc.MCFPDJ IS NULL OR mc.MCFPDJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(mc.MCFPDJ AS INT) DIV 1000, 1, 1), CAST(mc.MCFPDJ AS INT) % 1000 - 1) END AS "Final payment date", -- CYYDDD Julian → DATE
mc.MCCAC / POWER(10, 2) AS "Projected cost at completion", -- implied decimals: 2 (verify in F9210)
mc.MCPAC / POWER(10, 2) AS "Projected profit at completion", -- implied decimals: 2 (verify in F9210)
TRIM(mc.MCTSBU) AS "Target business unit"
FROM <catalog>.<schema_ctl>.f0006 mc
WHERE
mc.MCMCU = '<MCU>'
ORDER BY mc.MCMCU;3 parameters not filled: <catalog>, <schema_ctl>, <MCU>
Relationships
1-hop neighbors — click a table to navigate there. UDC decode edges point coded fields at their F0005 lookup.