Search Results ap_invoice_distributions_all
Overview
The AP_INVOICE_DISTRIBUTIONS_ALL table is a core transactional entity within Oracle E-Business Suite Payables (AP) module, versions 12.1.1 and 12.2.2. It stores detailed accounting and financial information for each distribution line of an invoice. Every invoice entered into the system must have at least one distribution line to define the expense or liability account, amount, and associated project or tax details. This table is central to the procure-to-pay cycle, enabling multi-organization accounting, tax calculation, matching to purchase orders or receipts, and the eventual transfer of accounting entries to the General Ledger. Its multi-org design, indicated by the "_ALL" suffix, allows it to hold data for multiple operating units, with access controlled by the MOAC (Multi-Org Access Control) security profile.
Key Information Stored
The table's primary key is a composite of INVOICE_ID and DISTRIBUTION_LINE_NUMBER, uniquely identifying each distribution. Critical columns include accounting attributes like CODE_COMBINATION_ID (the charged account), AMOUNT, and BASE_AMOUNT. For matched invoices, it links to procurement data via PO_DISTRIBUTION_ID and RCV_TRANSACTION_ID. Tax-related data is held in TAX_CODE_ID and INCOME_TAX_REGION. For project accounting, it integrates with Oracle Projects via PROJECT_ID, TASK_ID, and EXPENDITURE_TYPE. The table also tracks accounting event status through ACCOUNTING_EVENT_ID and holds variance accounts for rate (RATE_VAR_CODE_COMBINATION_ID) and price (PRICE_VAR_CODE_COMBINATION_ID) differences. Columns for Withholding Tax (AWT), such as AWT_GROUP_ID and AWT_INVOICE_ID, are also present.
Common Use Cases and Queries
This table is fundamental for invoice inquiry, audit reporting, account reconciliation, and custom accounting integrations. Common analytical queries include summarizing invoice amounts by general ledger account, identifying distributions linked to specific purchase orders or receipts, and analyzing tax or project-related expenditures. A typical pattern for joining to invoice headers and accounting flexfields is:
- SELECT aid.invoice_id, aid.distribution_line_number, aid.amount, aid.code_combination_id, gcc.segment1, ai.invoice_num FROM ap_invoice_distributions_all aid JOIN ap_invoices_all ai ON aid.invoice_id = ai.invoice_id JOIN gl_code_combinations gcc ON aid.code_combination_id = gcc.code_combination_id WHERE ai.invoice_date > SYSDATE - 30;
For audit purposes, queries often join to PO_DISTRIBUTIONS_ALL and RCV_TRANSACTIONS to verify three-way matching. Reporting on unaccounted or unposted distributions is another critical use case, achieved by filtering on the ACCOUNTING_EVENT_ID and related posting control columns.
Related Objects
As indicated by its foreign keys, AP_INVOICE_DISTRIBUTIONS_ALL has extensive relationships with other EBS entities. Its primary parent is AP_INVOICES_ALL, linked via INVOICE_ID, PARENT_INVOICE_ID, and AWT_INVOICE_ID. It references GL_CODE_COMBINATIONS for the main and variance accounting flexfields. Integration with purchasing and receiving is through PO_DISTRIBUTIONS_ALL (implied) and RCV_TRANSACTIONS. For tax, it links to AP_TAX_CODES_ALL and AP_INCOME_TAX_REGIONS. Project accounting links to PA_PROJECTS_ALL, PA_TASKS, and PA_EXPENDITURE_TYPES. The AP_ACCOUNTING_EVENTS_ALL table tracks the accounting lifecycle for each distribution. Key APIs, such as AP_INVOICES_PKG and AP_ACCOUNTING_EVENTS_PKG, often manipulate or validate data in this table.
-
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 ,
-
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_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 ,
-
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_INVOICES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICES_ALL, object_name:AP_INVOICES_ALL, status:VALID, product: AP - Payables , description: Detailed invoice records , implementation_dba_data: AP.AP_INVOICES_ALL ,
-
Table: AP_INVOICES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INVOICES_ALL, object_name:AP_INVOICES_ALL, status:VALID, product: AP - Payables , description: Detailed invoice records , implementation_dba_data: AP.AP_INVOICES_ALL ,
-
Table: AP_AWT_GROUPS
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AWT_GROUPS, object_name:AP_AWT_GROUPS, status:VALID, product: AP - Payables , description: Withholding tax groups , implementation_dba_data: AP.AP_AWT_GROUPS ,
-
Table: AP_AWT_GROUPS
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AWT_GROUPS, object_name:AP_AWT_GROUPS, status:VALID, product: AP - Payables , description: Withholding tax groups , implementation_dba_data: AP.AP_AWT_GROUPS ,
-
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_INCOME_TAX_REGIONS
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INCOME_TAX_REGIONS, object_name:AP_INCOME_TAX_REGIONS, status:VALID, product: AP - Payables , description: Income tax region information for supplier tax reporting purposes , implementation_dba_data: AP.AP_INCOME_TAX_REGIONS ,
-
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_TRIAL_BALANCE
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_TRIAL_BALANCE, object_name:AP_TRIAL_BALANCE, status:VALID, product: AP - Payables , description: Denormalized information about posted invoices for your accrual set of books , implementation_dba_data: AP.AP_TRIAL_BALANCE ,
-
Table: AP_TRIAL_BALANCE
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_TRIAL_BALANCE, object_name:AP_TRIAL_BALANCE, status:VALID, product: AP - Payables , description: Denormalized information about posted invoices for your accrual set of books , implementation_dba_data: AP.AP_TRIAL_BALANCE ,
-
Table: AP_AWT_TAX_RATES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AWT_TAX_RATES_ALL, object_name:AP_AWT_TAX_RATES_ALL, status:VALID, product: AP - Payables , description: Withholding tax rates , implementation_dba_data: AP.AP_AWT_TAX_RATES_ALL ,
-
Table: AP_AWT_TAX_RATES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_AWT_TAX_RATES_ALL, object_name:AP_AWT_TAX_RATES_ALL, status:VALID, product: AP - Payables , description: Withholding tax rates , implementation_dba_data: AP.AP_AWT_TAX_RATES_ALL ,
-
Table: AP_INCOME_TAX_REGIONS
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_INCOME_TAX_REGIONS, object_name:AP_INCOME_TAX_REGIONS, status:VALID, product: AP - Payables , description: Income tax region information for supplier tax reporting purposes , implementation_dba_data: AP.AP_INCOME_TAX_REGIONS ,
-
Table: AP_BATCHES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_BATCHES_ALL, object_name:AP_BATCHES_ALL, status:VALID, product: AP - Payables , description: Summary invoice batch information , implementation_dba_data: AP.AP_BATCHES_ALL ,
-
Table: AP_BATCHES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_BATCHES_ALL, object_name:AP_BATCHES_ALL, status:VALID, product: AP - Payables , description: Summary invoice batch information , implementation_dba_data: AP.AP_BATCHES_ALL ,
-
View: AP_APPLY_PREPAYS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_APPLY_PREPAYS_V, object_name:AP_APPLY_PREPAYS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_APPLY_PREPAYS_V ,
-
View: AP_APPLY_PREPAYS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_APPLY_PREPAYS_V, object_name:AP_APPLY_PREPAYS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_APPLY_PREPAYS_V ,
-
Table: AP_CREDIT_CARD_TRXNS_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CREDIT_CARD_TRXNS_ALL, object_name:AP_CREDIT_CARD_TRXNS_ALL, status:VALID, product: AP - Payables , description: Detailed information about the credit card transactions of your employees , implementation_dba_data: AP.AP_CREDIT_CARD_TRXNS_ALL ,
-
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 ,
-
Table: AP_CREDIT_CARD_TRXNS_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_CREDIT_CARD_TRXNS_ALL, object_name:AP_CREDIT_CARD_TRXNS_ALL, status:VALID, product: AP - Payables , description: Detailed information about the credit card transactions of your employees , implementation_dba_data: AP.AP_CREDIT_CARD_TRXNS_ALL ,
-
View: AP_PAYMENT_EXTRACT_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PAYMENT_EXTRACT_DETAILS_V SQLAP.AP_PAYMENT_EXTRACT_DETAILS_V, object_name:AP_PAYMENT_EXTRACT_DETAILS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_PAYMENT_EXTRACT_DETAILS_V ,
-
Table: AP_TAX_CODES_ALL
12.2.2
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_TAX_CODES_ALL, object_name:AP_TAX_CODES_ALL, status:VALID, product: AP - Payables , description: Tax code information , implementation_dba_data: AP.AP_TAX_CODES_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_TAX_CODES_ALL
12.1.1
owner:AP, object_type:TABLE, fnd_design_data:SQLAP.AP_TAX_CODES_ALL, object_name:AP_TAX_CODES_ALL, status:VALID, product: AP - Payables , description: Tax code information , implementation_dba_data: AP.AP_TAX_CODES_ALL ,
-
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_INVOICE_EXTRACT_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_EXTRACT_DETAILS_V, object_name:AP_INVOICE_EXTRACT_DETAILS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICE_EXTRACT_DETAILS_V ,
-
View: AP_PAYMENT_EXTRACT_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:FND.AP_PAYMENT_EXTRACT_DETAILS_V SQLAP.AP_PAYMENT_EXTRACT_DETAILS_V, object_name:AP_PAYMENT_EXTRACT_DETAILS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_PAYMENT_EXTRACT_DETAILS_V ,
-
View: AP_INVOICE_EXTRACT_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_EXTRACT_DETAILS_V, object_name:AP_INVOICE_EXTRACT_DETAILS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICE_EXTRACT_DETAILS_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_INVOICES_READY_TO_PAY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICES_READY_TO_PAY_V, object_name:AP_INVOICES_READY_TO_PAY_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICES_READY_TO_PAY_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: AP - Payables , implementation_dba_data: APPS.AP_PREPAYAPP_EXTRACT_DTLS_BC_V ,
-
View: AP_INVOICES_READY_TO_PAY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICES_READY_TO_PAY_V, object_name:AP_INVOICES_READY_TO_PAY_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICES_READY_TO_PAY_V ,
-
View: APFV_EXPENSE_REPORTS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.APFV_EXPENSE_REPORTS, object_name:APFV_EXPENSE_REPORTS, status:VALID, product: AP - Payables , description: Business view , implementation_dba_data: APPS.APFV_EXPENSE_REPORTS ,
-
View: APFV_EXPENSE_REPORTS
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.APFV_EXPENSE_REPORTS, object_name:APFV_EXPENSE_REPORTS, status:VALID, product: AP - Payables , description: Business view , implementation_dba_data: APPS.APFV_EXPENSE_REPORTS ,
-
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_EXTRACT_INVOICE_DTLS_BC_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXTRACT_INVOICE_DTLS_BC_V, object_name:AP_EXTRACT_INVOICE_DTLS_BC_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_EXTRACT_INVOICE_DTLS_BC_V ,
-
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 ,
-
View: AP_MATCH_CORRECTION_DISTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_MATCH_CORRECTION_DISTS_V, object_name:AP_MATCH_CORRECTION_DISTS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_MATCH_CORRECTION_DISTS_V ,
-
View: AP_MATCH_CORRECTION_DISTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_MATCH_CORRECTION_DISTS_V, object_name:AP_MATCH_CORRECTION_DISTS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_MATCH_CORRECTION_DISTS_V ,
-
View: AP_EXTRACT_INVOICE_DTLS_BC_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_EXTRACT_INVOICE_DTLS_BC_V, object_name:AP_EXTRACT_INVOICE_DTLS_BC_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_EXTRACT_INVOICE_DTLS_BC_V ,
-
View: AP_INVOICE_DISTS_ALL_MRC_V
12.2.2
product: AP - Payables , description: MULTI-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
View: AP_INVOICE_DISTS_ALL_MRC_V
12.1.1
product: AP - Payables , description: MULTI-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
View: AP_INVOICE_DISTS_MRC_V
12.2.2
product: AP - Payables , description: SINGLE-ORG MRC view , implementation_dba_data: Not implemented in this database ,
-
View: AP_INVOICE_DISTS_MRC_V
12.1.1
product: AP - Payables , description: SINGLE-ORG MRC view , 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 ,