Skip to content
M3 Reference

CFACIL

Prefix: CFmasterDivision-level

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

Module: FoundationCompany-partitioned (CONO)

Fields

4 fields · 2 key

KeyFieldAliasDescriptionTypeLengthFlags
KeyCFCONOCONOCompanynumeric
KeyCFFACIFACIFacility — the code warehouses and orders carryalphanumeric
CFFACNFACNFacility namealphanumeric
CFDIVIDIVIDivision the facility belongs toalphanumeric

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

  • MITFACCFACILforeign key · N:1
    ON MITFAC.M9FACI = CFACIL.CFFACI AND MITFAC.M9CONO = CFACIL.CFCONO
  • MWOHEDCFACILforeign key · N:1
    ON MWOHED.VHFACI = CFACIL.CFFACI AND MWOHED.VHCONO = CFACIL.CFCONO
  • MITWHLCFACILforeign key · N:1
    ON MITWHL.MWFACI = CFACIL.CFFACI AND MITWHL.MWCONO = CFACIL.CFCONO
  • OOHEADCFACILforeign key · N:1
    ON OOHEAD.OAFACI = CFACIL.CFFACI AND OOHEAD.OACONO = CFACIL.CFCONO
  • CFACILCMNDIVforeign key · N:1
    ON CFACIL.CFDIVI = CMNDIV.CCDIVI AND CFACIL.CFCONO = CMNDIV.CCCONO

Programs That Use This Table

No program mappings populated for this table yet.

Maintained by Summit Analytics, a supply chain analytics practice. The tools and references are free — the consulting is selective.

Work with the practice →

Not affiliated with or endorsed by Infor. Infor, Infor M3, and Infor CloudSuite are trademarks of Infor and/or its affiliates.