Search Results xla_exceptions_pkg




Overview

XLA_EXCEPTIONS_PKG is a central error-handling and diagnostics utility within the Oracle Subledger Accounting (SLA) architecture. In Oracle EBS 12.1.1 and 12.2.2, Subledger Accounting processes accounting events, creates journal entries, and applies application accounting definitions. When an error, warning, or informational condition occurs during these activities, a standardized mechanism is required to record the condition, associate it with the correct accounting event or transaction, and surface a meaningful message to the end user or batch process.

XLA_EXCEPTIONS_PKG fulfills this role by providing a single, reusable entry point for raising SLA exceptions across the subledger accounting engine. It abstracts the low-level mechanics of message lookup and error capture so that calling modules — including the Create Accounting program, the Create Accounting for Events and Transactions program, and online accounting forms — do not need to duplicate exception-processing logic. The package is owned by the APPS schema and is currently VALID in the documented environment. It belongs to the OTHER API classification, indicating that it is an internal infrastructure package rather than a public, supported extension API intended for customer use.

Key Procedures and Functions

The ETRM metadata documents two procedures within the package:

  • RAISE_EXCEPTION — Records and signals an exception condition encountered during subledger accounting processing. Its purpose is to capture the nature of the failure and make it available to the calling process so that accounting can be halted or marked incomplete. It works in conjunction with the exception and message infrastructure to register the condition against the accounting context.
  • RAISE_MESSAGE — Raises a message associated with a processing condition, typically used to emit warnings or informational feedback rather than hard exceptions. This distinction allows callers to distinguish between conditions that prevent accounting from succeeding and those that merely warrant user attention.

The package internally references APP_EXCEPTION, FND_MSG_PUB, XLA_ENVIRONMENT_PKG, XLA_MESSAGES_PKG, and XLA_UTILITY_PKG, reflecting its reliance on the Oracle Forms exception stack, the standard Oracle Application Object Library message dictionary, and other SLA utility packages. No parameter lists are documented, and consumers should not assume a supported signature for direct invocation.

Tables Accessed

The documented metadata does not enumerate any tables referenced through APPS synonyms. Functionally, the package operates primarily against the exception and message framework exposed through XLA_MESSAGES_PKG and APP_EXCEPTION rather than persisting rows itself. Where accounting exceptions are ultimately retained, storage is handled by supporting SLA tables managed by adjacent packages, and this package acts as the interface layer that raises and formats those conditions.

Usage Notes

XLA_EXCEPTIONS_PKG is invoked internally by the Subledger Accounting process flow. It is referenced by 225 other database objects, underscoring its pervasive role across SLA-dependent modules and confirming that it is a foundational dependency rather than a leaf utility. Typical callers include the online accounting validation routines, the accounting program engine, and downstream SLA processing packages that translate accounting errors into user-facing diagnostics.

Because the object is classified as OTHER and is not documented as a public API, it should not be called directly from custom extensions or supported by Oracle for customer use. Customizations that generate SLA entries should rely on the officially published SLA APIs and let the accounting engine invoke this package as needed. Direct references risk breaking on patch or upgrade, and the undocumented parameter signatures make external invocation unreliable.