Search Results AP_INVOICE_LINES_ALL
Overview
The AP_INVOICE_LINES_ALL table is a core transactional entity within the Oracle E-Business Suite Payables module (AP). It serves as the central repository for all line-level detail associated with supplier invoices. Every invoice entered into the system, whether created manually, generated automatically (e.g., from recurring invoices or expense reports), or imported via the Payables Open Interface, has its itemized charges, quantities, and descriptions stored in this table. Its multi-organization architecture, denoted by the "_ALL" suffix, allows it to store data for multiple operating units, making it a fundamental table for enterprise-wide invoice processing and reporting.
Key Information Stored
The table's primary key is a composite of INVOICE_ID and LINE_NUMBER, uniquely identifying each line on an invoice. Beyond these identifiers, critical columns capture the financial and descriptive essence of the invoice line. This includes the LINE_TYPE_LOOKUP_CODE (distinguishing between ITEM, TAX, FREIGHT, etc.), the AMOUNT, QUANTITY_INVOICED, UNIT_PRICE, and DESCRIPTION. For invoices matched to purchase orders or receipts, the table maintains referential integrity through foreign key columns such as PO_LINE_LOCATION_ID and RCV_SHIPMENT_LINE_ID. Other significant fields include the ACCOUNTING_DATE, DISTRIBUTION_SET_ID for automatic accounting, and various tax-related identifiers.
Common Use Cases and Queries
This table is integral for invoice inquiry, audit reports, and custom accounting analyses. A common scenario is tracing the detailed composition of an approved invoice for reconciliation. A typical query joins AP_INVOICE_LINES_ALL to AP_INVOICES_ALL to retrieve line details for a specific invoice number or supplier.
- Invoice Line Detail Report: SELECT aia.invoice_num, aia.invoice_date, aila.line_number, aila.line_type_lookup_code, aila.amount, aila.description FROM ap_invoices_all aia, ap_invoice_lines_all aila WHERE aia.invoice_id = aila.invoice_id AND aia.invoice_num = '<INVOICE_NUMBER>' ORDER BY aila.line_number;
- Analysis of Line Types: Analyzing the distribution of charges (e.g., Item vs. Freight vs. Tax) across a set of invoices.
- Interface and Integration: Data from this table is often sourced for populating subledger accounting events and for feeding external financial reporting systems.
Related Objects
AP_INVOICE_LINES_ALL has a primary parent-child relationship with the invoice header table, AP_INVOICES_ALL. Its most critical relationship is with the AP_INVOICE_DISTRIBUTIONS_ALL table, where each invoice line's amount is allocated to one or more accounting distributions. The provided metadata shows multiple foreign keys (AIL_INVOICE_ID, AIL_INVOICE_ID2, etc.) linking to this distribution table. For matched invoices, it references purchasing and receiving tables (PO_LINE_LOCATIONS_ALL, RCV_SHIPMENT_LINES). It is also referenced by other modules, as evidenced by the foreign key from the India Localization table JAI_AP_INVOICE_LINES. Key APIs, such as AP_INVOICES_PKG and AP_INVOICE_LINES_PKG, are used to validate and maintain data in this table.
-
Table: AP_INVOICE_LINES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICE_LINES_ALL, object_name:AP_INVOICE_LINES_ALL, status:VALID, product: AP - Payables , description: AP_INVOICE_LINES_ALL contains records for invoice lines entered manually, generated automatically or imported from the Open Interface. , implementation_dba_data: AP.AP_INVOICE_LINES_ALL ,
-
Table: AP_INVOICE_LINES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICE_LINES_ALL, object_name:AP_INVOICE_LINES_ALL, status:VALID, product: AP - Payables , description: AP_INVOICE_LINES_ALL contains records for invoice lines entered manually, generated automatically or imported from the Open Interface. , implementation_dba_data: AP.AP_INVOICE_LINES_ALL ,
-
APPS.AP_XLA_UPGRADE_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_APPROVAL_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.PSA_FA_INVOICE_DISTRIBUTIONS dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_PMT_CALLOUT_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_PREPAY_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_LINES_UPGRADE_SYNC_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.POS_TOTALS_PO_SV dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.JAI_AP_ST_REVERSE_PROCESS dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.JG_ZZ_SUMMARY_AP_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.INL_INTERFACE_PVT dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.JAI_AP_IA_DTC_TRIGGER_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.JAI_AP_ILA_TRIGGER_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.PO_MULTI_MOD_VALIDATIONS dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_AIL_TABLE_HANDLER_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.JAI_FA_MA_TRIGGER_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_VOID_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_QUICK_CREDIT_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.JG_ZZ_SUMMARY_ALL_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_INVOICES_UTILITY_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_MATCHING_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_WORKFLOW_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.ZX_ON_FLY_TRX_UPGRADE_AP_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_INVOICE_CORRECTIONS_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_AUTO_DM_CREATION_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_VOID_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.JA_JAINITCP_XMLP_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_ETAX_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.JAI_AP_ILA_TRIGGER_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.FII_AP_INV_SUM_INC dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_APPROVAL_MATCHED_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.JAI_ST_REVERSAL_EXTRACT_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_INVOICE_CORRECTIONS_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.PO_CHARGES_GRP dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_INTEREST_INVOICE_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.JG_ZZ_SUMMARY_AP_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.PA_DEDUCTIONS dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_AI_TABLE_HANDLER_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_UTILITIES_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.ZX_ON_DEMAND_TRX_UPGRADE_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.JA_CN_CUSTOM_SOURCES dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_WEB_EXPORT_ER dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.CSE_AP_PA_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_GENERATE_DISTRIBUTIONS_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_MATCHING_UTILS_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_IMPORT_VALIDATION_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.AP_RCT_AMT_MATCH_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1
-
APPS.JAI_AP_TDS_CANCELLATION_PKG dependencies on AP_INVOICE_LINES_ALL
12.2.2
-
APPS.AP_FUNDS_CONTROL_PKG dependencies on AP_INVOICE_LINES_ALL
12.1.1