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
MCMCU is the padded 12-char business-unit key every branch/plant join trims against — see the business-unit padding quirk.
What the badges mean
- Superseded
- Superseded — a newer table has replaced it, but older scripts still read this one.
- Also in JDE World
- Also present in JDE World A9.x on the same table name.
- master
- Data class: what the table holds — master data, transaction documents, control/setup values, history, or a workfile.
- Read/write access
- Access mode: how the paired program reads or writes this table — R (read), W (write), or R/W (both).
No lifecycle badge means the table is current and not documented in JDE World. In field listings, K marks a primary-key field.
Used in the library
Dashboard patterns
D-01Inventory Health
Fields
36 fields · 1 key
36 fields.
| 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 (DD type: Date) | 6 | ||
| MCD2J | D2J | Actual start date | Numeric (DD type: Date) | 6 | ||
| MCD3J | D3J | Planned completion date | Numeric (DD type: Date) | 6 | ||
| MCD4J | D4J | Actual completion date | Numeric (DD type: Date) | 6 | ||
| MCFPDJ | FPDJ | Final payment date | Numeric (DD type: Date) | 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 F0006 on 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
3 parameters not filled: <catalog>, <schema_data>, <MCU>
-- ============================================================
-- 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_data>.f0006 mc
WHERE
mc.MCMCU = '<MCU>'
ORDER BY mc.MCMCU;Verified September 2026
Relationships
Diagram of 1-hop neighbors — join details below. UDC decode edges point coded fields at their F0005 lookup.
Programs That Use This Table
R read · W write · R/W read + write
Primary programs
Secondary programs
- P3006Work Center Revision — the screen for defining work centers and their rates, crew sizes, capacity, and dispatch details used by routings and costing.Read accessInteractive
- P41001Branch/Plant Constants — define per-branch inventory rules: availability calculation, location format, and lot processingRead accessInteractive
- P49002Transportation Constants — the setup application that defines per-depot transportation defaults: shipment and load status flows, consolidation modes, weight/volume UOMs, and distance-calculation settingsRead accessInteractive
More Foundation tables
- F0008Defines each fiscal date pattern: the fiscal-year start date and the ending date of every accounting period, used to map calendar dates to fiscal periods.
- F0010One row of setup constants per company: fiscal calendar assignment, current periods, base currency, and A/R and A/P aging configuration.
- F0013Master list of currency codes with their display decimals; the lookup behind every CRCD column.
- F0014Payment terms definitions: discount percentage and window, net days to pay, and split/installment settings referenced by customer and supplier masters.
- F0015Currency exchange rate table: dated conversion rates between currency pairs, including multiplier and divisor forms and triangulation settings.
- F0002Next numbers — the per-system counters JDE uses to assign document and record numbers