Search Results xla_events
Overview
The XLA_EVENTS table is a core data structure within the Oracle E-Business Suite Subledger Accounting (XLA) module. It serves as the primary repository for recording all transactional events that are candidates for accounting. An event represents a business occurrence, such as creating an invoice, making a payment, or performing a depreciation run, which triggers the creation of accounting entries. The table's definition as a type, specifically XLA_ARRAY_EVENT_TYPE, indicates it is designed for high-volume, array-based processing, which is critical for the performance of the Subledger Accounting engine. Its role is fundamental: it captures the initial business context required for the accounting engine to determine applicable accounting rules and subsequently generate journal entries in the XLA_AE_HEADERS and XLA_AE_LINES tables.
Key Information Stored
While the provided metadata is concise, the table's primary purpose dictates its essential columns. The most critical field is the EVENT_ID, which is the table's primary key (XLA_EVENTS_PK). This unique identifier links the event to all downstream accounting objects. Other standard columns, inferred from the module's functionality, typically include:
- APPLICATION_ID: Identifies the source subledger application (e.g., Payables, Receivables, Assets).
- ENTITY_ID: References the specific transaction entity (e.g., a particular invoice header) from the source module.
- EVENT_TYPE_CODE: Classifies the business action (e.g., 'INVOICE VALIDATED', 'PAYMENT CREATED').
- EVENT_DATE: The date the business event occurred.
- PROCESS_STATUS_CODE: Tracks the accounting lifecycle of the event (e.g., 'U' for Unprocessed, 'P' for Processed).
- TRANSACTION_DATE: The date of the source transaction.
This structure allows SLA to correlate a business transaction from its source module with its resulting accounting entries.
Common Use Cases and Queries
A primary use case is troubleshooting accounting generation failures or investigating the flow of transactions through the SLA engine. For instance, to identify events for a specific invoice in Payables (APPLICATION_ID = 200) that have not yet been accounted for, a consultant might run:
SELECT event_id, event_type_code, event_date, process_status_code
FROM xla_events
WHERE application_id = 200
AND entity_id = <invoice_id>
AND process_status_code = 'U';
Another common scenario is analyzing the accounting timeline for a transaction. A join to the accounting headers table provides a complete picture:
SELECT e.event_id, e.event_type_code, e.event_date, h.ae_header_id, h.accounting_date
FROM xla_events e, xla_ae_headers h
WHERE e.event_id = h.event_id
AND e.entity_id = <entity_id>
ORDER BY e.event_date;
These queries are essential for audits, period-end reconciliations, and resolving issues where journal entries are missing or incorrect.
Related Objects
The XLA_EVENTS table sits at the center of the Subledger Accounting schema. Its most direct relationships are with tables that consume the EVENT_ID.
- XLA_AE_HEADERS: Stores created accounting journal headers, linked via EVENT_ID.
- XLA_TRANSACTION_ENTITIES: Provides higher-level entity information for the event.
- XLA_EVENT_CLASSES: The EVENT_TYPE_CODE in XLA_EVENTS typically relates to an event class, which defines accounting rules.
- Source Module Transaction Tables: The ENTITY_ID and APPLICATION_ID columns link back to the original transaction tables (e.g., AP_INVOICES_ALL, RA_CUSTOMER_TRX_ALL).
- Public APIs: The standard method for creating events is via the XLA_EVENTS_PUB_PKG package, not by direct DML into this table.
-
Table: XLA_EVENTS
12.2.2
owner:XLA, object_type:TABLE, fnd_design_data:XLA.XLA_EVENTS, object_name:XLA_EVENTS, status:VALID, product: XLA - Subledger Accounting , description: The XLA_EVENTS table record all information related to a specific event. This table is created as a type XLA_ARRAY_EVENT_TYPE. , implementation_dba_data: XLA.XLA_EVENTS ,
-
Table: XLA_EVENTS
12.1.1
owner:XLA, object_type:TABLE, fnd_design_data:XLA.XLA_EVENTS, object_name:XLA_EVENTS, status:VALID, product: XLA - Subledger Accounting , description: The XLA_EVENTS table record all information related to a specific event. This table is created as a type XLA_ARRAY_EVENT_TYPE. , implementation_dba_data: XLA.XLA_EVENTS ,
-
APPS.XLA_JOURNAL_ENTRIES_PUB_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.FV_SLA_AR_PROCESSING_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.AP_ACCOUNTING_PAY_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.PA_PURGE_VALIDATE_COSTING dependencies on XLA_EVENTS
12.2.2
-
APPS.AR_AUTOREM_API dependencies on XLA_EVENTS
12.2.2
-
APPS.AP_TURNOVER_RPT_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.XLA_JOURNAL_ENTRIES_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.PN_XLA_EVENT_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.JG_ZZ_COMMON_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.PA_SWEEPER dependencies on XLA_EVENTS
12.2.2
-
APPS.PAY_SLA_UPDATE_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.OKL_ACCOUNT_DIST_PVT dependencies on XLA_EVENTS
12.1.1
-
APPS.PA_SWEEPER dependencies on XLA_EVENTS
12.1.1
-
APPS.FA_SLA_EVENTS_UPG_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.FV_IPAC dependencies on XLA_EVENTS
12.1.1
-
APPS.ARP_ACCT_EVENT_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.LNS_XLA_EVENTS dependencies on XLA_EVENTS
12.1.1
-
APPS.AP_PURGE_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.OKL_SLA_PROCESSING_PVT dependencies on XLA_EVENTS
12.1.1
-
APPS.PA_FUNDS_CONTROL_UTILS dependencies on XLA_EVENTS
12.1.1
-
APPS.PA_XLA_UPGRADE dependencies on XLA_EVENTS
12.1.1
-
APPS.AP_INVOICES_UTILITY_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.XLA_JOURNAL_ENTRIES_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.OKL_REPORT_GENERATOR_PVT dependencies on XLA_EVENTS
12.1.1
-
APPS.CST_ACCRUAL_LOAD dependencies on XLA_EVENTS
12.1.1
-
APPS.XLA_THIRD_PARTY_MERGE dependencies on XLA_EVENTS
12.1.1
-
APPS.XLA_EVENTS_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.PAY_SLA_UPDATE_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.XLA_AE_LINES_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.FA_XLA_EXTRACT_UTIL_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.XLA_JOURNAL_ENTRIES_PUB_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.FA_PROCESS_GROUPS_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.PA_PURGE_VALIDATE_COSTING dependencies on XLA_EVENTS
12.1.1
-
APPS.ARP_PROCESS_HEADER dependencies on XLA_EVENTS
12.1.1
-
APPS.AP_BAL_PKG dependencies on XLA_EVENTS
12.1.1
-
APPS.FII_FA_EXP_B_C dependencies on XLA_EVENTS
12.1.1
-
APPS.OKL_SLA_PROCESSING_PVT dependencies on XLA_EVENTS
12.2.2
-
APPS.FA_DEPRN_ROLLBACK_PVT dependencies on XLA_EVENTS
12.2.2
-
APPS.FA_XLA_EXTRACT_UTIL_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.PSA_AP_BC_PVT dependencies on XLA_EVENTS
12.2.2
-
APPS.PO_HEADERS_SV1 dependencies on XLA_EVENTS
12.2.2
-
APPS.LNS_DISTRIBUTIONS_PUB dependencies on XLA_EVENTS
12.2.2
-
APPS.XLA_BALANCES_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.FV_IPAC dependencies on XLA_EVENTS
12.2.2
-
APPS.JL_BR_AR_BANK_ACCT_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.LNS_XLA_EVENTS dependencies on XLA_EVENTS
12.2.2
-
APPS.AP_INVOICE_DISTRIBUTIONS_PKG dependencies on XLA_EVENTS
12.2.2
-
APPS.AP_ACCTG_PAY_DIST_PKG dependencies on XLA_EVENTS
12.2.2