FPLEDG
Prefix: EPtransactionDivision-levelThe accounts payable ledger — one row per supplier invoice or payment transaction, mirroring the receivable ledger on the payable side; its voucher (division, fiscal year, series, number) can carry more than one such row, and joins it to the general ledger
What the badges mean
- Prefix: MM
- Prefix: the table’s 2-character physical-column prefix (e.g.
MMonMITMAS) — 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 thanCONOalone (see the quirks guide).
Fields
11 fields · 5 key
11 fields.
| Key | Field | Alias | Description | Type | Length | Flags |
|---|---|---|---|---|---|---|
| Key | EPCONO | CONO | Company | numeric | ||
| Key | EPDIVI | DIVI | Division | alphanumeric | ||
| Key | EPYEA4 | YEA4 | Fiscal year | numeric | ||
| Key | EPVSER | VSER | Voucher number series | alphanumeric | ||
| Key | EPVONO | VONO | Voucher number — the join back to the general ledger | numeric | ||
| EPJRNO | JRNO | Journal number | numeric | |||
| EPSUNO | SUNO | Supplier the transaction belongs to | alphanumeric | |||
| EPSINO | SINO | Supplier invoice number | alphanumeric | |||
| EPACDT | ACDT | Accounting date | numeric | |||
| EPDUDT | DUDT | Due date — the basis of payables aging | numeric | |||
| EPCUAM | CUAM | Amount in transaction currency, signed | numeric |
Field provenance: hand-curated.
Boilerplate SQL
Starting point for reading FPLEDG 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.
6 parameters not filled: <catalog>, <schema>, <company>, <DIVI>, <DATE_FROM>, <DATE_TO>
-- ============================================================
-- Table : FPLEDG — The accounts payable ledger — one row per supplier invoice or payment transaction, mirroring the receivable ledger on the payable side; 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 FPLEDG — auto-generated from field metadata
-- Grain : Transaction-grain — finer than company (CONO) + EPDIVI + EPYEA4 + EPVSER + EPVONO; 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.EPCONO AS "Company",
f.EPDIVI AS "Division",
f.EPYEA4 AS "Fiscal year",
f.EPVSER AS "Voucher number series",
f.EPVONO AS "Voucher number — the join back to the general ledger",
f.EPJRNO AS "Journal number",
f.EPSUNO AS "Supplier the transaction belongs to",
f.EPSINO AS "Supplier invoice number",
CASE WHEN f.EPACDT = 0 THEN NULL ELSE TO_DATE(CAST(CAST(f.EPACDT AS BIGINT) AS STRING), 'yyyyMMdd') END AS "Accounting date", -- YYYYMMDD, 0 → NULL
CASE WHEN f.EPDUDT = 0 THEN NULL ELSE TO_DATE(CAST(CAST(f.EPDUDT AS BIGINT) AS STRING), 'yyyyMMdd') END AS "Due date — the basis of payables aging", -- YYYYMMDD, 0 → NULL
f.EPCUAM AS "Amount in transaction currency, signed"
FROM <catalog>.<schema>.FPLEDG f
WHERE
f.EPCONO = <company>
-- AND f.EPDIVI = '<DIVI>'
-- AND f.EPACDT >= <DATE_FROM> -- yyyyMMdd numeric
-- AND f.EPACDT <= <DATE_TO> -- yyyyMMdd numeric
ORDER BY f.EPYEA4;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
-- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON FPLEDG.EPVONO = FGLEDG.EGVONO AND FPLEDG.EPDIVI = FGLEDG.EGDIVI AND FPLEDG.EPYEA4 = FGLEDG.EGYEA4 AND FPLEDG.EPVSER = FGLEDG.EGVSER AND FPLEDG.EPCONO = FGLEDG.EGCONO-- Uses this catalog's prefixed M3 column names; map raw Data Lake properties through Data Catalog first. ON FPLEDG.EPSUNO = CIDMAS.IDSUNO AND FPLEDG.EPCONO = CIDMAS.IDCONO
Programs That Use This Table
More Finance tables
- FSLEDGThe 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
- FGLEDGThe general ledger — one row per voucher line, with the accounting date, accounting-dimension string, and amounts; the voucher is identified by division, fiscal year, voucher series, and voucher number, and carries one or more lines below that key; every subledger posting lands here