Skip to content
M3 Reference

MITWHL

Prefix: MWmaster

The warehouse master — one row per warehouse with its name, facility, and warehouse type; the WHLO every balance and movement carries resolves here

Module: Inventory & WarehouseCompany-partitioned (CONO)
What the badges mean
Prefix: MM
Prefix: the table’s 2-character physical-column prefix (e.g. MM on MITMAS) — 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 than CONO alone (see the quirks guide).
In field listings, K marks a primary-key field.

Fields

5 fields · 2 key

5 fields.

Table fields: key flag, field name, column alias, description, data type, length, and decode flags. 5 fields.
KeyFieldAliasDescriptionTypeLengthFlags
KeyMWCONOCONOCompanynumeric
KeyMWWHLOWHLOWarehouse — the code balances and movements carryalphanumeric
MWWHNMWHNMWarehouse namealphanumeric
MWFACIFACIFacility the warehouse belongs to — the costing/manufacturing level between division and warehousealphanumeric
MWWHTYWHTYWarehouse type — the code classifying how the warehouse is usedalphanumeric

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading MITWHL 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

4 parameters not filled: <catalog>, <schema>, <company>, <WHLO>

-- ============================================================
-- Table  : MITWHL — The warehouse master — one row per warehouse with its name, facility, and warehouse type; the WHLO every balance and movement carries resolves here
-- Purpose: Column-selected read of MITWHL — auto-generated from field metadata
-- Grain  : One row per company (CONO) + MWWHLO
-- 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
  w.MWCONO AS "Company",
  w.MWWHLO AS "Warehouse — the code balances and movements carry",
  w.MWWHNM AS "Warehouse name",
  w.MWFACI AS "Facility the warehouse belongs to — the costing/manufacturing level between division and warehouse",
  w.MWWHTY AS "Warehouse type — the code classifying how the warehouse is used"
FROM <catalog>.<schema>.MITWHL w
WHERE
  w.MWCONO = <company>
  -- AND w.MWWHLO = '<WHLO>'
ORDER BY w.MWWHLO;

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

  • MITBALMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MITBAL.MBWHLO = MITWHL.MWWHLO AND MITBAL.MBCONO = MITWHL.MWCONO
  • MITLOCMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MITLOC.MLWHLO = MITWHL.MWWHLO AND MITLOC.MLCONO = MITWHL.MWCONO
  • MITTRAMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MITTRA.MTWHLO = MITWHL.MWWHLO AND MITTRA.MTCONO = MITWHL.MWCONO
  • OOLINEMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON OOLINE.OBWHLO = MITWHL.MWWHLO AND OOLINE.OBCONO = MITWHL.MWCONO
  • MPLINEMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MPLINE.IBWHLO = MITWHL.MWWHLO AND MPLINE.IBCONO = MITWHL.MWCONO
  • MITALOMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MITALO.MQWHLO = MITWHL.MWWHLO AND MITALO.MQCONO = MITWHL.MWCONO
  • MHDISHMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MHDISH.OQWHLO = MITWHL.MWWHLO AND MHDISH.OQCONO = MITWHL.MWCONO
  • MWOHEDMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MWOHED.VHWHLO = MITWHL.MWWHLO AND MWOHED.VHCONO = MITWHL.MWCONO
  • MITPLOMITWHLforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MITPLO.MOWHLO = MITWHL.MWWHLO AND MITPLO.MOCONO = MITWHL.MWCONO
  • MITWHLCFACILforeign key · N:1
    -- 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

Programs That Use This Table

More Inventory & Warehouse tables

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

Part of the Summit Analytics reference library.

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.