M3 Reference
MITBAL
Prefix: MBbalanceThe item/warehouse record — one row per item and warehouse, pairing planning policy (safety stock, reorder point, lead time, main supplier) with the warehouse-level on-hand and allocated balances
Fields
10 fields · 3 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | MBCONO | CONO | Company | numeric | ||
| Key | MBWHLO | WHLO | Warehouse | alphanumeric | ||
| Key | MBITNO | ITNO | Item number | alphanumeric | ||
| MBSTAT | STAT | Item/warehouse status — whether the item is active in this warehouse | alphanumeric | |||
| MBSTQT | STQT | On-hand balance in the warehouse, in the basic unit | numeric | |||
| MBALQT | ALQT | Allocated quantity — stock reserved against demand but not yet issued | numeric | |||
| MBSSQT | SSQT | Safety stock quantity for the item in this warehouse | numeric | |||
| MBREOP | REOP | Reorder point that triggers replenishment for the item in this warehouse | numeric | |||
| MBLEAT | LEAT | Lead time in days used by planning for this item/warehouse | numeric | |||
| MBSUNO | SUNO | Main supplier for replenishing the item in this warehouse — the default sourcing join to CIDMAS | alphanumeric |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading MITBALon 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 : MITBAL — The item/warehouse record — one row per item and warehouse, pairing planning policy (safety stock, reorder point, lead time, main supplier) with the warehouse-level on-hand and allocated balances
-- Purpose: Column-selected read of MITBAL — auto-generated from field metadata
-- Grain : One row per company (CONO) + MBWHLO + MBITNO
-- 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
ib.MBCONO AS "Company",
ib.MBWHLO AS "Warehouse",
ib.MBITNO AS "Item number",
ib.MBSTAT AS "Item/warehouse status — whether the item is active in this warehouse", -- status: decode ib.MBSTAT against your configuration — see quirks guide #statuses
ib.MBSTQT AS "On-hand balance in the warehouse, in the basic unit",
ib.MBALQT AS "Allocated quantity — stock reserved against demand but not yet issued",
ib.MBSSQT AS "Safety stock quantity for the item in this warehouse",
ib.MBREOP AS "Reorder point that triggers replenishment for the item in this warehouse",
ib.MBLEAT AS "Lead time in days used by planning for this item/warehouse",
ib.MBSUNO AS "Main supplier for replenishing the item in this warehouse — the default sourcing join to CIDMAS"
FROM <catalog>.<schema>.MITBAL ib
WHERE
ib.MBCONO = <company>
-- AND ib.MBWHLO = '<WHLO>'
-- AND ib.MBITNO = '<ITNO>'
ORDER BY ib.MBWHLO;5 parameters not filled: <catalog>, <schema>, <company>, <WHLO>, <ITNO>
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.MBITNO = MITMAS.MMITNO AND MITBAL.MBCONO = MITMAS.MMCONOON MITBAL.MBWHLO = MITWHL.MWWHLO AND MITBAL.MBCONO = MITWHL.MWCONOON MITBAL.MBSUNO = CIDMAS.IDSUNO AND MITBAL.MBCONO = CIDMAS.IDCONOON MITLOC.MLWHLO = MITBAL.MBWHLO AND MITLOC.MLITNO = MITBAL.MBITNO AND MITLOC.MLCONO = MITBAL.MBCONO
Programs That Use This Table
- MMS002Item/warehouse maintenance — connects items to warehouses and manages the MITBAL planning parametersPrimary sourceInteractive
- MMS080Material plan — the per-item, per-warehouse view over MITPLO where planners work supply and demandInteractive
- MMS200MIItem API — reads and maintains items and their warehouse connections programmaticallyAPI