Results for “pa_proj_expend_view”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PA_PROJ_EXPEND_VIEW is a reporting view owned by the APPS schema in Oracle E-Business Suite, defined within the Projects (PA) product family. It presents a consolidated, denormalized read of project expenditure items across both cost and revenue, allowing report authors and integrators to query a single object rather than joining the underlying transactional tables. The view surfaces labor, expense report, and usage expenditure lines together with their associated project, task, person, vendor, organization, job, billing, and distribution attributes. It is marked as VALID and exists across the 12.1.1 and 12.2.2 releases. Because it resolves foreign keys into descriptive names and applies lookup and currency logic at query time, it is commonly used in custom reports, concurrent program extracts, and inbound/outbound interfaces requiring human-readable expenditure detail.

Underlying Base Objects

The view is defined over a set of core PA and shared HR/AP objects. The principal source is PA_EXPENDITURE_ITEMS_ALL (synonym), which supplies the expenditure item grain and columns such as EXPENDITURE_ITEM_ID, QUANTITY, RAW_COST, BURDEN_COST, and bill/revenue amounts. The PA_EXPENDITURES_ALL synonym and PA_COST_DIST_LINES_ALL_B are referenced for expenditure and cost distribution attributes, including distribution flags and SYSTEM_REFERENCE columns. Project and task context comes from PA_PROJECTS and PA_TASKS. Expenditure classification is joined through PA_EXPENDITURE_TYPES, while status meanings are resolved from PA_LOOKUPS. Personnel data is drawn from PER_ALL_PEOPLE_F, PER_ALL_ASSIGNMENTS_F, and PER_JOBS, and supplier data from the PO_VENDORS view. Two PL/SQL packages, PA_EXPENDITURES_UTILS and PA_UTILS4, are invoked within the view text to translate organization names and unit-of-measure descriptions, meaning the view carries function-call overhead and should be filtered before retrieval.

Key Columns

Common Use Cases and Queries

A frequent requirement is extracting billable, undistributed expenditure for a project. Note that filters should be applied on the base columns and the view queried narrowly, since the embedded PL/SQL functions evaluate per row:

  • Project cost and revenue analysis by expenditure category and task.
  • Unbilled or on-hold expenditure review prior to invoice generation.
  • Vendor versus employee (labor/non-labor) spend breakdowns.
  • Organization-level cross-charging and override reporting.
  • Interface extracts where descriptive names, rather than IDs, are required.

A representative query is:

SELECT expenditure_item_id, segment1, name, expenditure_type,
  expenditure_item_date, raw_cost, burden_cost, bill_amount,
  adjusted_revenue, billable_flag, task_number
FROM apps.pa_proj_expend_view
WHERE project_id = :p_project_id
  AND billable_flag = 'Y'
  AND expenditure_item_date BETWEEN :p_from AND :p_to;

Because the view exposes the labor, expense, and usage lines in a single structure, it remains a practical foundation for custom Projects reporting in both 12.1.1 and 12.2.2, provided query predicates are applied early to constrain the function-driven column derivation.