Search Results event_task_number
Overview
PA_DRAFT_INVOICE_LINES_V is an APPS-owned database view in the Oracle E-Business Suite Projects (PA) module. It exposes draft invoice line information generated by the Project Billing process, presenting the same data that appears on draft invoices before they are released and transferred to Oracle Receivables. The object is documented in ETRM 12.2.2 with a view status of VALID in the APPS schema, and is annotated in the source documentation as "10SC Only," indicating that the view is intended for use in a specific localization or configuration scope rather than general availability.
The view is a reporting and integration construct rather than a transactional entity. It flattens the relationship between draft invoice headers, draft invoice lines, project events, tasks, customers, and location data into a single queryable structure, which allows callers to retrieve billing detail without joining the underlying tables individually. This makes it useful for custom reports, interfaces, and extensions that need line-level draft invoice data in a currency- and tax-aware form.
Underlying Base Objects
The view is defined over a set of Project Billing tables and their supporting lookups and setup objects. According to the documented metadata, the referenced base objects are:
- PA_DRAFT_INVOICES_ALL — draft invoice header and line data
- PA_DRAFT_INVOICE_ITEMS — individual draft invoice items
- PA_EVENTS — billing events associated with revenue and invoicing
- PA_PROJECTS_ALL — project definitions and conversion attributes
- PA_TASKS — project task structure
- PA_CONVERSION_TYPES_V — currency conversion type definitions
- PA_OUTPUT_TAX — output tax calculation package
- FND_GLOBAL — session and security context package
- FND_LOOKUPS — lookup meanings used to decode coded values
- HR_ALL_ORGANIZATION_UNITS, HZ_CUST_ACCT_SITES_ALL, HZ_PARTY_SITES, HZ_LOCATIONS — customer and address components used to derive the work site string
The view text selects primarily from PA_DRAFT_INVOICE_ITEMS (aliased I), joined to PA_EVENTS (EV), PA_TASKS (T and TSK), FND_LOOKUPS (FND_LK, FND_LK1, FND_LK2), and the HZ location tables. Currency conversion information is derived conditionally from PA_CONVERSION_TYPES_V based on the invoice processing currency type.
Key Columns
The columns exposed by the view fall into several functional groups:
- Identity and linkage: ROW_ID, PROJECT_ID, DRAFT_INVOICE_NUM, LINE_NUM, DRAFT_INV_LINE_NUM_CREDITED, TASK_ID, EVENT_TASK_ID, EVENT_NUM, EVENT_ID.
- Amounts: AMOUNT, INV_AMOUNT, ACCT_AMOUNT, UNEARNED_REVENUE_CR, UNBILLED_RECEIVABLE_DR, ROUNDING_AMOUNT, UNBILLED_ROUNDING_AMOUNT_DR, UNEARNED_ROUNDING_AMOUNT_CR.
- Description and type: TEXT, TRANSLATED_TEXT, TAXABLE_FLAG, INVOICE_LINE_TYPE.
- Tax attributes: OUTPUT_TAX_EXEMPT_FLAG, OUTPUT_TAX_EXEMPT_REASON_CODE, OUTPUT_TAX_EXEMPT_NUMBER, OUTPUT_TAX_CLASSIFICATION_CODE.
- Address and work site: SHIP_TO_ADDRESS_ID and the derived WORK_SITE string built from HZ_LOCATIONS city, state, and postal code.
- Currency and rate: BILL_TRANS_CURRENCY_CODE, INVPROC_CURRENCY_CODE, PROJFUNC_CURRENCY_CODE, PROJFUNC_BILL_AMOUNT, plus decoded conversion type, rate date, and exchange rate values returned through the DECODE expressions against PA_CONVERSION_TYPES_V and PA_EVENTS.
- Task and event context: TASK_NUMBER, EVENT_TASK_NUMBER, COMPLETION_DATE.
- Audit and concurrency: LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, CREATION_DATE, CREATED_BY, PROGRAM_APPLICATION_ID, PROGRAM_ID, PROGRAM_UPDATE_DATE, REQUEST_ID.
Notably, three separate FND_LOOKUPS aliases (FND_LK, FND_LK1, FND_LK2) supply MEANING values, and the view also exposes CC_PROJECT_ID, CC_TAX_TASK_ID, and CC_REV_CODE_COMBINATION_ID for cross-charge handling.
Common Use Cases and Queries
The view is typically used to report or extract draft invoice lines prior to invoice release, to reconcile billed amounts against project events, and to feed downstream tax or revenue interfaces. A basic retrieval by draft invoice number resembles:
SELECT line_num, task_number, amount, inv_amount, bill_trans_currency_code, work_site FROM apps.pa_draft_invoice_lines_v WHERE draft_invoice_num = :p_invoice_num ORDER BY line_num;
Because the view joins to HR and HZ tables and to PA_CONVERSION_TYPES_V, it is generally appropriate to filter by PROJECT_ID or DRAFT_INVOICE_NUM to limit the result set. When currency conversion is required, the caller should evaluate the DECODE expressions for INVPROC_CURRENCY_CODE against the bill transaction currency and consult the PA_PROJECTS_ALL INVPROC_CURRENCY_TYPE setting to determine whether the project functional or project currency rate is returned. Given the "10SC Only" designation, implementers should confirm applicability for their specific localization before building production reports on this view.
-
View: PA_DRAFT_INVOICE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_V, object_name:PA_DRAFT_INVOICE_LINES_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICE_LINES_V ,
-
View: PA_DRAFT_INVOICE_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_V, object_name:PA_DRAFT_INVOICE_LINES_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICE_LINES_V ,
-
View: PA_DRAFT_INVOICE_LINES_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_ALL_V, object_name:PA_DRAFT_INVOICE_LINES_ALL_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICE_LINES_ALL_V ,
-
View: PA_DRAFT_INVOICE_LINES_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_ALL_V, object_name:PA_DRAFT_INVOICE_LINES_ALL_V, status:VALID, product: PA - Projects , description: 10SC Only , implementation_dba_data: APPS.PA_DRAFT_INVOICE_LINES_ALL_V ,
-
View: PA_DRAFT_INV_LINES_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: PA_DRAFT_INV_LINES_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: APPS.PA_DRAFT_INVOICE_LINES_ALL_V
12.2.2
-
VIEW: APPS.PA_DRAFT_INVOICE_LINES_ALL_V
12.1.1
-
VIEW: APPS.PA_DRAFT_INVOICE_LINES_V
12.1.1
-
VIEW: APPS.PA_DRAFT_INVOICE_LINES_V
12.2.2
-
VIEW: APPS.PA_DRAFT_INVOICE_LINES_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_ALL_V, object_name:PA_DRAFT_INVOICE_LINES_ALL_V, status:VALID,
-
VIEW: APPS.PA_DRAFT_INVOICE_LINES_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_ALL_V, object_name:PA_DRAFT_INVOICE_LINES_ALL_V, status:VALID,
-
VIEW: APPS.PA_DRAFT_INVOICE_LINES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_V, object_name:PA_DRAFT_INVOICE_LINES_V, status:VALID,
-
VIEW: APPS.PA_DRAFT_INVOICE_LINES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_DRAFT_INVOICE_LINES_V, object_name:PA_DRAFT_INVOICE_LINES_V, status:VALID,
-
eTRM - PA Tables and Views
12.1.1
-
eTRM - PA Tables and Views
12.2.2