Skip to content
M3 Reference

MITTRA

Prefix: MTtransaction

The stock transaction ledger — one row per inventory movement (receipt, issue, transfer, adjustment) with its transaction type, quantity, date, and the order reference that caused it

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

10 fields · 3 key

10 fields.

Table fields: key flag, field name, column alias, description, data type, length, and decode flags. 10 fields.
KeyFieldAliasDescriptionTypeLengthFlags
KeyMTCONOCONOCompanynumeric
KeyMTWHLOWHLOWarehousealphanumeric
KeyMTITNOITNOItem numberalphanumeric
MTTRDTTRDTTransaction datenumeric
MTTRTPTRTPTransaction type — the code classifying the movement (receipt, issue, transfer, adjustment…)alphanumeric
MTTRQTTRQTTransaction quantity in the basic unit, signed by directionnumeric
MTRIDNRIDNOrder number of the document that caused the movement (customer order, purchase order, manufacturing order…)alphanumeric
MTRIDLRIDLOrder line number within the referenced documentnumeric
MTWHSLWHSLStock location the movement touchedalphanumeric
MTBANOBANOLot (batch) number the movement touchedalphanumeric

Field provenance: hand-curated.

Boilerplate SQL

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

7 parameters not filled: <catalog>, <schema>, <company>, <WHLO>, <ITNO>, <DATE_FROM>, <DATE_TO>

-- ============================================================
-- Table  : MITTRA — The stock transaction ledger — one row per inventory movement (receipt, issue, transfer, adjustment) with its transaction type, quantity, date, and the order reference that caused it
-- Purpose: Column-selected read of MITTRA — auto-generated from field metadata
-- Grain  : Transaction-grain — finer than company (CONO) + MTWHLO + MTITNO; the full row key is not yet cataloged (see the table description)
-- 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
  t.MTCONO AS "Company",
  t.MTWHLO AS "Warehouse",
  t.MTITNO AS "Item number",
  CASE WHEN t.MTTRDT = 0 THEN NULL ELSE TO_DATE(CAST(CAST(t.MTTRDT AS BIGINT) AS STRING), 'yyyyMMdd') END AS "Transaction date",  -- YYYYMMDD, 0 → NULL
  t.MTTRTP AS "Transaction type — the code classifying the movement (receipt, issue, transfer, adjustment…)",
  t.MTTRQT AS "Transaction quantity in the basic unit, signed by direction",
  t.MTRIDN AS "Order number of the document that caused the movement (customer order, purchase order, manufacturing order…)",
  t.MTRIDL AS "Order line number within the referenced document",
  t.MTWHSL AS "Stock location the movement touched",
  t.MTBANO AS "Lot (batch) number the movement touched"
FROM <catalog>.<schema>.MITTRA t
WHERE
  t.MTCONO = <company>
  -- AND t.MTWHLO = '<WHLO>'
  -- AND t.MTITNO = '<ITNO>'
  -- AND t.MTTRDT >= <DATE_FROM>  -- yyyyMMdd numeric
  -- AND t.MTTRDT <= <DATE_TO>  -- yyyyMMdd numeric
ORDER BY t.MTWHLO;

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

  • MITTRAMITMASforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON MITTRA.MTITNO = MITMAS.MMITNO AND MITTRA.MTCONO = MITMAS.MMCONO
  • 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

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.