M3 Reference
GLS200
InteractiveVoucher display — the general ledger inquiry over the FGLEDG voucher lines
Tables vs APIs
This program works over the tables below. For analytics at scale, land the raw tables — the SQL further down reads them directly, joined on their keys and CONO. When to land tables vs call MI APIs →
Boilerplate SQL
Databricks SQLStarting point for reading the tables behind GLS200 from landed data — the backing tables joined on their keys and CONO. Set your Unity Catalog location, company, and filter values below.
Query parameters
-- ============================================================
-- Program: GLS200 — Voucher display — the general ledger inquiry over the FGLEDG voucher lines
-- Purpose: Read the tables behind program GLS200 — auto-generated from program-table-map
-- Grain : One row per FGLEDG record
-- Tables : FGLEDG
-- 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; company-partitioned tables are joined on CONO to prevent cross-company fan-out. Audit columns (RGDT/RGTM/LMDT/CHNO/CHID) omitted — see the quirks guide.
-- ============================================================
SELECT
h.EGCONO AS "Company",
h.EGDIVI AS "Division the voucher posted in",
h.EGYEA4 AS "Fiscal year",
h.EGVSER AS "Voucher number series",
h.EGVONO AS "Voucher number"
FROM <catalog>.<schema>.FGLEDG h
WHERE
h.EGCONO = <company>
ORDER BY h.EGYEA4;3 parameters not filled: <catalog>, <schema>, <company>