M3 Reference
MITWHL
Prefix: MWmasterThe 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)
Fields
5 fields · 2 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | MWCONO | CONO | Company | numeric | ||
| Key | MWWHLO | WHLO | Warehouse — the code balances and movements carry | alphanumeric | ||
| MWWHNM | WHNM | Warehouse name | alphanumeric | |||
| MWFACI | FACI | Facility the warehouse belongs to — the costing/manufacturing level between division and warehouse | alphanumeric | |||
| MWWHTY | WHTY | Warehouse type — the code classifying how the warehouse is used | alphanumeric |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading MITWHLon 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 : 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 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
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;4 parameters not filled: <catalog>, <schema>, <company>, <WHLO>
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 MITBAL.MBWHLO = MITWHL.MWWHLO AND MITBAL.MBCONO = MITWHL.MWCONOON MITLOC.MLWHLO = MITWHL.MWWHLO AND MITLOC.MLCONO = MITWHL.MWCONOON MITTRA.MTWHLO = MITWHL.MWWHLO AND MITTRA.MTCONO = MITWHL.MWCONOON OOLINE.OBWHLO = MITWHL.MWWHLO AND OOLINE.OBCONO = MITWHL.MWCONOON MPLINE.IBWHLO = MITWHL.MWWHLO AND MPLINE.IBCONO = MITWHL.MWCONOON MITALO.MQWHLO = MITWHL.MWWHLO AND MITALO.MQCONO = MITWHL.MWCONOON MHDISH.OQWHLO = MITWHL.MWWHLO AND MHDISH.OQCONO = MITWHL.MWCONOON MWOHED.VHWHLO = MITWHL.MWWHLO AND MWOHED.VHCONO = MITWHL.MWCONOON MITPLO.MOWHLO = MITWHL.MWWHLO AND MITPLO.MOCONO = MITWHL.MWCONOON MITWHL.MWFACI = CFACIL.CFFACI AND MITWHL.MWCONO = CFACIL.CFCONO