Search Results xla_accounting_engine_pkg
Overview
The APPS.XLA_ACCOUNTING_ENGINE_PKG package body is the core runtime component of the Oracle E-Business Suite Subledger Accounting (SLA) engine. It is responsible for transforming raw subledger transactions captured as accounting events into balanced, auditable journal entries that conform to the accounting method and ledger configuration defined for a given application. In Oracle EBS 12.1.1 and 12.2.2, this package orchestrates the complete create-accounting cycle: it evaluates accounting method rules against event data, derives journal line definitions, generates distributions, constructs journal entry headers and lines, and persists the results in the XLA_AE_HEADERS and XLA_AE_LINES tables.
The package operates within the APPS schema and is classified as an OTHER API. It is a foundational object, referenced by 48 other packages, and it serves as the execution layer that every SLA-enabled subledger (Payables, Receivables, Assets, Cost Management, and others) depends upon when creating accounting.
Key Procedures and Functions
The documented interface exposes three entry points:
- ACCOUNTINGENGINE — The principal driver of the accounting creation process. It accepts events and associated data, applies the applicable accounting method and rule definitions, and produces journal entry headers and lines through the SLA data model. This is the procedure invoked by subledger accounting programs and by the Create Accounting concurrent program.
- CACHEEXTRACTOBJECT — Populates the accounting cache with extracted subledger object data. This supports performance by consolidating transaction attributes needed for rule evaluation and journal line derivation into an in-memory or temporary cache structure via XLA_ACCOUNTING_CACHE_PKG.
- CACHEEXTRACTERRORS — Extracts and surfaces errors encountered during the cache extraction and accounting process, integrating with XLA_ACCOUNTING_ERR_PKG and XLA_EXCEPTIONS_PKG so that failures are recorded and reported to the user.
Tables Accessed
The package reads and writes a defined set of SLA and General Ledger tables. Journal entry persistence targets include XLA_AE_HEADERS, XLA_AE_HEADERS_S, XLA_AE_LINES, and their global temporary staging counterparts XLA_AE_HEADERS_GT, XLA_AE_LINES_GT, and XLA_EVENTS_GT. Rule and method configuration is read from XLA_ACCTG_METHOD_RULES, XLA_ACCTG_METHODS_B, XLA_AAD_LINE_DEFN_ASSGNS, and XLA_EVENT_TYPES_B. Subledger and distribution linkage data is obtained from XLA_SUBLEDGERS, XLA_PROD_ACCT_HEADERS, XLA_DISTRIBUTION_LINKS, and XLA_LEDGER_OPTIONS. Ledger and period context is resolved through GL_LEDGERS, GL_LEDGER_RELATIONSHIPS, and GL_PERIOD_STATUSES. The package also references FND_LOG and FND_PROFILE for logging and profile option evaluation.
Usage Notes
XLA_ACCOUNTING_ENGINE_PKG is not intended for direct invocation by end users or casual custom code. It is typically triggered through the Create Accounting concurrent program and related SLA programs, or indirectly by subledger accounting APIs that submit events to the engine. Custom extensions should normally use documented SLA public APIs and hooks rather than calling ACCOUNTINGENGINE directly, since the internal control flow depends on properly prepared global temporary tables and cache state. When diagnosing accounting failures, DBAs and developers review the exceptions and errors captured through CACHEEXTRACTERRORS and the XLA exception tables. Because it is referenced by 48 packages, changes to this body can affect every subledger; it should be treated as a protected, Oracle-owned object.
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_ENGINE_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ACCOUNTING_ENGINE_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_ACCOUNTING_ENGINE_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_ACCOUNTING_ENGINE_PKG, status:VALID,
-
PACKAGE: APPS.XLA_ACCOUNTING_ENGINE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_ACCOUNTING_ENGINE_PKG, status:VALID,
-
PACKAGE: APPS.XLA_PROFILES_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_PROFILES_PKG, status:VALID,
-
PACKAGE: APPS.XLA_ACCOUNTING_ENGINE_PKG
12.1.1
-
PACKAGE: APPS.XLA_ACCOUNTING_ENGINE_PKG
12.2.2
-
SYNONYM: APPS.XLA_AE_LINES_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_LINES_GT, status:VALID,
-
PACKAGE: APPS.XLA_ACCOUNTING_ENGINE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_ACCOUNTING_ENGINE_PKG, status:VALID,
-
PACKAGE: APPS.XLA_AE_JOURNAL_ENTRY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_AE_JOURNAL_ENTRY_PKG, status:VALID,
-
SYNONYM: APPS.XLA_LEDGER_OPTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_LEDGER_OPTIONS, status:VALID,
-
PACKAGE: APPS.XLA_AE_JOURNAL_ENTRY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_AE_JOURNAL_ENTRY_PKG, status:VALID,
-
SYNONYM: APPS.XLA_ACCTG_METHODS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCTG_METHODS_B, status:VALID,
-
PACKAGE: APPS.XLA_AE_CODE_COMBINATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_AE_CODE_COMBINATION_PKG, status:VALID,
-
PACKAGE: APPS.XLA_AE_CODE_COMBINATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_AE_CODE_COMBINATION_PKG, status:VALID,
-
SYNONYM: APPS.XLA_LEDGER_OPTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_LEDGER_OPTIONS, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000016_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000016_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_AE_JOURNAL_ENTRY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_AE_JOURNAL_ENTRY_PKG, status:VALID,
-
PACKAGE: APPS.XLA_JE_VALIDATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_JE_VALIDATION_PKG, status:VALID,
-
SYNONYM: APPS.XLA_ACCTG_METHOD_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCTG_METHOD_RULES, status:VALID,
-
PACKAGE BODY: APPS.XLA_00140_AAD_S_000002_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00140_AAD_S_000002_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_09000_AAD_S_000015_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_09000_AAD_S_000015_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00540_AAD_S_000014_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00540_AAD_S_000014_PKG, status:VALID,
-
PACKAGE: APPS.XLA_JE_VALIDATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:XLA_JE_VALIDATION_PKG, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS_GT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS_GT, status:VALID,
-
SYNONYM: APPS.XLA_AE_LINES_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_LINES_GT, status:VALID,
-
PACKAGE BODY: APPS.XLA_00555_AAD_S_000001_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00555_AAD_S_000001_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00200_AAD_S_000006_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00200_AAD_S_000006_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00707_AAD_S_000005_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00707_AAD_S_000005_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000004_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000004_PKG, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS_S, status:VALID,
-
PACKAGE BODY: APPS.XLA_00201_AAD_S_000005_BC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00201_AAD_S_000005_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00707_AAD_S_000020_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00707_AAD_S_000020_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00200_AAD_S_000010_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00200_AAD_S_000010_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00707_AAD_S_000002_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00707_AAD_S_000002_PKG, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS_S, status:VALID,
-
SYNONYM: APPS.XLA_ACCTG_METHOD_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCTG_METHOD_RULES, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS_GT, status:VALID,
-
PACKAGE BODY: APPS.XLA_00222_AAD_S_000002_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00222_AAD_S_000002_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00206_AAD_S_000004_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00206_AAD_S_000004_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00206_AAD_S_000004_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00206_AAD_S_000004_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00206_AAD_S_000004_BC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00206_AAD_S_000004_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00206_AAD_S_000004_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00206_AAD_S_000004_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000004_BC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000004_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00260_AAD_S_000001_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00260_AAD_S_000001_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000016_BC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000016_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00275_AAD_S_000004_BC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00275_AAD_S_000004_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00260_AAD_S_000001_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00260_AAD_S_000001_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00206_AAD_S_000003_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00206_AAD_S_000003_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_08407_AAD_S_000013_BC_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_08407_AAD_S_000013_BC_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_00206_AAD_S_000003_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_00206_AAD_S_000003_PKG, status:VALID,