Search Results ap_invoice_distributions_v
Overview
AP_INVOICE_DISTRIBUTIONS_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, belonging to the Payables (AP) product family. In both 12.1.1 and 12.2.2, it exposes invoice distribution accounting information consolidated from the AP_INVOICE_DISTRIBUTIONS base table together with a wide set of joined reference objects. It presents a denormalized, security-filtered, and functionally enriched projection of distribution lines, providing accounting flexfield assignments, matched purchase order and receipt context, project and task information, withholding tax attributes, and descriptive flexfield columns.
The view is the standard interface used by Payables reporting, subledger accounting extraction, and custom integrations that need distribution-level detail without replicating the underlying join logic. Because it embeds organizational security through the HR and FND packages, it is also the recommended access path for multi-org aware reporting. The metadata records a note referencing BUG 4926356 against the ACCOUNTING_EVENT_ID column, indicating that this column was introduced or corrected for subledger accounting integration.
Underlying Base Objects
The view is defined over the base synonym AP_INVOICE_DISTRIBUTIONS and is joined to a documented set of supporting objects. These fall into several functional groups:
- Payables core: AP_INVOICE_DISTRIBUTIONS, AP_INVOICES_ALL, AP_BATCHES_ALL, AP_LOOKUP_CODES, AP_TAX_CODES_ALL.
- Withholding tax: AP_AWT_GROUPS, AP_INCOME_TAX_REGIONS.
- Purchasing and receiving: PO_HEADERS_ALL, PO_LINES_ALL, PO_LINE_LOCATIONS_ALL, PO_DISTRIBUTIONS_ALL, PO_RELEASES_ALL, RCV_SHIPMENT_HEADERS, RCV_SHIPMENT_LINES, RCV_TRANSACTIONS.
- Projects: PA_PROJECTS_ALL, PA_TASKS_EXPEND_V, PA_TASK_UTILS, PA_UTILS4.
- Assets and ledger: FA_BOOK_CONTROLS, GL_SETS_OF_BOOKS.
- Security and utilities: FND_GLOBAL, FND_PROFILE, HR_GENERAL, HR_ORGANIZATION_UNITS, HR_SECURITY, AP_INVOICES_UTILITY_PKG, AP_INVOICE_DISTRIBUTIONS_PKG.
The joins to RCV and PO objects supply the matching context for purchase-order-matched distributions, while the PA objects resolve project and task names. HR_SECURITY and FND packages enforce the operating unit and organization security predicate at query time.
Key Columns
- INVOICE_ID / DISTRIBUTION_LINE_NUMBER: Identify the parent invoice and the distribution line within it.
- DIST_CODE_COMBINATION_ID / ACCTS_PAY_CODE_COMBINATION_ID: The distribution and liability accounting flexfield combinations.
- AMOUNT / BASE_AMOUNT: Entered distribution amount and its ledger-currency equivalent.
- ACCOUNTING_DATE / ACCOUNTING_EVENT_ID: Date and subledger accounting event association used in SLA transfer.
- LINE_TYPE_LOOKUP_CODE: Classifies the distribution (for example ITEM, TAX, FREIGHT, MISCELLANEOUS, AWT).
- AWT_FLAG, AWT_GROSS_AMOUNT, AWT_GROUP_ID, AWT_INVOICE_ID, AWT_ORIGIN_GROUP_ID, AWT_TAX_RATE_ID: Withholding tax context, including the gross amount on which withholding was computed.
- EXPENDITURE_TYPE, EXPENDITURE_ITEM_DATE, EXPENDITURE_ORGANIZATION_ID: Project expenditure attributes for distributions charged to projects.
- ASSETS_ADDITION_FLAG, ASSETS_TRACKING_FLAG: Indicators for asset creation and tracking.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15: Descriptive flexfield segments.
- ORG_ID: Operating unit identifier, used for multi-org security filtering.
The searched term rec_nrec_rate does not correspond to a column exposed by this view; the withholding-related rate attributes are carried through the AWT_TAX_RATE_ID reference to AP_TAX_CODES_ALL rather than as an explicit rate column.
Common Use Cases and Queries
The view is most often queried for distribution analysis, withholding tax reconciliation, project cost reporting, and matched PO-to-invoice audits. Typical usages include reconciling liability and expense accounts by accounting period, reviewing withholding lines against their gross amounts, and validating that matched distributions reference the expected receipt transactions.
Sample query — list distributions for a given invoice with accounting and withholding context:
SELECT invoice_id
, distribution_line_number
, line_type_lookup_code
, amount
, base_amount
, accounting_date
, dist_code_combination_id
, awt_flag
, awt_gross_amount
FROM apps.ap_invoice_distributions_v
WHERE invoice_id = :p_invoice_id
ORDER BY distribution_line_number;
Sample query — summarize withholding distributions by accounting period:
SELECT accounting_date
, SUM(awt_gross_amount) gross_withheld
, SUM(amount) withheld_amount
FROM apps.ap_invoice_distributions_v
WHERE awt_flag = 'Y'
AND accounting_date BETWEEN :p_start AND :p_end
GROUP BY accounting_date;
Because the view applies FND and HR security predicates, sessions must initialize the correct operating unit context before querying, particularly in 12.2.2 where the multi-org model is unchanged but payables setup is configured through the newer reference data framework.
-
View: AP_INVOICE_DISTRIBUTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_V, object_name:AP_INVOICE_DISTRIBUTIONS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICE_DISTRIBUTIONS_V ,
-
View: AP_INVOICE_DISTRIBUTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_V, object_name:AP_INVOICE_DISTRIBUTIONS_V, status:VALID, product: AP - Payables , implementation_dba_data: APPS.AP_INVOICE_DISTRIBUTIONS_V ,
-
VIEW: APPS.IGI_MPP_EXP_RECOGNITION
12.2.2
-
VIEW: APPS.IGI_MPP_EXP_RECOGNITION
12.1.1
-
APPS.GHG_UTILITIES_PKG SQL Statements
12.2.2
-
SYNONYM: APPS.AP_INCOME_TAX_REGIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INCOME_TAX_REGIONS, status:VALID,
-
SYNONYM: APPS.AP_INCOME_TAX_REGIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INCOME_TAX_REGIONS, status:VALID,
-
PACKAGE: APPS.AP_INVOICE_DISTRIBUTIONS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICE_DISTRIBUTIONS_PKG, status:VALID,
-
PACKAGE: APPS.AP_INVOICE_DISTRIBUTIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICE_DISTRIBUTIONS_PKG, status:VALID,
-
PACKAGE BODY: APPS.GHG_UTILITIES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GHG_UTILITIES_PKG, status:VALID,
-
PACKAGE BODY: APPS.GHG_PO_EMISSIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GHG_PO_EMISSIONS_PKG, status:VALID,
-
View: IGI_MPP_AP_DIST_MERGE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IGI.IGI_MPP_AP_DIST_MERGE_V, object_name:IGI_MPP_AP_DIST_MERGE_V, status:VALID, product: IGI - Public Sector Financials International , description: Contains information for both Core and OPSFI Invoice Distributions forms , implementation_dba_data: APPS.IGI_MPP_AP_DIST_MERGE_V ,
-
PACKAGE BODY: APPS.GHG_TRANSACTIONS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:GHG_TRANSACTIONS_PKG, status:VALID,
-
View: IGI_MPP_AP_DIST_MERGE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGI.IGI_MPP_AP_DIST_MERGE_V, object_name:IGI_MPP_AP_DIST_MERGE_V, status:VALID, product: IGI - Public Sector Financials International , description: Contains information for both Core and OPSFI Invoice Distributions forms , implementation_dba_data: APPS.IGI_MPP_AP_DIST_MERGE_V ,
-
SYNONYM: APPS.AP_BATCHES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES_ALL, status:VALID,
-
PACKAGE BODY: APPS.FV_IPAC_DISBURSEMENT_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FV_IPAC_DISBURSEMENT_PKG, status:VALID,
-
SYNONYM: APPS.AP_AWT_GROUPS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_AWT_GROUPS, status:VALID,
-
PACKAGE BODY: APPS.FV_IPAC_DISBURSEMENT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:FV_IPAC_DISBURSEMENT_PKG, status:VALID,
-
SYNONYM: APPS.AP_AWT_GROUPS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_AWT_GROUPS, status:VALID,
-
PACKAGE: APPS.AP_INVOICES_UTILITY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICES_UTILITY_PKG, status:VALID,
-
View: IGI_MPP_EXP_RECOGNITION
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGI.IGI_MPP_EXP_RECOGNITION, object_name:IGI_MPP_EXP_RECOGNITION, status:VALID, product: IGI - Public Sector Financials International , description: Used for Multi Period Posting expense recognition , implementation_dba_data: APPS.IGI_MPP_EXP_RECOGNITION ,
-
View: IGI_MPP_EXP_RECOGNITION
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IGI.IGI_MPP_EXP_RECOGNITION, object_name:IGI_MPP_EXP_RECOGNITION, status:VALID, product: IGI - Public Sector Financials International , description: Used for Multi Period Posting expense recognition , implementation_dba_data: APPS.IGI_MPP_EXP_RECOGNITION ,
-
SYNONYM: APPS.AP_BATCHES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_BATCHES_ALL, status:VALID,
-
PACKAGE BODY: APPS.AP_MATCHING_UTILS_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AP_MATCHING_UTILS_PKG, status:VALID,
-
PACKAGE BODY: APPS.AP_MATCHING_UTILS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AP_MATCHING_UTILS_PKG, status:VALID,
-
PACKAGE: APPS.PA_UTILS4
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_UTILS4, status:VALID,
-
SYNONYM: APPS.AP_TAX_CODES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_TAX_CODES_ALL, status:VALID,
-
PACKAGE: APPS.AP_INVOICES_UTILITY_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AP_INVOICES_UTILITY_PKG, status:VALID,
-
SYNONYM: APPS.AP_TAX_CODES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_TAX_CODES_ALL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE: APPS.PA_TASK_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_TASK_UTILS, status:VALID,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
VIEW: APPS.IGI_MPP_EXP_RECOGNITION
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:IGI.IGI_MPP_EXP_RECOGNITION, object_name:IGI_MPP_EXP_RECOGNITION, status:VALID,
-
VIEW: APPS.IGI_MPP_EXP_RECOGNITION
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGI.IGI_MPP_EXP_RECOGNITION, object_name:IGI_MPP_EXP_RECOGNITION, status:VALID,
-
APPS.GHG_PO_EMISSIONS_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.GHG_UTILITIES_PKG
12.2.2
-
APPS.GHG_TRANSACTIONS_PKG SQL Statements
12.2.2
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS, status:VALID,
-
SYNONYM: APPS.AP_INVOICE_DISTRIBUTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AP_INVOICE_DISTRIBUTIONS, status:VALID,
-
VIEW: APPS.PA_TASKS_EXPEND_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_TASKS_EXPEND_V, object_name:PA_TASKS_EXPEND_V, status:VALID,
-
SYNONYM: APPS.PO_RELEASES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PO_RELEASES_ALL, status:VALID,
-
SYNONYM: APPS.PO_RELEASES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PO_RELEASES_ALL, status:VALID,
-
SYNONYM: APPS.RCV_SHIPMENT_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RCV_SHIPMENT_HEADERS, status:VALID,
-
VIEW: APPS.AP_LOOKUP_CODES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_LOOKUP_CODES, object_name:AP_LOOKUP_CODES, status:VALID,
-
VIEW: APPS.AP_LOOKUP_CODES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_LOOKUP_CODES, object_name:AP_LOOKUP_CODES, status:VALID,
-
SYNONYM: APPS.RCV_SHIPMENT_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RCV_SHIPMENT_LINES, status:VALID,
-
VIEW: APPS.AP_INVOICE_DISTRIBUTIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_V, object_name:AP_INVOICE_DISTRIBUTIONS_V, status:VALID,
-
VIEW: APPS.AP_INVOICE_DISTRIBUTIONS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:SQLAP.AP_INVOICE_DISTRIBUTIONS_V, object_name:AP_INVOICE_DISTRIBUTIONS_V, status:VALID,