Skip to content
JDE Reference

P0911

Interactive

Journal Entry — enter, revise, and void general ledger journal entries with unlimited distribution lines

Lineage hook

Rows written by P0911 carry …PID = 'P0911' in their audit columns — a ready-made marker for isolating the records this program produced. See the audit-columns guide

Boilerplate SQL

Databricks SQL

Starting point for querying the tables behind this program. Set your Unity Catalog location and filter values below — they’re substituted into the SQL and the copy button.

Query parameters

5 parameters not filled: <catalog>, <schema_data>, <DCT>, <DOC>, <KCO>

-- ============================================================
-- Program: P0911 Journal Entry — enter, revise, and void general ledger journal entries with unlimited distribution lines
-- Purpose: Journal Entry — enter, revise, and void general ledger journal entries with unlimited distribution lines — auto-generated boilerplate from program-table-map
-- Grain  : F0911 × F0901 — 1:N joins yield one row per detail line
-- Tables : F0911, F0901
-- Notes  : Auto-generated skeleton. Julian dates are converted to DATE and implied-decimal amounts are scaled (verify decimals in F9210). Audit columns (…USER/…PID/…UPMJ) are omitted — see the quirks guide. Set catalog/schema to your Unity Catalog location; fill remaining placeholders (<...>) for your tenant.
-- ============================================================
SELECT
  h.GLDCT AS "Document type of the journal entry (JE, PV, RI, etc.).",
  h.GLDOC AS "Document number of the journal entry.",
  h.GLKCO AS "Company that assigned the document number (key company).",
  CASE WHEN h.GLDGJ IS NULL OR h.GLDGJ = 0 THEN NULL ELSE DATE_ADD(MAKE_DATE(1900 + CAST(h.GLDGJ AS INT) DIV 1000, 1, 1), CAST(h.GLDGJ AS INT) % 1000 - 1) END AS "G/L date driving the fiscal period the line posts to.",  -- CYYDDD Julian → DATE
  h.GLJELN AS "Line number within the journal entry.",
  h.GLEXTL AS "Line extension code completing the unique key.",
  h.GLLT AS "Ledger type the line belongs to (AA actual, CA foreign currency, etc.)."
FROM <catalog>.<schema_data>.f0911 h
LEFT JOIN <catalog>.<schema_data>.f0901 f
  ON f.GMAID = h.GLAID
WHERE
  h.GLDCT = '<DCT>'
  AND h.GLDOC = <DOC>
  AND h.GLKCO = '<KCO>'
ORDER BY h.GLDCT;

Tables Used by This Program

How these tables connect — join details in the list below.

Join details

  • F0911F0901foreign key · N:1
    ON f0911.GLAID = f0901.GMAID

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 Oracle. Oracle, JD Edwards, and EnterpriseOne are registered trademarks of Oracle and/or its affiliates.