Search Results sl_coa_mapping_name




Overview

XLA_AE_JOURNAL_ENTRY_PKG is a core PL/SQL package in the Oracle E-Business Suite Subledger Accounting (SLA) architecture, owned by the APPS schema. Its primary business function is to build, persist, and manage journal entry data generated by the Subledger Accounting Engine. The package transforms accounted events into the XLA_AE_HEADERS and XLA_AE_LINES structures that ultimately feed the General Ledger interface. Because SLA is the single accounting engine shared by Payables, Receivables, Assets, and other subledgers, this package sits at a critical junction between event accounting and GL posting.

As reflected in its header history, the package evolved substantially to support the bulk (array-based) processing approach introduced for the Accounting Engine, performance tuning (including FFG changes for bulk performance), and the Ledger Currency Project. It is heavily reused across the application, referenced by 56 other packages, which underscores its role as a foundational utility rather than a narrow, purpose-specific routine.

Key Procedures and Functions

ETRM documents ten procedures and functions, including:

  • GETLEDGERSINFO — Retrieves ledger information used to drive journal entry creation, populating the internal ledger cache. Modified as part of the bulk performance enhancements.
  • GETALTERNATECURRENCYLEDGER — Returns the alternate currency ledger associated with a given accounting context, supporting reporting and secondary ledger currency requirements.
  • GETTRANSLATEDEVENTINFO — Obtains translated event information, relevant where events must be converted between currencies.
  • SET_EVENT_INFO — Added during the bulk performance work to populate event-related global structures (event cache), replacing the earlier cache_event_info routine.
  • SETPRODUCTACCTDEFINITION — Retrieves product accounting definitions used to determine the accounting treatment for a transaction.
  • INSERTJOURNALENTRIES — The principal write routine, bulk-inserting journal entry headers and lines into the AE tables.
  • UPDATEJOURNALENTRYSTATUS — Updates the status of journal entries, for example marking them processed, invalid, or finalized.
  • UPDATERESULT — Persists processing outcomes back to the relevant records, including diagnostic or result tracking.
  • FREE_AE_CACHE — Releases memory held by the package's cached PL/SQL global structures (ledger, event, and accounting caches) once processing completes. This is the routine associated with the search term "free_ae_cache," and it is essential for avoiding session memory bloat in long-running accounting engine executions.

No parameter lists are documented in the ETRM metadata, so signatures are intentionally omitted here.

Tables Accessed

The package reads and writes the principal SLA accounting tables and supporting reference data. Among the documented tables referenced via APPS synonyms:

Usage Notes

This package is not typically invoked directly by end users. It is called internally by the Subledger Accounting Program and by the Create Accounting concurrent programs, and it is referenced by dozens of other SLA packages. The bulk-oriented design means callers generally execute it within array-based processing loops and must invoke FREE_AE_CACHE to release the package globals when a run completes. Custom developers extending SLA processing occasionally call these routines, but doing so should follow Oracle's supported extension patterns, since the caches and global structures are shared across the accounting engine session.