MITALO
Prefix: MQtransactionAllocations — one row per item, location, and lot allocated to a specific order line, connecting demand (the order reference) to the exact stock that will fill it; the bridge between order lines and MITLOC balances
Fields
9 fields · 5 key
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | MQCONO | CONO | Company | numeric | ||
| Key | MQWHLO | WHLO | Warehouse | alphanumeric | ||
| Key | MQITNO | ITNO | Item number | alphanumeric | ||
| Key | MQWHSL | WHSL | Stock location the allocation points at | alphanumeric | ||
| Key | MQBANO | BANO | Lot (batch) number allocated | alphanumeric | ||
| MQORCA | ORCA | Order category of the demand being served (customer order, manufacturing order…) | alphanumeric | |||
| MQRIDN | RIDN | Order number of the demand line the stock is allocated to | alphanumeric | |||
| MQRIDL | RIDL | Order line number of the demand | numeric | |||
| MQALQT | ALQT | Allocated quantity | numeric |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading MITALOon 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.
-- ============================================================
-- Table : MITALO — Allocations — one row per item, location, and lot allocated to a specific order line, connecting demand (the order reference) to the exact stock that will fill it; the bridge between order lines and MITLOC balances
-- Purpose: Column-selected read of MITALO — auto-generated from field metadata
-- Grain : Transaction-grain — finer than company (CONO) + MQWHLO + MQITNO + MQWHSL + MQBANO; the full row key is not yet cataloged (see the table description)
-- 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
m.MQCONO AS "Company",
m.MQWHLO AS "Warehouse",
m.MQITNO AS "Item number",
m.MQWHSL AS "Stock location the allocation points at",
m.MQBANO AS "Lot (batch) number allocated",
m.MQORCA AS "Order category of the demand being served (customer order, manufacturing order…)",
m.MQRIDN AS "Order number of the demand line the stock is allocated to",
m.MQRIDL AS "Order line number of the demand",
m.MQALQT AS "Allocated quantity"
FROM <catalog>.<schema>.MITALO m
WHERE
m.MQCONO = <company>
-- AND m.MQWHLO = '<WHLO>'
-- AND m.MQITNO = '<ITNO>'
-- AND m.MQWHSL = '<WHSL>'
-- AND m.MQBANO = '<BANO>'
ORDER BY m.MQWHLO;7 parameters not filled: <catalog>, <schema>, <company>, <WHLO>, <ITNO>, <WHSL>, <BANO>
Relationships
1-hop neighbors — click a table to navigate there. CSYTAB decode edges are highlighted; they’re the joins newcomers most often get wrong.