GL_JE_HEADERS
Schema: GLtransactionJournal headers — one row per journal within a batch, carrying ledger, source, category, period, posting status, and control totals; where every subledger's accounting lands
Ledger-scoped, not operating-unit striped — LEDGER_ID is the partition that matters. STATUS 'U'/'P' (unposted/posted) per the data dictionary; other single-character values are error states. ACTUAL_FLAG separates actuals from budgets and encumbrances — filter 'A' for actuals.
What the badges mean
- master
- Data class: what the table holds — master data, transaction documents, control/configuration, interface/staging, or an APPS-schema view.
Header & line
GL_JE_HEADERS is the header for its lines in GL_JE_LINES.
Fields
16 fields · 1 key
| # | Field | Description | Type | Flags |
|---|---|---|---|---|
| 1 | JE_HEADER_ID | Surrogate key of the journal | NUMBER | Key |
| 2 | LEDGER_ID | The ledger — the partition that matters here (no operating-unit striping) | NUMBER | |
| 3 | JE_BATCH_ID | The journal batch (batch table not cataloged) | NUMBER | |
| 4 | NAME | Journal name — unique within the batch | VARCHAR2 | |
| 5 | JE_SOURCE | Where the journal came from — the subledger source name | VARCHAR2 | |
| 6 | JE_CATEGORY | The journal category | VARCHAR2 | |
| 7 | PERIOD_NAME | The accounting period | VARCHAR2 | |
| 8 | STATUS | U unposted, P posted (per the data dictionary); other single characters are error states | VARCHAR2 | |
| 9 | ACTUAL_FLAG | Actuals vs budget vs encumbrance — filter 'A' for actuals | VARCHAR2 | |
| 10 | CURRENCY_CODE | Journal currency | VARCHAR2 | |
| 11 | DEFAULT_EFFECTIVE_DATE | The journal's effective date — the primary analysis date | DATE | Filter date |
| 12 | POSTED_DATE | When the journal posted | DATE | |
| 13 | ACCRUAL_REV_FLAG | Whether the journal auto-reverses | VARCHAR2 | |
| 14 | REVERSED_JE_HEADER_ID | The reversing journal, once reversed | NUMBER | |
| 15 | RUNNING_TOTAL_DR | Control total of entered debits | NUMBER | |
| 16 | RUNNING_TOTAL_CR | Control total of entered credits | NUMBER |
Field provenance: hand-curated. 1 key field.
Boilerplate SQL
Starting point for reading GL_JE_HEADERSon 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.
-- ============================================================
-- Table : GL_JE_HEADERS — Journal headers — one row per journal within a batch, carrying ledger, source, category, period, posting status, and control totals; where every subledger's accounting lands
-- Purpose: Column-selected read of GL_JE_HEADERS — auto-generated from field metadata
-- Grain : One row per JE_HEADER_ID
-- 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 "Surrogate key of the journal",
t.LEDGER_ID AS "The ledger — the partition that matters here (no operating-unit striping)",
t.JE_BATCH_ID AS "The journal batch (batch table not cataloged)",
t.NAME AS "Journal name — unique within the batch",
t.JE_SOURCE AS "Where the journal came from — the subledger source name",
t.JE_CATEGORY AS "The journal category",
t.PERIOD_NAME AS "The accounting period",
t.STATUS AS "U unposted, P posted (per the data dictionary); other single characters are error states",
t.ACTUAL_FLAG AS "Actuals vs budget vs encumbrance — filter 'A' for actuals",
t.CURRENCY_CODE AS "Journal currency",
t.DEFAULT_EFFECTIVE_DATE AS "The journal's effective date — the primary analysis date",
t.POSTED_DATE AS "When the journal posted",
t.ACCRUAL_REV_FLAG AS "Whether the journal auto-reverses",
t.REVERSED_JE_HEADER_ID AS "The reversing journal, once reversed",
t.RUNNING_TOTAL_DR AS "Control total of entered debits",
t.RUNNING_TOTAL_CR AS "Control total of entered credits"
FROM <catalog>.<schema>.GL_JE_HEADERS 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.DEFAULT_EFFECTIVE_DATE >= DATE '<DATE_FROM>'
-- AND t.DEFAULT_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;6 parameters not filled: <catalog>, <schema>, <JE_HEADER_ID>, <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_HEADERS.LEDGER_ID = GL_LEDGERS.LEDGER_ID