Search Results xtr_journals




Overview

The XTR_JOURNALS table is a core data object within the Oracle E-Business Suite (EBS) Treasury (XTR) module. It serves as the primary repository for detailed journal entry information generated by treasury transactions. Its fundamental role is to store the accounting entries that are ultimately transferred to the General Ledger (GL), ensuring financial integrity and auditability for complex treasury operations such as foreign exchange, money market deals, and derivatives. The table's existence is critical for the reconciliation between subledger activity in Treasury and the corporate books of record maintained in GL.

Key Information Stored

The table's structure is designed to capture the complete accounting details for each journal line. Based on the provided metadata and standard implementation patterns, key columns include a unique identifier for the journal entry, a foreign key (BATCH_ID) linking the entry to its parent batch in the XTR_BATCHES table for processing control, and the accounting date. Crucially, it stores the SET_OF_BOOKS_ID to identify the ledger and the CODE_COMBINATION_ID to specify the exact accounting flexfield combination for the debit or credit. Other typical columns would store the monetary amount, currency, a description of the entry, and indicators for the entry's status (e.g., posted, unposted, error).

Common Use Cases and Queries

Primary use cases involve troubleshooting, audit reporting, and reconciliation. Treasury accountants and system administrators query this table to investigate discrepancies between XTR and GL, verify that transactions have generated correct accounting, and extract detailed journal data for period-end close. A common query pattern joins to related tables to produce a human-readable audit trail.

  • Sample Query for Journal Details:
    SELECT xj.journal_id, xj.accounting_date, xj.amount,
    gcc.concatenated_segments, gl.name ledger_name
    FROM xtr_journals xj,
    gl_code_combinations gcc,
    gl_ledgers gl
    WHERE xj.code_combination_id = gcc.code_combination_id
    AND xj.set_of_books_id = gl.ledger_id
    AND xj.batch_id = <batch_number>;
  • Reconciliation Report: Comparing the sum of journal amounts in XTR_JOURNALS for a given period and ledger against the imported journal lines in GL_JE_BATCHES/GL_JE_LINES.

Related Objects

The XTR_JOURNALS table is centrally connected to several key EBS objects, as indicated by its foreign keys. Its most critical relationship is with GL_CODE_COMBINATIONS, which provides the valid accounting flexfield structure. It also links to GL_SETS_OF_BOOKS_11I (a legacy view for the ledger, superseded by GL_LEDGERS in R12) to define the legal entity and accounting calendar. The parent-child relationship with XTR_BATCHES manages the grouping and submission of journals to GL. This table is also a likely source for key Treasury reports and may be referenced by various XTR form interfaces and APIs responsible for journal creation and posting.