Search Results ap_accounting_events_all
Overview
The AP_ACCOUNTING_EVENTS_ALL table is a core transactional table within the Oracle E-Business Suite Payables (AP) module. It serves as the master repository for recording all accounting events generated during the procure-to-pay lifecycle. Its primary role is to provide a centralized, auditable log of every financial transaction that requires accounting entries, such as invoice validation, payment creation, and cancellation activities. This table is fundamental to the Subledger Accounting (SLA) architecture, acting as the source from which detailed accounting entries (stored in XLA tables) are generated and linked. The presence of the '_ALL' suffix indicates it is a multi-organization access enabled (MOAC) table, containing data for all operating units.
Key Information Stored
The table's structure is designed to uniquely identify and categorize each accounting event. Its primary key, ACCOUNTING_EVENT_ID, is a unique system-generated identifier for each event. While the provided ETRM metadata does not list all columns, based on its central function, the table typically stores critical attributes such as EVENT_TYPE_CODE (classifying the event, e.g., 'INVOICE VALIDATION', 'PAYMENT CREATION'), EVENT_DATE, and the identifier of the source transaction (like an invoice or payment ID). It also includes columns for the LEDGER_ID and the operating unit (ORG_ID) to maintain the multi-org context. The table essentially holds the header-level metadata for an accounting event, with the specific accounting distributions linked via foreign keys from related distribution tables.
Common Use Cases and Queries
This table is central for troubleshooting accounting issues, auditing transaction flows, and building custom reports on accounting activity. A common use case is tracing the complete accounting history of an invoice. A technical consultant might join this table to invoice distributions and payments to understand when and what types of accounting events were raised. For example, to list all accounting events for a specific invoice, one might query:
SELECT aae.event_type_code, aae.event_date, aae.accounting_event_id FROM ap_accounting_events_all aae, ap_invoice_distributions_all aid WHERE aid.invoice_id = :p_invoice_id AND aid.accounting_event_id = aae.accounting_event_id ORDER BY aae.event_date;
Another critical scenario involves reconciling subledger (AP) to general ledger (GL) by using the ACCOUNTING_EVENT_ID to join to the XLA_EVENTS and XLA_AE_HEADERS tables in the Subledger Accounting schema.
Related Objects
As documented in the provided foreign key relationships, AP_ACCOUNTING_EVENTS_ALL is a parent table to several key Payables distribution and history tables. The ACCOUNTING_EVENT_ID column is referenced by:
- AP_AE_HEADERS_ALL: Links to the SLA accounting entry headers.
- AP_INVOICE_DISTRIBUTIONS_ALL: Associates invoice distribution lines with their accounting events.
- AP_INVOICE_PAYMENTS_ALL: Associates invoice payment records with their accounting events.
- AP_PAYMENT_HISTORY_ALL: Links payment history records to their accounting events.
-
Table: AP_ACCOUNTING_EVENTS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_ACCOUNTING_EVENTS_ALL, object_name:AP_ACCOUNTING_EVENTS_ALL, status:VALID, product: AP - Payables , description: Accounting events table , implementation_dba_data: AP.AP_ACCOUNTING_EVENTS_ALL ,
-
Table: AP_ACCOUNTING_EVENTS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_ACCOUNTING_EVENTS_ALL, object_name:AP_ACCOUNTING_EVENTS_ALL, status:VALID, product: AP - Payables , description: Accounting events table , implementation_dba_data: AP.AP_ACCOUNTING_EVENTS_ALL ,
-
Table: AP_AE_HEADERS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AE_HEADERS_ALL, object_name:AP_AE_HEADERS_ALL, status:VALID, product: AP - Payables , description: Accounting entry headers table , implementation_dba_data: AP.AP_AE_HEADERS_ALL ,
-
Table: AP_PAYMENT_HISTORY_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PAYMENT_HISTORY_ALL, object_name:AP_PAYMENT_HISTORY_ALL, status:VALID, product: AP - Payables , description: Maturity and reconciliation history for payments , implementation_dba_data: AP.AP_PAYMENT_HISTORY_ALL ,
-
Table: AP_PAYMENT_HISTORY_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_PAYMENT_HISTORY_ALL, object_name:AP_PAYMENT_HISTORY_ALL, status:VALID, product: AP - Payables , description: Maturity and reconciliation history for payments , implementation_dba_data: AP.AP_PAYMENT_HISTORY_ALL ,
-
Table: AP_AE_HEADERS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AE_HEADERS_ALL, object_name:AP_AE_HEADERS_ALL, status:VALID, product: AP - Payables , description: Accounting entry headers table , implementation_dba_data: AP.AP_AE_HEADERS_ALL ,
-
Table: AP_INVOICE_PAYMENTS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICE_PAYMENTS_ALL, object_name:AP_INVOICE_PAYMENTS_ALL, status:VALID, product: AP - Payables , description: Invoice payment records , implementation_dba_data: AP.AP_INVOICE_PAYMENTS_ALL ,
-
Table: AP_INVOICE_PAYMENTS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICE_PAYMENTS_ALL, object_name:AP_INVOICE_PAYMENTS_ALL, status:VALID, product: AP - Payables , description: Invoice payment records , implementation_dba_data: AP.AP_INVOICE_PAYMENTS_ALL ,
-
Table: AP_INVOICE_DISTRIBUTIONS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_ALL, object_name:AP_INVOICE_DISTRIBUTIONS_ALL, status:VALID, product: AP - Payables , description: Invoice distribution line information , implementation_dba_data: AP.AP_INVOICE_DISTRIBUTIONS_ALL ,
-
Table: AP_INVOICE_DISTRIBUTIONS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_ALL, object_name:AP_INVOICE_DISTRIBUTIONS_ALL, status:VALID, product: AP - Payables , description: Invoice distribution line information , implementation_dba_data: AP.AP_INVOICE_DISTRIBUTIONS_ALL ,
-
View: AP_AEL_GL_INV_V
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_GL_INV_V
12.1.1
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_GL_PAY_V
12.1.1
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_GL_PAY_V
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,