Search Results xla_temp_journal_entries




Overview

XLA_AE_HEADER_PKG is the core header-level engine package within the Oracle Subledger Accounting (XLA) architecture. Its principal business function is to construct, populate, and manage the accounting entry headers that are generated by the Subledger Accounting Program when subledger transactions are accounted. Each accounting entry header represents the uppermost level of the accounting model — the journal entry header that groups one or more accounting entry lines under a specific application, event, and accounting date. This package is the mechanism by which the accounting engine materializes headers into the XLA_AE_HEADERS table from the transient and bulk-processing structures used during the accounting run.

In the context of a search for "xla_je_lines_temp," it is significant that this package contains the historical evolution of precisely that structure. The package header history records that the temporary table originally named XLA_TEMP_JOURNAL_ENTRIES was renamed to XLA_JOURNAL_ENTRIES_TEMP (08-JAN-2003), and was subsequently renamed again to XLA_JE_LINES_TEMP on 10-MAR-2003 as part of the new bulk approach adopted by the accounting engine. Later, on 13-MAI-2003, the temporary tables were renamed once more: XLA_JE_LINES_GT became XLA_AE_LINES_GT and XLA_JE_HEADERS_GT became XLA_AE_HEADERS_GT. Understanding this lineage is essential when interpreting legacy references, seeded concurrent program logic, or obsolete descriptive flexfield documentation, because the name xla_je_lines_temp only existed during a narrow window of the 11i/early-R12 development cycle and was superseded by the _GT (global temporary) table naming convention still in use today.

Key Procedures and Functions

The package exposes nineteen documented procedures and functions, several of which are distinct in their naming convention and reflect an earlier or internal initialization style. The principal routines include:

  • INITHEADER — initializes header processing for a given accounting run or event, establishing the working context for subsequent header construction.
  • INSERTHEADERS — performs the bulk insertion of constructed headers into the accounting entry header table.
  • CREATERECOGNITIONENTRIES, GETRECOGNITIONENTRIESINFO, GETACCRUALREVDATE, and TRANSACTIONREVERSAL — collectively support revenue recognition and accrual reversal processing, including calculation of recognition dates and reversal of previously recognized entries.
  • COPYHEADERINFO, REFRESHHEADER, and CHANGE_THIRD_PARTY — maintain and propagate header-level attribute changes, including refresh of derived values and third-party relationship updates.
  • SETHEADERID, GETHEADERID, SETHDRDESCRIPTION, SETHDRACCOUNTINGSOURCE, SETJECATEGORYNAME, SETANALYTICALCRITERIA, and SETHDRACCTATTRS — provide the setter and getter layer used to populate individual header attributes such as header identifier, description, journal entry category name, analytical criteria, and header accounting attributes.
  • VALIDATEBUSINESSDATE — validates the accounting and business dates against open and valid GL periods before header creation proceeds.

This API classification is designated OTHER, indicating it is an internal engine package rather than a published public API.

Tables Accessed

The package operates against the central Subledger Accounting tables and supporting reference structures:

  • XLA_AE_HEADERS and XLA_AE_HEADERS_GT — the persistent and global temporary header tables that are the package's primary output target.
  • XLA_AE_LINES, XLA_AE_LINES_GT, and XLA_AE_LINE_ACS — the entry lines and analytical criteria assignments associated with each header.
  • XLA_DISTRIBUTION_LINKS — links accounting entries back to the subledger distribution source; note the documented rename of the base_amount column to ledger_amount.
  • XLA_EVENTS — the accounting events that trigger header generation.
  • GL_PERIOD_STATUSES and GL_TRANSACTION_DATES — General Ledger period and date validation sources used by VALIDATEBUSINESSDATE.
  • PLITBLM — the PL/SQL table-to-integer mapping utility used to track collections of identifiers during bulk processing.

Usage Notes

XLA_AE_HEADER_PKG is invoked internally by the Subledger Accounting Program and its auxiliary engine packages during accounting event processing. ETRM metadata records that it is referenced by forty-eight other packages, confirming it is a heavily depended-upon internal component of the XLA accounting pipeline rather than an application-facing API. It is not intended for direct invocation from Oracle Forms or from custom code; developers seeking to create or modify accounting entries should use the public XLA entry APIs instead. Customizations that reference the historical name xla_je_lines_temp will not resolve on 12.1.1 or 12.2.2, since that structure was renamed to the _GT convention; any legacy code must be updated to reference XLA_AE_LINES_GT and XLA_AE_HEADERS_GT.