Search Results xla_reverse_events_pvt_pkg
Overview
XLA_REVERSE_EVENTS_PVT_PKG is a private PL/SQL package owned by the APPS schema within the Oracle E-Business Suite Subledger Accounting (XLA) architecture. Its purpose is to support the reversal of accounting events and their associated accounting entries in the subledger. When a source transaction that has already been accounted must be reversed — for example through a credit memo, a cancellation, or a manual reversal request — the subledger requires a controlled mechanism to generate the corresponding reversal accounting, to propagate that accounting to the General Ledger, and to clean up any incomplete reversal records left behind by failed processing. This package encapsulates that private logic and is not intended for direct invocation by external callers. It is classified as a private (PVT) package, meaning it exposes an internal implementation layer that is consumed by the public API package XLA_REVERSE_EVENTS_PUB_PKG. The ETRM metadata confirms the object is VALID in the shipped APPS schema and that it is referenced only by XLA_REVERSE_EVENTS_PUB_PKG and by itself.
Key Procedures and Functions
The documented package exposes two procedures or functions:
- CREATE_REVERSAL_ACCOUNTING — Creates the reversal accounting for events that are being reversed. This routine drives the creation of reversal accounting entries in the subledger, producing the accounting event records and the resulting journal entry headers and lines that offset the original accounting.
- DELETE_INCOMPLETE_REVERSAL — Removes reversal records that were left in an incomplete or partially processed state, allowing the reversal to be reattempted cleanly without leaving orphaned accounting artifacts.
No parameter lists are documented in the ETRM metadata, and none are asserted here. These procedures are invoked internally by the public reversal API rather than being called directly.
Tables Accessed
The package reads and writes a significant set of XLA and GL tables, consistent with its role in reversal accounting processing:
- XLA_EVENTS and XLA_EVENTS_GT — the accounting event header records and the global temporary staging used to identify the events under reversal.
- XLA_AE_HEADERS, XLA_AE_HEADERS_S, XLA_AE_HEADERS_GT, and XLA_AE_HEADER_ACS — the subledger journal entry headers, their sequence/standard tables, staging table, and audit columns.
- XLA_AE_LINES, XLA_AE_LINE_ACS, and XLA_AE_SEGMENT_VALUES — the journal entry lines, their audit columns, and the resolved accounting flexfield segment values.
- XLA_DISTRIBUTION_LINKS — maps accounting lines back to the source distribution lines.
- XLA_ACCOUNTING_BATCHES_S — the accounting batch that groups the created entries.
- XLA_ACCOUNTING_ERRORS — records any errors encountered while creating reversal accounting.
- GL_CODE_COMBINATIONS, GL_LEDGERS, and GL_PERIOD_STATUSES — the general ledger chart of accounts, ledger definitions, and open/closed period status used to validate that the reversal can be posted to a valid, open period.
Usage Notes
As a private package, XLA_REVERSE_EVENTS_PVT_PKG is not invoked directly by end users or by most custom code. It is called by its public counterpart, XLA_REVERSE_EVENTS_PUB_PKG, which provides the supported entry points for reversal processing. In practice, this logic is triggered through the Subledger Accounting reversal functionality exposed on subledger transaction forms, through concurrent programs such as Create Accounting when reversal processing is required, and through the standard SLA reversal workflow. The ETRM metadata lists only two references: XLA_REVERSE_EVENTS_PUB_PKG and the package itself, confirming its private, internal role. Because of the direct manipulation of XLA_AE_HEADERS, XLA_AE_LINES, and related accounting tables, custom code should avoid calling these procedures directly and instead use the public API. This guidance applies to both Oracle EBS 12.1.1 and 12.2.2, since the object is documented as VALID in the APPS schema for these releases.
-
PACKAGE: APPS.XLA_REVERSE_EVENTS_PVT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_REVERSE_EVENTS_PVT_PKG, status:VALID,
-
PACKAGE BODY: APPS.XLA_REVERSE_EVENTS_PVT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_REVERSE_EVENTS_PVT_PKG, status:VALID,
-
PACKAGE: APPS.XLA_REVERSE_EVENTS_PVT_PKG
12.2.2
-
PACKAGE BODY: APPS.XLA_REVERSE_EVENTS_PUB_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:XLA_REVERSE_EVENTS_PUB_PKG, status:VALID,
-
SYNONYM: APPS.XLA_REVERSE_EVENTS_INTERFACE
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_REVERSE_EVENTS_INTERFACE, status:VALID,
-
SYNONYM: APPS.XLA_ACCOUNTING_BATCHES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCOUNTING_BATCHES_S, status:VALID,
-
SYNONYM: APPS.XLA_ACCOUNTING_ERRORS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_ACCOUNTING_ERRORS, status:VALID,
-
SYNONYM: APPS.XLA_TRANSACTION_ENTITIES_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_TRANSACTION_ENTITIES_S, 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_AE_LINE_ACS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_LINE_ACS, status:VALID,
-
SYNONYM: APPS.XLA_AE_SEGMENT_VALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_SEGMENT_VALUES, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS_GT, status:VALID,
-
SYNONYM: APPS.XLA_LEDGER_OPTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_LEDGER_OPTIONS, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS_S, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADER_ACS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADER_ACS, status:VALID,
-
SYNONYM: APPS.XLA_EVENTS_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENTS_S, status:VALID,
-
SYNONYM: APPS.XLA_GL_SL_LINK_ID_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_GL_SL_LINK_ID_S, status:VALID,
-
SYNONYM: APPS.XLA_TRANSACTION_ENTITIES_UPG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_TRANSACTION_ENTITIES_UPG, status:VALID,
-
PACKAGE: APPS.XLA_SECURITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_SECURITY_PKG, status:VALID,
-
SYNONYM: APPS.XLA_SUBLEDGERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_SUBLEDGERS, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.XLA_AE_JOURNAL_ENTRY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_AE_JOURNAL_ENTRY_PKG, status:VALID,
-
VIEW: APPS.XLA_LEDGER_RELATIONSHIPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:XLA.XLA_LEDGER_RELATIONSHIPS_V, object_name:XLA_LEDGER_RELATIONSHIPS_V, status:VALID,
-
PACKAGE: APPS.XLA_ACCOUNTING_CACHE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_ACCOUNTING_CACHE_PKG, status:VALID,
-
SYNONYM: APPS.XLA_TRANSACTION_ENTITIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_TRANSACTION_ENTITIES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.XLA_ACCOUNTING_ERR_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_ACCOUNTING_ERR_PKG, status:VALID,
-
SYNONYM: APPS.XLA_EVENTS_GT
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENTS_GT, status:VALID,
-
SYNONYM: APPS.XLA_DISTRIBUTION_LINKS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_DISTRIBUTION_LINKS, status:VALID,
-
SYNONYM: APPS.XLA_EVENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_EVENTS, status:VALID,
-
SYNONYM: APPS.XLA_AE_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_LINES, status:VALID,
-
SYNONYM: APPS.XLA_AE_HEADERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:XLA_AE_HEADERS, status:VALID,
-
PACKAGE: APPS.XLA_ENVIRONMENT_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_ENVIRONMENT_PKG, status:VALID,
-
PACKAGE: APPS.XLA_EXCEPTIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:XLA_EXCEPTIONS_PKG, status:VALID,
-
APPS.XLA_REVERSE_EVENTS_PVT_PKG dependencies on XLA_REVERSE_EVENTS_PVT_PKG
12.2.2
-
APPS.XLA_REVERSE_EVENTS_PUB_PKG dependencies on XLA_REVERSE_EVENTS_PVT_PKG
12.2.2
-
SYNONYM: APPS.GL_CODE_COMBINATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_CODE_COMBINATIONS, status:VALID,
-
SYNONYM: APPS.GL_LEDGERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_LEDGERS, status:VALID,
-
SYNONYM: APPS.GL_PERIOD_STATUSES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_PERIOD_STATUSES, status:VALID,
-
PACKAGE BODY: APPS.XLA_REVERSE_EVENTS_PVT_PKG
12.2.2
-
PACKAGE: APPS.FND_LOG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
SYNONYM: PUBLIC.DUAL
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:DUAL, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.FND_MESSAGE
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_API
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,