Search Results ail_line_number
Overview
APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V is a reporting and integration view in Oracle E-Business Suite (validated against 12.1.1 and 12.2.2) that consolidates prepayment application accounting detail into a single, flat projection. Its principal purpose is to expose the accounting lines generated when a prepayment is applied to an invoice, including distribution, line, and rounding attributes, so that downstream processes — particularly Subledger Accounting (SLA/XLA) extraction, custom reconciliation reports, and third-party data feeds — can consume the data without navigating the normalized prepayment and invoice distribution tables directly.
The view is registered in FND Design Data as FND.AP_PREPAYAPP_EXTRACT_DETAILS_V and SQLAP.AP_PREPAYAPP_EXTRACT_DETAILS_V, confirming it ships as a seeded APPS object owned by the Payables (SQLAP) product. Because it draws from both the Payables transactional model and XLA event/GT structures, it is positioned at the boundary between transaction entry and accounting event generation, making it useful when auditing how prepayment applications flow into the accounting event model.
Underlying Base Objects
The view is defined over a set of APPS synonyms that map to the core Payables and Subledger Accounting tables. Documented referenced base objects include:
- AP_PREPAY_APP_DISTS and AP_PREPAY_HISTORY_ALL — the prepayment application distribution and history records that carry the applied amounts, distribution identifiers, and deferred accounting options.
- AP_INVOICES_ALL, AP_INVOICE_DISTRIBUTIONS_ALL, and AP_INVOICE_LINES_ALL — invoice header, distribution, and line context, supplying line numbers, line types, and account segments.
- AP_CHECKS_ALL, AP_INVOICE_PAYMENTS_ALL, and AP_PAYMENT_HISTORY_ALL — payment-side context tying applications to payment documents and history.
- AP_PAYMENT_HIST_DISTS — payment history distributions for the associated payment.
- CE_GL_ACCOUNTS_CCID — the code combination identifier source for distribution accounts.
- FINANCIALS_SYSTEM_PARAMS_ALL — system parameter and ledger context.
- GL_ENCUMBRANCE_TYPES and PO_DISTRIBUTIONS_ALL — encumbrance and purchasing distribution linkage.
- PSA_BC_XLA_PUB (package) and XLA_EVENTS_GT — Subledger Accounting event and global temporary structures that supply the EVENT_ID and accounting event linkage.
Key Columns
The column list is organized around three logical groups. Event and linkage columns — EVENT_ID, LINE_NUMBER, DISTRIBUTION_LINK_TYPE, APAD_INVOICE_ADJ_EVENT_ID — identify the accounting event and its relationship to the transaction. Prepay and distribution columns — APAD_DISTRIBUTION_IDENTIFIER, APAD_AMOUNT, APPH_PREPAY_INVOICE_ID, PREPAY_PAY_CURRENCY_CODE, PREPAY_CLEAR_CURRENCY_CODE, DEFERRED_OPTION, DEFERRED_START_DATE, DEFERRED_END_DATE, DEFERRED_NUMBER_OF_PERIODS, DEFERRED_PERIOD_TYPE, and APAD_DIST_LOOKUP_CODE — describe the applied prepayment and its deferred accounting behavior.
The AIL_ prefix columns mirror the invoice line accounting context: AIL_LINE_NUMBER, AIL_LINE_TYPE_LOOKUP_CODE, AIL_ACCOUNTING_DATE, AIL_PERIOD_NAME, AIL_AMOUNT, the account segment columns (AIL_ACCOUNT_SEGMENT, AIL_BALANCING_SEGMENT, AIL_COST_CENTER_SEGMENT, AIL_OVERLAY_DIST_CODE_CONCAT, AIL_DEFAULT_DIST_CCID), the descriptive flexfield columns AIL_ATTRIBUTE1 through AIL_ATTRIBUTE15 and AIL_GLOBAL_ATTRIBUTE1 onward with their categories, and — directly relevant to the search term — AIL_ROUNDING_AMT.
AIL_ROUNDING_AMT holds the residual rounding difference computed when the prepayment application amount is allocated across distribution lines. Rounding differences arise when a base amount cannot be divided evenly, and this column captures the adjustment posted to force the distribution to reconcile. It is typically paired with AIL_AMOUNT and APAD_AMOUNT when validating that applications balance to the payment and invoice amounts.
Common Use Cases and Queries
Typical scenarios include reconciling prepayment applications to their accounting events, extracting rounding differences for audit, and feeding external reconciliation systems. A representative query listing applied amounts alongside rounding differences:
- SELECT event_id, apad_amount, ail_amount, ail_rounding_amt, ail_line_number, prepay_pay_currency_code FROM apps.ap_prepayapp_extract_details_v WHERE event_id = :p_event_id;
- SELECT apad_distribution_identifier, apad_amount, ail_rounding_amt FROM apps.ap_prepayapp_extract_details_v WHERE NVL(ail_rounding_amt,0) <> 0 ORDER BY event_id, ail_line_number;
- SELECT apad_invoice_adj_event_id, SUM(apad_amount) applied, SUM(ail_amount) accounted, SUM(NVL(ail_rounding_amt,0)) rounding FROM apps.ap_prepayapp_extract_details_v GROUP BY apad_invoice_adj_event_id;
Because the view joins XLA event structures, queries should filter by EVENT_ID or accounting date to keep result sets bounded. Users should verify ledger and operating unit context through the system parameter-backed columns before relying on aggregations across data sets.
-
VIEW: APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DETAILS_V SQLAP.AP_PREPAYAPP_EXTRACT_DETAILS_V, object_name:AP_PREPAYAPP_EXTRACT_DETAILS_V, status:VALID,
-
VIEW: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DTLS_BC_V SQLAP.AP_PREPAYAPP_EXTRACT_DTLS_BC_V, object_name:AP_PREPAYAPP_EXTRACT_DTLS_BC_V, status:VALID,
-
VIEW: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DTLS_BC_V SQLAP.AP_PREPAYAPP_EXTRACT_DTLS_BC_V, object_name:AP_PREPAYAPP_EXTRACT_DTLS_BC_V, status:VALID,
-
VIEW: APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DETAILS_V SQLAP.AP_PREPAYAPP_EXTRACT_DETAILS_V, object_name:AP_PREPAYAPP_EXTRACT_DETAILS_V, status:VALID,
-
VIEW: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V
12.1.1
-
View: AP_PREPAYAPP_EXTRACT_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DETAILS_V SQLAP.AP_PREPAYAPP_EXTRACT_DETAILS_V, object_name:AP_PREPAYAPP_EXTRACT_DETAILS_V, status:VALID, product: FND - Application Object Library , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V ,
-
View: AP_PREPAYAPP_EXTRACT_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DETAILS_V SQLAP.AP_PREPAYAPP_EXTRACT_DETAILS_V, object_name:AP_PREPAYAPP_EXTRACT_DETAILS_V, status:VALID, product: FND - Application Object Library , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V ,
-
VIEW: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V
12.2.2
-
View: AP_PREPAYAPP_EXTRACT_DTLS_BC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DTLS_BC_V SQLAP.AP_PREPAYAPP_EXTRACT_DTLS_BC_V, object_name:AP_PREPAYAPP_EXTRACT_DTLS_BC_V, status:VALID, product: FND - Application Object Library , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V ,
-
View: AP_PREPAYAPP_EXTRACT_DTLS_BC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DTLS_BC_V SQLAP.AP_PREPAYAPP_EXTRACT_DTLS_BC_V, object_name:AP_PREPAYAPP_EXTRACT_DTLS_BC_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V ,
-
View: AP_PREPAYAPP_EXTRACT_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DETAILS_V SQLAP.AP_PREPAYAPP_EXTRACT_DETAILS_V, object_name:AP_PREPAYAPP_EXTRACT_DETAILS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V ,
-
View: AP_PREPAYAPP_EXTRACT_DTLS_BC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DTLS_BC_V SQLAP.AP_PREPAYAPP_EXTRACT_DTLS_BC_V, object_name:AP_PREPAYAPP_EXTRACT_DTLS_BC_V, status:VALID, product: FND - Application Object Library , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V ,
-
VIEW: APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V
12.1.1
-
View: AP_PREPAYAPP_EXTRACT_DTLS_BC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DTLS_BC_V SQLAP.AP_PREPAYAPP_EXTRACT_DTLS_BC_V, object_name:AP_PREPAYAPP_EXTRACT_DTLS_BC_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V ,
-
VIEW: APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V
12.2.2
-
View: AP_PREPAYAPP_EXTRACT_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PREPAYAPP_EXTRACT_DETAILS_V SQLAP.AP_PREPAYAPP_EXTRACT_DETAILS_V, object_name:AP_PREPAYAPP_EXTRACT_DETAILS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DETAILS_V ,
-
eTRM - SQLAP Tables and Views
12.2.2
description: Set Distribution Table. ,
-
eTRM - SQLAP Tables and Views
12.1.1
description: Set Distribution Table. ,
-
eTRM - FND Tables and Views
12.2.2
description: No longer used ,
-
eTRM - FND Tables and Views
12.1.1
description: No longer used ,