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)
Fields
4 fields · 2 key
| 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 CFACILon 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
-- ============================================================
-- 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 Infor Data Lake-landed M3 data. Dates are numeric YYYYMMDD (0 = none, mapped to NULL); status ladders decoded inline where verified. 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;5 parameters not filled: <catalog>, <schema>, <company>, <DIVI>, <FACI>
Relationships
1-hop neighbors — click a table to navigate there. CSYTAB decode edges are highlighted; they’re the joins newcomers most often get wrong.
Join details
ON MITFAC.M9FACI = CFACIL.CFFACI AND MITFAC.M9CONO = CFACIL.CFCONOON MWOHED.VHFACI = CFACIL.CFFACI AND MWOHED.VHCONO = CFACIL.CFCONOON MITWHL.MWFACI = CFACIL.CFFACI AND MITWHL.MWCONO = CFACIL.CFCONOON OOHEAD.OAFACI = CFACIL.CFFACI AND OOHEAD.OACONO = CFACIL.CFCONOON CFACIL.CFDIVI = CMNDIV.CCDIVI AND CFACIL.CFCONO = CMNDIV.CCCONO
Programs That Use This Table
No program mappings populated for this table yet.