Search Results pa_pwp_ap_inv_dtl
Overview
PA_PWP_AP_INV_DTL is a temporary (staging) table owned by the PA (Projects) schema in Oracle E-Business Suite 12.1.1 and 12.2.2. It stores processed supplier invoice data at the invoice distribution level, acting as the granular counterpart to its parent header table PA_PWP_AP_INV_HDR. The table is used during the processing cycle of supplier invoices that must be matched to project and task information, most notably in the context of Project Procurement and Payables integration flows that feed project cost collection and expenditure item creation.
The documented physical schema for release 12.2.2 lists 36 columns under the PA schema. The foreign key metadata shows that PA_PWP_AP_HDR_ID on this table references PA_PWP_AP_INV_HDR, establishing a header-to-detail parent-child relationship. Based on the heuristic Data Vault classification mined from the FK structure, this object can be modeled as a link, since it connects the invoice header context to project, task, and purchase order business entities rather than functioning as an independent hub or a descriptive satellite.
Key Information Stored
Each row represents one processed supplier invoice distribution across three distinct currency perspectives (project functional, project, and accounting), which is the defining characteristic of the table's design.
PA_PWP_AP_HDR_ID— foreign key to the parent header record inPA_PWP_AP_INV_HDR; the principal join key.INVOICE_ID— identifier of the supplier invoice being processed.PROJECT_IDandTASK_ID— the project and task to which the invoice distribution is attributed.EXPENDITURE_ITEM_DATE— the accounting date used for project cost distribution.PO_HEADER_ID— link to the originating purchase order header when the invoice is PO-matched.PROJFUNC_INVOICE_AMOUNT,PROJ_INVOICE_AMOUNT,ACCT_INVOICE_AMOUNT— invoiced amounts in project functional, project, and accounting currency respectively.PROJFUNC_INV_PAID_AMOUNT,PROJ_INV_PAID_AMOUNT,ACCT_INV_PAID_AMOUNT— paid portions of the invoice across the same three currencies.PROJFUNC_INV_UNPAID_AMOUNT,PROJ_INV_UNPAID_AMOUNT,ACCT_INV_UNPAID_AMOUNT— outstanding unpaid balances.PROJFUNC_RETAINED_AMOUNT,PROJ_RETAINED_AMOUNT,ACCT_RETAINED_AMOUNT— retained amounts held against the distribution.PROJFUNC_DISCOUNT_AMOUNT,PROJ_DISCOUNT_AMOUNT,ACCT_DISCOUNT_AMOUNT— payment discounts applicable to the distribution.PROJFUNC_RTAX_AMOUNT,PROJ_RTAX_AMOUNT,ACCT_RTAX_AMOUNT,RTAX_AMOUNT— recoverable tax amounts recorded across currency perspectives.PROJFUNC_CUR_PER_INV_PAIDandPROJ_CUR_PER_INV_PAID— percentage of the invoice paid, used for proportional cost distribution.
No surrogate primary key or unique index is documented in the supplied metadata; the header foreign key PA_PWP_AP_HDR_ID, combined with INVOICE_ID, functions as the practical business-key candidate.
Common Use Cases and Queries
The table is most frequently queried during reconciliation of Payables invoices against project-reported costs, particularly to verify that paid, unpaid, retained, and discount amounts have been distributed proportionally across currencies before expenditure items are generated.
A representative reconciliation query joins the detail to its header:
SELECT d.INVOICE_ID, d.PROJECT_ID, d.TASK_ID, d.PROJFUNC_INVOICE_AMOUNT, d.PROJ_INVOICE_AMOUNT, d.ACCT_INVOICE_AMOUNT FROM PA.PA_PWP_AP_INV_DTL d, PA.PA_PWP_AP_INV_HDR h WHERE d.PA_PWP_AP_HDR_ID = h.PA_PWP_AP_HDR_ID AND d.INVOICE_ID = :invoice_id;
Because the table is temporary, reporting typically occurs within the processing window or against archived extracts. Common reporting scenarios include outstanding unpaid analysis by project and task, retained amount tracking, recoverable tax breakdowns, and validating the paid percentage fields used for proportional distribution logic.
Related Objects
PA_PWP_AP_INV_HDR— parent header table; joined viaPA_PWP_AP_INV_DTL.PA_PWP_AP_HDR_ID = PA_PWP_AP_INV_HDR.PA_PWP_AP_HDR_ID.AP_INVOICES_ALL— source supplier invoice header, referenced throughINVOICE_ID.AP_INVOICE_DISTRIBUTIONS_ALL— source invoice distribution detail.PA_PROJECTS_ALL— project master, referenced throughPROJECT_ID.PA_TASKS— task master, referenced throughTASK_ID.PO_HEADERS_ALL— purchase order header, referenced throughPO_HEADER_ID.PA_EXPENDITURE_ITEMS_ALL— downstream project cost records generated from processed distributions.
-
Table: PA_PWP_AP_INV_DTL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_PWP_AP_INV_DTL, object_name:PA_PWP_AP_INV_DTL, status:VALID, product: PA - Projects , description: This temporary table stores processed supplier invoice data at invoice distribution level. , implementation_dba_data: PA.PA_PWP_AP_INV_DTL ,
-
VIEW: APPS.PA_PWP_SUPPLIER_INV_SUMMARY_V
12.2.2
-
VIEW: APPS.PA_PWP_SUPPLIER_INV_SUMMARY_V
12.1.1
-
View: PA_PWP_SUPPLIER_INV_SUMMARY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PWP_SUPPLIER_INV_SUMMARY_V, object_name:PA_PWP_SUPPLIER_INV_SUMMARY_V, status:VALID, product: PA - Projects , description: This view displays supplier wise invoice amount for the project. , implementation_dba_data: APPS.PA_PWP_SUPPLIER_INV_SUMMARY_V ,
-
SYNONYM: APPS.PA_PWP_AP_INV_DTL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_PWP_AP_INV_DTL, status:VALID,
-
VIEW: APPS.PA_PWP_LINK_STATUS_V
12.2.2
-
SYNONYM: APPS.PA_PWP_AP_INV_DTL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_PWP_AP_INV_DTL, status:VALID,
-
VIEW: PA.PA_PWP_AP_INV_DTL#
12.2.2
owner:PA, object_type:VIEW, object_name:PA_PWP_AP_INV_DTL#, status:VALID,
-
VIEW: APPS.PA_PWP_SUPPLIER_INVOICE_V
12.2.2
-
VIEW: APPS.PA_PWP_SUPPLIER_INVOICE_V
12.1.1
-
View: PA_PWP_LINK_STATUS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PWP_LINK_STATUS_V, object_name:PA_PWP_LINK_STATUS_V, status:VALID, product: PA - Projects , description: This view gives details of supplier invoices linked to a draft invoice , implementation_dba_data: APPS.PA_PWP_LINK_STATUS_V ,
-
VIEW: PA.PA_PWP_AP_INV_DTL#
12.2.2
-
APPS.PAAP_PWP_PKG SQL Statements
12.1.1
-
Table: PA_PWP_AP_INV_HDR
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_PWP_AP_INV_HDR, object_name:PA_PWP_AP_INV_HDR, status:VALID, product: PA - Projects , description: This temporary table stores processed supplier invoice data at invoice level. , implementation_dba_data: PA.PA_PWP_AP_INV_HDR ,
-
View: PA_PWP_SUPPLIER_INVOICE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PWP_SUPPLIER_INVOICE_V, object_name:PA_PWP_SUPPLIER_INVOICE_V, status:VALID, product: PA - Projects , description: This view displays the supplier invoice details for the project. , implementation_dba_data: APPS.PA_PWP_SUPPLIER_INVOICE_V ,
-
TABLE: PA.PA_PWP_AP_INV_DTL
12.2.2
owner:PA, object_type:TABLE, fnd_design_data:PA.PA_PWP_AP_INV_DTL, object_name:PA_PWP_AP_INV_DTL, status:VALID,
-
TABLE: PA.PA_PWP_AP_INV_DTL
12.1.1
owner:PA, object_type:TABLE, object_name:PA_PWP_AP_INV_DTL, status:VALID,
-
VIEW: APPS.PA_PWP_LINK_STATUS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PWP_LINK_STATUS_V, object_name:PA_PWP_LINK_STATUS_V, status:VALID,
-
APPS.PAAP_PWP_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.PAAP_PWP_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PAAP_PWP_PKG, status:VALID,
-
PACKAGE BODY: APPS.PAAP_PWP_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PAAP_PWP_PKG, status:VALID,
-
PACKAGE: APPS.PAAP_PWP_PKG
12.1.1
-
PACKAGE: APPS.PAAP_PWP_PKG
12.2.2
-
VIEW: APPS.PA_PWP_SUPPLIER_INV_SUMMARY_V
12.1.1
owner:APPS, object_type:VIEW, object_name:PA_PWP_SUPPLIER_INV_SUMMARY_V, status:VALID,
-
VIEW: APPS.PA_PWP_SUPPLIER_INVOICE_V
12.1.1
owner:APPS, object_type:VIEW, object_name:PA_PWP_SUPPLIER_INVOICE_V, status:VALID,
-
VIEW: APPS.PA_PWP_SUPPLIER_INV_SUMMARY_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PWP_SUPPLIER_INV_SUMMARY_V, object_name:PA_PWP_SUPPLIER_INV_SUMMARY_V, status:VALID,
-
PACKAGE BODY: APPS.PAAP_PWP_PKG
12.1.1
-
VIEW: APPS.PA_PWP_SUPPLIER_INVOICE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_PWP_SUPPLIER_INVOICE_V, object_name:PA_PWP_SUPPLIER_INVOICE_V, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.PAAP_PWP_PKG
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.PAAP_PWP_PKG dependencies on PA_PWP_AP_INV_DTL
12.1.1
-
APPS.PAAP_PWP_PKG dependencies on PA_PWP_AP_INV_DTL
12.2.2
-
Foreign Keys
12.2.2
-
APPS.PAAP_PWP_PKG dependencies on PA_PWP_AP_INV_HDR
12.1.1
-
APPS.PAAP_PWP_PKG dependencies on PA_PWP_AP_INV_HDR
12.2.2
-
APPS.PAAP_PWP_PKG dependencies on FND_API
12.2.2
-
APPS.PAAP_PWP_PKG dependencies on PA_CUST_REV_DIST_LINES
12.2.2
-
APPS.PAAP_PWP_PKG dependencies on FND_API
12.1.1
-
APPS.PAAP_PWP_PKG dependencies on PA_CUST_REV_DIST_LINES
12.1.1
-
APPS.PAAP_PWP_PKG dependencies on PO_HEADERS_ALL
12.2.2
-
APPS.PAAP_PWP_PKG dependencies on PO_HEADERS_ALL
12.1.1
-
eTRM - PA Tables and Views
12.2.2