Skip to content
M3 Reference

ODLINE

Prefix: UBtransaction

The invoiced-delivery line — one row per invoiced order line per delivery, with the invoiced quantity and price; the revenue-at-line grain of order-to-cash analytics, joined to its header by ORNO + DLIX + payment term

Module: DeliveriesCompany-partitioned (CONO)Header: ODHEAD
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.

Header & line

ODLINE lines join back to their header ODHEAD — and the CONO — so a line never fans out across companies.

Fields

9 fields · 6 key

9 fields.

Table fields: key flag, field name, column alias, description, data type, length, and decode flags. 9 fields.
KeyFieldAliasDescriptionTypeLengthFlags
KeyUBCONOCONOCompanynumeric
KeyUBORNOORNOCustomer order numberalphanumeric
KeyUBPONRPONROrder line numbernumeric
KeyUBPOSXPOSXLine suffixnumeric
KeyUBDLIXDLIXDelivery index the line was invoiced undernumeric
KeyUBTEPYTEPYPayment terms — part of the key, mirroring the headeralphanumeric
UBITNOITNOItem invoicedalphanumeric
UBIVQTIVQTInvoiced quantity on this delivery linenumeric
UBSAPRSAPRSales price the line was invoiced atnumeric

Field provenance: hand-curated.

Boilerplate SQL

Starting point for reading ODLINE 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>, <ORNO>

-- ============================================================
-- Table  : ODLINE — The invoiced-delivery line — one row per invoiced order line per delivery, with the invoiced quantity and price; the revenue-at-line grain of order-to-cash analytics, joined to its header by ORNO + DLIX + payment term
-- Purpose: Column-selected read of ODLINE — auto-generated from field metadata
-- Grain  : One row per company (CONO) + UBORNO + UBPONR + UBPOSX + UBDLIX + UBTEPY
-- 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
  o.UBCONO AS "Company",
  o.UBORNO AS "Customer order number",
  o.UBPONR AS "Order line number",
  o.UBPOSX AS "Line suffix",
  o.UBDLIX AS "Delivery index the line was invoiced under",
  o.UBTEPY AS "Payment terms — part of the key, mirroring the header",
  o.UBITNO AS "Item invoiced",
  o.UBIVQT AS "Invoiced quantity on this delivery line",
  o.UBSAPR AS "Sales price the line was invoiced at"
FROM <catalog>.<schema>.ODLINE o
WHERE
  o.UBCONO = <company>
  -- AND o.UBORNO = '<ORNO>'
ORDER BY o.UBORNO;

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

  • ODHEADODLINEheader line · 1:N
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON ODHEAD.UAORNO = ODLINE.UBORNO AND ODHEAD.UADLIX = ODLINE.UBDLIX AND ODHEAD.UATEPY = ODLINE.UBTEPY AND ODHEAD.UACONO = ODLINE.UBCONO
  • ODLINEMITMASforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON ODLINE.UBITNO = MITMAS.MMITNO AND ODLINE.UBCONO = MITMAS.MMCONO

Programs That Use This Table

More Deliveries 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.