Search Results ae_line_reference
Overview
AP_AEL_SL_V is a reporting view in the Oracle E-Business Suite Payables module (AP) that consolidates Subledger Accounting (SLA) event and journal line data for Payables transactions. The "AEL" and "AEH" tokens in the name refer to the Accounting Event Lines and Accounting Event Headers underlying tables, while the "_SL_" prefix indicates the Subledger accounting context and the trailing "_V" confirms it is a view rather than a stored table. In Oracle EBS 12.1.1 and 12.2.2, this view functions as a unified presentation layer over the accounting event model, exposing accounting lines together with their transaction context so that reporting tools, reconciliations, and drill-down inquiries can retrieve debits, credits, currency conversion details, third-party information, and posting status from a single source.
The view is documented in ETRM as "Not implemented in this database," meaning it exists only as a definition (metadata) rather than installed data. It is widely used by Oracle's own Payables pages and by custom reports built on top of the SLA schema.
Underlying Base Objects
The view is defined as a UNION of at least two component views. The visible portion of the view text shows the final SELECT of the union drawing from AP_AEL_SL_INV_V, which supplies the invoice-related accounting lines. The remaining union members (typically AP_AEL_SL_PAY_V for payments and AP_AEL_SL_ADJ_V for adjustments in standard Oracle definitions) inherit the same column list. These component views in turn resolve to the Subledger Accounting tables XLA_AE_HEADERS and XLA_AE_LINES, joined to Payables transaction tables such as AP_INVOICES_ALL, AP_PAYMENT_HISTORY_ALL, and AP_ADJUSTMENTS.
The documented metadata notes "Referenced base objects: none documented," which reflects the fact that the dependency is mediated through the intermediate component views rather than being declared directly on AP_AEL_SL_V itself.
Key Columns
- ACCOUNTED_DR / ACCOUNTED_CR — accounted debit and credit amounts in the ledger currency, the core monetary values for reporting.
- ENTERED_DR / ENTERED_CR — amounts in the transaction (entered) currency.
- TRX_TYPE_C / TRX_TYPE_NAME / TRX_NUMBER_C / TRX_NUMBER_DISPLAYED — the transaction type code (the column the user searched for, "trx_type_c") and the displayed invoice or payment number. Note that the view reserves a numeric variant with
-1 TRX_NUMBER_N, indicating the primary reporting column is character based. - TRX_CLASS / TRX_CLASS_NAME — identifies whether the line relates to an invoice, payment, adjustment, or other transaction class.
- ACCOUNTING_DATE, GL_TRANSFER_STATUS, GL_TRANSFER_STATUS_NAME — the accounting date and the status indicating whether the line has been transferred to General Ledger.
- THIRD_PARTY_* columns — supplier name, number, and sub-entity details for reconciliation against supplier balances.
- AEH_ID / AEL_ID / ACCOUNTING_EVENT_NUMBER — the surrogate keys linking back to the accounting event headers and lines.
- Placeholder columns — null-typed columns such as BANK_ACCOUNT_NAME, PAYMENT_CLEARED_DATE, and APPLIED_TO_TRX_* preserve a uniform shape across all union members even where a given transaction class does not populate them.
Common Use Cases and Queries
Typical scenarios include reconciling Payables to the General Ledger, auditing accounting entries by transaction type, and building custom reports that surface invoice and payment accounting lines side by side.
Retrieve all invoice accounting lines for a transaction type:
SELECT h.trx_number_displayed, h.trx_type_c, h.trx_type_name,
h.accounting_date, h.accounted_dr, h.accounted_cr,
h.gl_transfer_status_name
FROM ap_ael_sl_v h
WHERE h.trx_type_c = 'STANDARD'
AND h.accounting_date BETWEEN :p_from AND :p_to;
Summarize activity by transaction type and class for a period:
SELECT trx_class_name, trx_type_name,
SUM(accounted_dr) dr_total, SUM(accounted_cr) cr_total
FROM ap_ael_sl_v
WHERE set_of_books_id = :p_sob
AND accounting_date BETWEEN :p_from AND :p_to
GROUP BY trx_class_name, trx_type_name;
Link accounting lines back to the source event for drill-down:
SELECT aeh_id, ael_id, accounting_event_number,
accounting_event_type_name, acct_line_type_name
FROM ap_ael_sl_v
WHERE trx_number_c = :p_invoice_num;
Because the view is not physically materialized, queries should be filtered tightly by date, ledger, and transaction class to maintain acceptable performance in both 12.1.1 and 12.2.2 environments.
-
View: AP_AEL_SL_V
12.1.1
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_SL_V
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_ENC_GL_INV_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_ENC_GL_INV_V, object_name:AP_ENC_GL_INV_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_ENC_GL_INV_V ,
-
View: AP_ENC_GL_INV_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_ENC_GL_INV_V SQLAP.AP_ENC_GL_INV_V, object_name:AP_ENC_GL_INV_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_ENC_GL_INV_V ,
-
View: AP_AEL_SL_INV_V
12.1.1
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_SL_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_INV_V
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_AEL_SL_PAY_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 ,
-
View: AP_AEL_SL_PAY_V
12.2.2
product: AP - Payables , implementation_dba_data: Not implemented in this database ,
-
View: AP_ENC_GL_PAY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_ENC_GL_PAY_V, object_name:AP_ENC_GL_PAY_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_ENC_GL_PAY_V ,