Skip to content
M3 Reference

FSLEDG

Prefix: EStransactionDivision-level

The accounts receivable ledger — one row per customer invoice or payment transaction, carrying the payer, invoice number, due date, and amount; its voucher (division, fiscal year, series, number) can carry more than one such row, and joins it to the general ledger

Module: FinanceCompany-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.
Used in the library
KPI definitions

Fields

12 fields · 5 key

12 fields.

Table fields: key flag, field name, column alias, description, data type, length, and decode flags. 12 fields.
KeyFieldAliasDescriptionTypeLengthFlags
KeyESCONOCONOCompanynumeric
KeyESDIVIDIVIDivisionalphanumeric
KeyESYEA4YEA4Fiscal yearnumeric
KeyESVSERVSERVoucher number seriesalphanumeric
KeyESVONOVONOVoucher number — the join back to the general ledgernumeric
ESJRNOJRNOJournal numbernumeric
ESCUNOCUNOCustomer the transaction belongs toalphanumeric
ESPYNOPYNOPayer billed for the transactionalphanumeric
ESCINOCINOCustomer invoice numberalphanumeric
ESACDTACDTAccounting datenumeric
ESDUDTDUDTDue date — the basis of receivables agingnumeric
ESCUAMCUAMAmount in transaction currency, signednumeric

Field provenance: hand-curated.

Boilerplate SQL

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

6 parameters not filled: <catalog>, <schema>, <company>, <DIVI>, <DATE_FROM>, <DATE_TO>

-- ============================================================
-- Table  : FSLEDG — The accounts receivable ledger — one row per customer invoice or payment transaction, carrying the payer, invoice number, due date, and amount; its voucher (division, fiscal year, series, number) can carry more than one such row, and joins it to the general ledger
-- Purpose: Column-selected read of FSLEDG — auto-generated from field metadata
-- Grain  : Transaction-grain — finer than company (CONO) + ESDIVI + ESYEA4 + ESVSER + ESVONO; 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
  f.ESCONO AS "Company",
  f.ESDIVI AS "Division",
  f.ESYEA4 AS "Fiscal year",
  f.ESVSER AS "Voucher number series",
  f.ESVONO AS "Voucher number — the join back to the general ledger",
  f.ESJRNO AS "Journal number",
  f.ESCUNO AS "Customer the transaction belongs to",
  f.ESPYNO AS "Payer billed for the transaction",
  f.ESCINO AS "Customer invoice number",
  CASE WHEN f.ESACDT = 0 THEN NULL ELSE TO_DATE(CAST(CAST(f.ESACDT AS BIGINT) AS STRING), 'yyyyMMdd') END AS "Accounting date",  -- YYYYMMDD, 0 → NULL
  CASE WHEN f.ESDUDT = 0 THEN NULL ELSE TO_DATE(CAST(CAST(f.ESDUDT AS BIGINT) AS STRING), 'yyyyMMdd') END AS "Due date — the basis of receivables aging",  -- YYYYMMDD, 0 → NULL
  f.ESCUAM AS "Amount in transaction currency, signed"
FROM <catalog>.<schema>.FSLEDG f
WHERE
  f.ESCONO = <company>
  -- AND f.ESDIVI = '<DIVI>'
  -- AND f.ESACDT >= <DATE_FROM>  -- yyyyMMdd numeric
  -- AND f.ESACDT <= <DATE_TO>  -- yyyyMMdd numeric
ORDER BY f.ESYEA4;

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

  • FSLEDGFGLEDGforeign key · N:M
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON FSLEDG.ESVONO = FGLEDG.EGVONO AND FSLEDG.ESDIVI = FGLEDG.EGDIVI AND FSLEDG.ESYEA4 = FGLEDG.EGYEA4 AND FSLEDG.ESVSER = FGLEDG.EGVSER AND FSLEDG.ESCONO = FGLEDG.EGCONO
  • FSLEDGOCUSMAforeign key · N:1
    -- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON FSLEDG.ESCUNO = OCUSMA.OKCUNO AND FSLEDG.ESCONO = OCUSMA.OKCONO

Programs That Use This Table

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