Skip to content
EBS Reference

GL_JE_LINES

Schema: GLtransaction

Journal lines — the atomic debit/credit rows against account combinations; the source of trial-balance and account-activity analytics

Grain note

Meaningless unfiltered — constrain LEDGER_ID, PERIOD_NAME, posted status, and the header's actuals flag, or budgets, encumbrances, unposted work, and secondary ledgers inflate every total; amounts are DR/CR column pairs, never signed

Notes

No surrogate key — the key is JE_HEADER_ID + JE_LINE_NUM. The subledger drill path runs through the GL_SL_LINK columns into subledger accounting (not cataloged).

What the badges mean
master
Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or an APPS-schema view.
In field listings, K marks a primary-key field.

Header & line

GL_JE_LINES lines join back to their header GL_JE_HEADERS — and the org column — so a line never fans out.

Fields

15 fields · 2 key

Table fields: position, field name, description, data type, and flags. 15 fields.
#FieldDescriptionTypeFlags
1JE_HEADER_IDThe journal — key together with the line number; no surrogate existsNUMBER
Key
2JE_LINE_NUMLine number within the journal — part of the keyNUMBER
Key
3LEDGER_IDThe ledger, denormalized onto every line — always filter itNUMBER
4CODE_COMBINATION_IDThe account combination the line hitsNUMBER
5PERIOD_NAMEThe accounting period — always filter itVARCHAR2
6EFFECTIVE_DATEThe line's effective date — the primary analysis dateDATE
Filter date
7STATUSU unposted, P postedVARCHAR2
8ENTERED_DREntered debit — one side per line; use NVL when nettingNUMBER
9ENTERED_CREntered creditNUMBER
10ACCOUNTED_DRDebit in the ledger currency — SUM(DR) − SUM(CR) at your grain for net activityNUMBER
11ACCOUNTED_CRCredit in the ledger currencyNUMBER
12DESCRIPTIONLine descriptionVARCHAR2
13GL_SL_LINK_IDThe subledger-accounting drill linkNUMBER
14GL_SL_LINK_TABLEWhich subledger table the drill link resolves againstVARCHAR2
15TAX_LINE_FLAGMarks tax linesVARCHAR2

Field provenance: hand-curated. 2 key fields.

Boilerplate SQL

Starting point for reading GL_JE_LINESon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.

Query parameters
-- ============================================================
-- Table  : GL_JE_LINES — Journal lines — the atomic debit/credit rows against account combinations; the source of trial-balance and account-activity analytics
-- Purpose: Column-selected read of GL_JE_LINES — auto-generated from field metadata
-- Grain  : One row per JE_HEADER_ID + JE_LINE_NUM
-- Caution: Meaningless unfiltered — constrain LEDGER_ID, PERIOD_NAME, posted status, and the header's actuals flag, or budgets, encumbrances, unposted work, and secondary ledgers inflate every total; amounts are DR/CR column pairs, never signed
-- Notes  : Auto-generated skeleton for Oracle EBS R12 data landed in your lakehouse. Dates are real DATE/TIMESTAMP columns — no conversion needed. WHO audit columns omitted (see the quirks guide); the optional LAST_UPDATE_DATE watermark filter supports incremental extracts.
-- ============================================================
SELECT
  t.JE_HEADER_ID AS "The journal — key together with the line number; no surrogate exists",
  t.JE_LINE_NUM AS "Line number within the journal — part of the key",
  t.LEDGER_ID AS "The ledger, denormalized onto every line — always filter it",
  t.CODE_COMBINATION_ID AS "The account combination the line hits",
  t.PERIOD_NAME AS "The accounting period — always filter it",
  t.EFFECTIVE_DATE AS "The line's effective date — the primary analysis date",
  t.STATUS AS "U unposted, P posted",
  t.ENTERED_DR AS "Entered debit — one side per line; use NVL when netting",
  t.ENTERED_CR AS "Entered credit",
  t.ACCOUNTED_DR AS "Debit in the ledger currency — SUM(DR) − SUM(CR) at your grain for net activity",
  t.ACCOUNTED_CR AS "Credit in the ledger currency",
  t.DESCRIPTION AS "Line description",
  t.GL_SL_LINK_ID AS "The subledger-accounting drill link",
  t.GL_SL_LINK_TABLE AS "Which subledger table the drill link resolves against",
  t.TAX_LINE_FLAG AS "Marks tax lines"
FROM <catalog>.<schema>.GL_JE_LINES t
WHERE
  1 = 1  -- no partition column on this table; the filters below are optional
  -- AND t.JE_HEADER_ID = <JE_HEADER_ID>
  -- AND t.JE_LINE_NUM = <JE_LINE_NUM>
  -- AND t.EFFECTIVE_DATE >= DATE '<DATE_FROM>'
  -- AND t.EFFECTIVE_DATE <= DATE '<DATE_TO>'
  -- AND t.LAST_UPDATE_DATE >= TIMESTAMP '<watermark>'  -- WHO watermark, bulk-stamped by batch jobs; see quirks guide #who-columns
ORDER BY t.JE_HEADER_ID;

7 parameters not filled: <catalog>, <schema>, <JE_HEADER_ID>, <JE_LINE_NUM>, <DATE_FROM>, <DATE_TO>, <watermark>

Relationships

1-hop neighbors — click a table to navigate there. FND lookup decode and translation edges are highlighted; they’re the joins newcomers most often get wrong.

Join details

  • GL_JE_HEADERSGL_JE_LINESheader line · 1:N
    ON GL_JE_HEADERS.JE_HEADER_ID = GL_JE_LINES.JE_HEADER_ID
  • GL_JE_LINESGL_CODE_COMBINATIONSforeign key · N:1
    ON GL_JE_LINES.CODE_COMBINATION_ID = GL_CODE_COMBINATIONS.CODE_COMBINATION_ID

Browse more Financialstables →

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 and Oracle E-Business Suite are registered trademarks of Oracle and/or its affiliates.