Search Results pafv_invoice_lines
Overview
PAFV_INVOICE_LINES is a read-only business view owned by the APPS schema within the Oracle Projects (PA) module of Oracle E-Business Suite 12.1.1 and 12.2.2. Its documented purpose is to expose information about the individual lines of a draft invoice generated through the Oracle Projects billing cycle. The view is defined WITH READ ONLY, meaning it is intended strictly for querying and reporting rather than for insert, update, or delete operations. It combines header-level attributes from the draft invoice with line-level detail from the draft invoice items, and enriches that data with descriptive project, task, and currency conversion information.
Because it is a business view, PAFV_INVOICE_LINES is commonly used as a reporting and integration surface, allowing external reports, custom concurrent programs, and interfaces to consume draft invoice line data without joining the highly normalized underlying Projects tables directly.
Underlying Base Objects
The view is defined over five documented base objects:
- PA_DRAFT_INVOICES_ALL — the draft invoice header, supplying invoice-level attributes such as the draft invoice number, currency codes, rate types, rate dates, exchange rates, and system reference.
- PA_DRAFT_INVOICE_ITEMS — the draft invoice lines, supplying line number, amounts, text, task and event references, and audit columns.
- PA_PROJECTS_ALL — the project master, supplying project name and number.
- PA_TASKS — supplying task name and task number (joined with an outer join, so lines without a task still appear).
- PA_CONVERSION_TYPES_V — referenced twice to resolve the invoice and accounted currency rate types into user conversion type names.
The primary joins are on PROJECT_ID and DRAFT_INVOICE_NUM between the draft invoice header and items, with PROJECT_ID linking to the project master and TASK_ID linking to tasks.
Key Columns
- PROJECT_ID, PROJECT_NAME, PROJECT_NUMBER — identify the project associated with the invoice line.
- DRAFT_INVOICE_NUMBER, LINE_NUMBER — identify the draft invoice and the specific line within it.
- AMOUNT, PROJECT_CURRENCY_CODE — the line amount in the project currency.
- INV_AMOUNT, INV_CURRENCY_CODE, INV_RATE_TYPE, INV_RATE_DATE, INV_EXCHANGE_RATE — the line amount and exchange details in invoice currency.
- ACCTD_AMOUNT, ACCTD_CURRENCY_CODE, ACCTD_RATE_TYPE, ACCTD_RATE_DATE, ACCTD_EXCHG_RATE — the line amount and exchange details in the accounted currency.
- INV_RATE_USER_TYPE, ACCTD_RATE_USER_TYPE — derived user conversion type names resolved from PA_CONVERSION_TYPES_V.
- INVOICE_LINE_TEXT — the descriptive text carried on the draft invoice line.
- TASK_ID, TASK_NAME, TASK_NUMBER, EVENT_NUMBER, EVENT_TASK_ID — task and event references associated with the line.
- SYSTEM_REFERENCE, DRAFT_INVOICE_NUM_CREDITED — system identifiers, including reference to a credited draft invoice.
- LAST_UPDATE_DATE, LAST_UPDATED_BY, CREATION_DATE, CREATED_BY — standard audit columns.
Common Use Cases and Queries
Typical uses include reviewing draft invoice lines before release, reconciling project, invoice, and accounted amounts, and extracting billing detail for downstream reporting or integration. The following samples are illustrative.
- List all lines for a given draft invoice:
SELECT draft_invoice_number, line_number, project_number,
task_number, amount, inv_amount, acctd_amount
FROM pafv_invoice_lines
WHERE draft_invoice_number = :p_invoice
ORDER BY line_number;
- Summarize invoice currency totals by project:
SELECT project_number, project_name, inv_currency_code,
SUM(inv_amount) total_inv_amount
FROM pafv_invoice_lines
GROUP BY project_number, project_name, inv_currency_code;
Because the view is read-only and enforces organization-level security via the embedded ORG_ID predicate, queries automatically return only the draft invoice lines visible within the current operating unit context.
-
View: PAFV_INVOICE_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PAFV_INVOICE_LINES, object_name:PAFV_INVOICE_LINES, status:VALID, product: PA - Projects , description: Business view to show information about the lines of a draft invoice. , implementation_dba_data: APPS.PAFV_INVOICE_LINES ,
-
View: PAFV_INVOICE_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PAFV_INVOICE_LINES, object_name:PAFV_INVOICE_LINES, status:VALID, product: PA - Projects , description: Business view to show information about the lines of a draft invoice. , implementation_dba_data: APPS.PAFV_INVOICE_LINES ,
-
VIEW: APPS.PA_CONVERSION_TYPES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_CONVERSION_TYPES_V, object_name:PA_CONVERSION_TYPES_V, status:VALID,
-
VIEW: APPS.PA_CONVERSION_TYPES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_CONVERSION_TYPES_V, object_name:PA_CONVERSION_TYPES_V, status:VALID,
-
VIEW: APPS.PAFV_INVOICE_LINES
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PAFV_INVOICE_LINES, object_name:PAFV_INVOICE_LINES, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICES_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICES_ALL, status:VALID,
-
SYNONYM: APPS.PA_DRAFT_INVOICES_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_DRAFT_INVOICES_ALL, status:VALID,
-
VIEW: APPS.PAFV_INVOICE_LINES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PAFV_INVOICE_LINES, object_name:PAFV_INVOICE_LINES, 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,
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
SYNONYM: APPS.PA_TASKS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_TASKS, status:VALID,
-
SYNONYM: APPS.PA_TASKS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_TASKS, status:VALID,
-
SYNONYM: APPS.PA_PROJECTS_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECTS_ALL, status:VALID,
-
SYNONYM: APPS.PA_PROJECTS_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_PROJECTS_ALL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
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