GL_JE_LINES
Product: GLtransactionGeneral ledger journal lines — the debit/credit grain: one row per line with the account combination, entered and accounted amounts, effective date, and the drill-back link to subledger accounting
Amounts come in pairs — ENTERED_DR/CR in the journal currency, ACCOUNTED_DR/CR in ledger currency; pick one pair consistently and treat NULLs as zero
The key is JE_HEADER_ID + JE_LINE_NUM, and LEDGER_ID repeats on the lines (documented FK) — a convenient stripe for ledger-scoped extracts. GL_SL_LINK_ID + GL_SL_LINK_TABLE drill back to subledger accounting. Journals arriving from subledgers are summarized per the source's transfer options — line grain is not necessarily document grain.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or a documented view.
Header & line
GL_JE_LINES lines join back to their header GL_JE_HEADERS — and the org column — so a line never fans out.
Extract access
The delivered surfaces that reach this table — the BICC extract data store (PVO) for bulk extraction and the OTBI subject areas for real-time queries. There is no SQL path to the SaaS database.
- FscmTopModelAM.FinExtractAM.GlBiccExtractAM.JournalLineExtractPVOOTBI: General Ledger - Journals Real Time
Journal Line data store — composite key JeHeaderId + JeLineNum, mirroring the table's composite PK.
Oracle data-store documentation →
Fields
16 fields · 2 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | JE_HEADER_ID | The journal — half of the composite key | NUMBER | Key |
| 2 | JE_LINE_NUM | Line number — the other half of the composite key | NUMBER | Key |
| 3 | LEDGER_ID | The ledger, repeated on the lines — a convenient stripe for ledger-scoped extracts | NUMBER | |
| 4 | CODE_COMBINATION_ID | The account combination the line posts to | NUMBER | |
| 5 | PERIOD_NAME | Accounting period | VARCHAR2 | |
| 6 | EFFECTIVE_DATE | Line effective date | DATE | Filter date |
| 7 | STATUS | U unposted, P posted | VARCHAR2 | |
| 8 | ENTERED_DR | Debit in the journal's entered currency — NULL means zero | NUMBER | |
| 9 | ENTERED_CR | Credit in entered currency | NUMBER | |
| 10 | ACCOUNTED_DR | Debit in ledger currency — the pair balance reporting should sum | NUMBER | |
| 11 | ACCOUNTED_CR | Credit in ledger currency | NUMBER | |
| 12 | CURRENCY_CODE | Entered currency of the line | VARCHAR2 | |
| 13 | DESCRIPTION | Line description | VARCHAR2 | |
| 14 | GL_SL_LINK_ID | Drill-back link to subledger accounting | NUMBER | |
| 15 | GL_SL_LINK_TABLE | Which subledger link table the drill-back goes through | VARCHAR2 | |
| 16 | STAT_AMOUNT | Statistical amount on the line | NUMBER |
Field provenance: hand-curated. 2 key fields.
Boilerplate SQL
Starting point for reading the BICC-landed copy of GL_JE_LINESon Databricks — real DATE columns need no conversion, and the org anchor and the LAST_UPDATE_DATE watermark (the column incremental BICC extracts key on) are already in place. Set your Unity Catalog location, schema, and org values below; they’re substituted into the SQL and the copy button.
-- ============================================================
-- Table : GL_JE_LINES — General ledger journal lines — the debit/credit grain: one row per line with the account combination, entered and accounted amounts, effective date, and the drill-back link to subledger accounting
-- Purpose: Column-selected read of GL_JE_LINES — auto-generated from field metadata
-- Grain : One row per JE_HEADER_ID + JE_LINE_NUM
-- Caution: Amounts come in pairs — ENTERED_DR/CR in the journal currency, ACCOUNTED_DR/CR in ledger currency; pick one pair consistently and treat NULLs as zero
-- Notes : Auto-generated skeleton for Oracle Fusion Cloud data landed in your lakehouse by a BICC extract — there is no SQL path to the SaaS database. Column names follow Oracle's table documentation — if your landed data still carries PVO attribute headers, map names first; see quirks #pvo-drift. 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 — half of the composite key",
t.JE_LINE_NUM AS "Line number — the other half of the composite key",
t.LEDGER_ID AS "The ledger, repeated on the lines — a convenient stripe for ledger-scoped extracts",
t.CODE_COMBINATION_ID AS "The account combination the line posts to",
t.PERIOD_NAME AS "Accounting period",
t.EFFECTIVE_DATE AS "Line effective date",
t.STATUS AS "U unposted, P posted",
t.ENTERED_DR AS "Debit in the journal's entered currency — NULL means zero",
t.ENTERED_CR AS "Credit in entered currency",
t.ACCOUNTED_DR AS "Debit in ledger currency — the pair balance reporting should sum",
t.ACCOUNTED_CR AS "Credit in ledger currency",
t.CURRENCY_CODE AS "Entered currency of the line",
t.DESCRIPTION AS "Line description",
t.GL_SL_LINK_ID AS "Drill-back link to subledger accounting",
t.GL_SL_LINK_TABLE AS "Which subledger link table the drill-back goes through",
t.STAT_AMOUNT AS "Statistical amount on the line"
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>' -- the column incremental BICC extracts key on
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
ON GL_JE_HEADERS.JE_HEADER_ID = GL_JE_LINES.JE_HEADER_IDON GL_JE_LINES.LEDGER_ID = GL_LEDGERS.LEDGER_IDON GL_JE_LINES.CODE_COMBINATION_ID = GL_CODE_COMBINATIONS.CODE_COMBINATION_ID