Search Results pa_draft_inv_items_bas
Overview
APPS.PA_DRAFT_INVOICES_V is a reporting view in Oracle Projects that consolidates draft invoice header information with descriptive attributes drawn from project, customer, agreement, and HR master data. In Oracle EBS 12.1.1 and 12.2.2 it functions as a denormalized read layer over the draft invoicing tables, allowing reporting tools, concurrent programs, and integrations to retrieve invoice and project context from a single object rather than joining PA_DRAFT_INVOICES_ALL to multiple parent tables. The view exposes a ROW_ID pseudo-key, invoice lifecycle dates, transfer and status indicators, billing and currency attributes, and computed status expressions. Because it resolves lookups and meanings through subqueries, it is well suited to operational dashboards, extract interfaces, and reconciliation reports, though the correlated subqueries make it less efficient for large-scale bulk processing than the base tables.
Underlying Base Objects
The view is defined over the synonym PA_DRAFT_INVOICES_ALL as its driving table, aliased I, and joins outward to PA_PROJECTS_ALL (P) for project number, name, distribution rule, and project type; HR_ALL_ORGANIZATION_UNITS (ORG) for the owning project organization; PA_AGREEMENTS_ALL (A) and PA_CUSTOMERS_V (C) for agreement and customer identity; and PER_ALL_PEOPLE_F (EMP, EMP2) for the approver and releaser. Lookup meanings are resolved from PA_DISTRIBUTION_RULES, PA_PROJECT_STATUSES, RA_TERMS, PA_LOOKUPS, and PA_CONVERSION_TYPES_V. The metadata additionally lists PA_DRAFT_INV_ITEMS_BAS, PA_DRAFT_INVOICE_PP_V, PA_PROJECT_CUSTOMERS, PA_PROJECT_TYPES, PA_MULTI_CURRENCY, PA_OUTPUT_TAX, PA_SECURITY, PA_IMPLEMENTATIONS, FND_LANGUAGES, and HZ_CUST_SITE_USES, which supply line-level items, preparatory payment invoices, customer sites, currency conversion, tax, security, and language context. This breadth means the view inherits Oracle Projects security behavior through PA_SECURITY and multi-currency behavior through the PA_MULTI_CURRENCY package.
Key Columns
- ROW_ID, PROJECT_ID, PROJECT_NUMBER, PROJECT_NAME — invoice and project identifiers; the project attributes drive reporting groupings.
- DRAFT_INVOICE_NUM, INVOICE_DATE, GL_DATE, PA_DATE, BILL_THROUGH_DATE — invoice numbering and accounting dates.
- TRANSFER_STATUS_CODE and INVOICE_STATUS_CODE / INVOICE_STATUS_M — raw transfer code alongside resolved lookup meaning.
- CHK_STATUS — a derived expression returning ERROR, UNAPPROVED, UNRELEASED, RELEASED, REJECTED, TRANSFERRED, ACCEPTED, or OTHER based on GENERATION_ERROR_FLAG, APPROVED_DATE, RELEASED_DATE, and TRANSFER_STATUS_CODE. This is the view's most useful lifecycle indicator.
- APPROVED_DATE / APPROVED_BY_PERSON_NAME and RELEASED_DATE / RELEASED_BY_PERSON_NAME — audit trail of approval and release actions, with person numbers resolved through NPW attributes.
- CUSTOMER_ID, CUSTOMER_NAME, CUSTOMER_NUMBER, AGREEMENT_NUM, AGREEMENT_TYPE, TERM_NAME — billing counterparty and payment terms.
- PROJECT_ORGANIZATION_ID / NAME, PROJECT_STATUS_M, DISTRIBUTION_RULE_M — organizational and status context.
- INV_CURRENCY_CODE, INV_RATE_TYPE, INV_RATE_DATE, INV_EXCHANGE_RATE, RETENTION_PERCENTAGE — currency, conversion, and retention terms.
- CANCELED_FLAG, WRITE_OFF_FLAG, CONVERTED_FLAG, CANCEL_CREDIT_MEMO_FLAG, EXTRACTED_DATE — exception and downstream-processing flags.
Common Use Cases and Queries
Typical uses include pending-invoice aging, approval and release audit reports, and feeds into external billing systems. Because the search term referenced PA_DRAFT_INV_ITEMS_BAS, analysts often join this view to that table to obtain line-level detail beneath each header.
A representative query lists unreleased invoices by project:
SELECT project_number, draft_invoice_num, chk_status, invoice_date, bill_through_date, inv_currency_code FROM apps.pa_draft_invoices_v WHERE chk_status = 'UNRELEASED' AND project_number = :p_project ORDER BY draft_invoice_num;
An audit query aggregates approvals by approver:
SELECT approved_by_person_name, COUNT(*) FROM apps.pa_draft_invoices_v WHERE approved_date BETWEEN :start_date AND :end_date GROUP BY approved_by_person_name;
Where line-level amounts are required, join to PA_DRAFT_INV_ITEMS_BAS on the draft invoice identifier to sum billed amounts per header. Reports should apply PA_SECURITY-consistent filters and consider that correlated subqueries within the view may benefit from indexed access on PROJECT_ID and DRAFT_INVOICE_NUM.
-
SYNONYM: APPS.PA_DRAFT_INV_ITEMS_BAS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INV_ITEMS_BAS, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INV_ITEMS_BAS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INV_ITEMS_BAS, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICE_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICE_ITEMS, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICE_ITEMS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICE_ITEMS, status:VALID,
-
VIEW: APPS.PA_DRAFT_INVOICES_V
12.2.2
-
VIEW: APPS.PA_DRAFT_INVOICES_V
12.1.1
-
VIEW: APPS.GMS_DRAFT_INVOICES_V
12.2.2
-
VIEW: APPS.GMS_DRAFT_INVOICES_V
12.1.1
-
VIEW: APPS.GMS_DRAFT_INVOICES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_DRAFT_INVOICES_V, object_name:GMS_DRAFT_INVOICES_V, status:VALID,
-
VIEW: APPS.GMS_DRAFT_INVOICES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_DRAFT_INVOICES_V, object_name:GMS_DRAFT_INVOICES_V, status:VALID,
-
View: PA_DRAFT_INVOICES_FORM_MRC_V
12.1.1
product: PA - Projects , description: This will select data from pa_draft_invoices, pa_mc_draft_inv_items, pa_draft_invoice_items , implementation_dba_data: Not implemented in this database ,
-
View: PA_DRAFT_INVOICES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICES_V, object_name:PA_DRAFT_INVOICES_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICES_V ,
-
View: PA_DRAFT_INVOICES_FORM_MRC_V
12.2.2
product: PA - Projects , description: This will select data from pa_draft_invoices, pa_mc_draft_inv_items, pa_draft_invoice_items , implementation_dba_data: Not implemented in this database ,
-
View: GMS_DRAFT_INVOICES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_DRAFT_INVOICES_V, object_name:GMS_DRAFT_INVOICES_V, status:VALID, product: GMS - Grants Accounting , implementation_dba_data: APPS.GMS_DRAFT_INVOICES_V ,
-
12.1.1 DBA Data
12.1.1
-
View: PA_DRAFT_INVOICES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICES_V, object_name:PA_DRAFT_INVOICES_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICES_V ,
-
VIEW: APPS.PA_DRAFT_INVOICES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICES_V, object_name:PA_DRAFT_INVOICES_V, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
View: GMS_DRAFT_INVOICES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:GMS.GMS_DRAFT_INVOICES_V, object_name:GMS_DRAFT_INVOICES_V, status:VALID, product: GMS - Grants Accounting , implementation_dba_data: APPS.GMS_DRAFT_INVOICES_V ,
-
VIEW: APPS.PA_DRAFT_INVOICES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICES_V, object_name:PA_DRAFT_INVOICES_V, status:VALID,
-
eTRM - GMS Tables and Views
12.1.1
description: Versions of award and budget workflows. There can be many workflows for an award or budget. ,
-
eTRM - GMS Tables and Views
12.2.2
description: Versions of award and budget workflows. There can be many workflows for an award or budget. ,
-
12.2.2 DBA Data
12.2.2
-
eTRM - GMS Tables and Views
12.1.1
description: Versions of award and budget workflows. There can be many workflows for an award or budget. ,
-
eTRM - GMS Tables and Views
12.2.2
description: Versions of award and budget workflows. There can be many workflows for an award or budget. ,
-
12.1.1 DBA Data
12.1.1
-
eTRM - PA Tables and Views
12.2.2
-
eTRM - PA Tables and Views
12.1.1
-
eTRM - PA Tables and Views
12.1.1
-
eTRM - PA Tables and Views
12.2.2