M3 Reference
CFACIL
Prefix: CFmasterDivision-levelThe facility master — one row per facility (the costing/manufacturing level between division and warehouse), with its name and division; warehouses and orders reference it by FACI
Module: FoundationCompany-partitioned (CONO)
What the badges mean
- Prefix: MM
- Prefix: the table’s 2-character physical-column prefix (e.g.
MMonMITMAS) — every field alias on the table carries it. Join by matching aliases across tables, not full column names (see the quirks guide). - master
- Data class: what the table holds — master data, balances, transaction documents, code/reference tables, or history.
- Shared across companies
- The table carries no
CONO— rows aren’t partitioned per company (see the quirks guide). - Division-level
- The table carries
DIVI— rows are scoped below company to a division, one layer more granular thanCONOalone (see the quirks guide).
In field listings, K marks a primary-key field.
Used in the library
Dashboard patterns
D-01Inventory Health
Fields
4 fields · 2 key
4 fields.
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | CFCONO | CONO | Company | numeric | ||
| Key | CFFACI | FACI | Facility — the code warehouses and orders carry | alphanumeric | ||
| CFFACN | FACN | Facility name | alphanumeric | |||
| CFDIVI | DIVI | Division the facility belongs to | alphanumeric |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading CFACIL on Databricks — numeric YYYYMMDD dates are wrapped to NULL, verified status ladders are decoded, and the CONO anchor is in place. Set your Unity Catalog location, company, and filter values below; they’re substituted into the SQL and the copy button.
Query parameters
5 parameters not filled: <catalog>, <schema>, <company>, <DIVI>, <FACI>
-- ============================================================
-- Table : CFACIL — The facility master — one row per facility (the costing/manufacturing level between division and warehouse), with its name and division; warehouses and orders reference it by FACI
-- Purpose: Column-selected read of CFACIL — auto-generated from field metadata
-- Grain : One row per company (CONO) + CFFACI
-- Notes : Auto-generated skeleton for a prefixed physical M3 schema or a landing schema normalized to the prefixed names in this catalog. Raw Data Lake property names vary with the published object: map them through Data Catalog before running this SQL. Dates are numeric YYYYMMDD (0 = none, mapped to NULL); all curated status values are decoded inline. Audit columns (RGDT/RGTM/LMDT/CHNO/CHID) omitted — see the quirks guide.
-- ============================================================
SELECT
c.CFCONO AS "Company",
c.CFFACI AS "Facility — the code warehouses and orders carry",
c.CFFACN AS "Facility name",
c.CFDIVI AS "Division the facility belongs to"
FROM <catalog>.<schema>.CFACIL c
WHERE
c.CFCONO = <company>
-- AND c.CFDIVI = '<DIVI>'
-- AND c.CFFACI = '<FACI>'
ORDER BY c.CFFACI;Verified September 2026
Relationships
Diagram of 1-hop neighbors — join details below. CSYTAB decode edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
-- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MITFAC.M9FACI = CFACIL.CFFACI AND MITFAC.M9CONO = CFACIL.CFCONO-- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MWOHED.VHFACI = CFACIL.CFFACI AND MWOHED.VHCONO = CFACIL.CFCONO-- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MITWHL.MWFACI = CFACIL.CFFACI AND MITWHL.MWCONO = CFACIL.CFCONO-- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON OOHEAD.OAFACI = CFACIL.CFFACI AND OOHEAD.OACONO = CFACIL.CFCONO-- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON CFACIL.CFDIVI = CMNDIV.CCDIVI AND CFACIL.CFCONO = CMNDIV.CCCONO
Programs That Use This Table
More Foundation tables
- CMNDIVThe division master — one row per division within a company; the DIVI that financial and divisional tables carry resolves here
- CSYTABThe generic system code table — hundreds of logical code tables share this one physical table, separated by the STCO constant; a code field elsewhere decodes here by matching its value against STKY under the right STCO (M3's analog of JDE's UDC table)