Results for “online_exp_change_reason”

8 results




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

Overview

APPS.PA_EXPENDITURE_HISTORY_V is a reporting view in Oracle E-Business Suite (validated against 12.1.1 and 12.2.2) that exposes the audited change history of project expenditure items. It joins the transactional history table PA_EXPENDITURE_HISTORY to project, task, employee, and lookup reference data so that each historical expenditure event is presented with human-readable context rather than raw identifiers. The view is central to any requirement that must answer "what changed on this expenditure item, when, by whom, and why." The searched term "online_exp_change_reason" is not a column of this view; it is the lookup type (LOOKUP_TYPE value) used to decode the CHANGE_CODE column into a meaningful description via the MEANING column. The view therefore serves as the primary supported interface for reporting on expenditure adjustments, reversals, and online expenditure modifications across modules such as Project Costing, Purchasing, Payables, and Costing.

Underlying Base Objects

The view is defined over four directly referenced objects: PA_EXPENDITURE_HISTORY (accessed through a synonym), PA_PROJECTS_EXPEND_V, PA_TASKS_EXPEND_V, both views over PA_PROJECTS and PA_TASKS respectively, PA_LOOKUPS, and PA_EMPLOYEES. The joins are equi-joins: TASK_ID to PA_TASKS_EXPEND_V, PROJECT_ID to PA_PROJECTS_EXPEND_V, INCURRED_BY_PERSON_ID to PA_EMPLOYEES (effective-dated on TRUNC(SYSDATE)), and LOOKUP_CODE to PA_LOOKUPS restricted to LOOKUP_TYPE = 'ONLINE_EXP_CHANGE_REASON'. In addition, the documented metadata lists indirect dependencies: PA_PROJECT_UTILS, PA_TASK_UTILS, PA_UTILS4, PA_CROSS_BUSINESS_GRP, FND_PROFILE, HR_GENERAL, HR_PERSON_NAME, and HR_SECURITY. The HR and FND packages are invoked through the security and name-resolution logic embedded in PA_EMPLOYEES and the project/task views, which enforce operating unit and security profile access. This means queries against this view return only those projects, tasks, and persons the connecting user is authorized to see.

Key Columns

Common Use Cases and Queries

Typical scenarios include audit trails for expenditure adjustments, reconciliation of reversals, and investigation of online expenditure change reasons. A representative query lists history by project and change reason:

SELECT h.project_number, h.project_name, h.task_number,
       h.expenditure_type, h.change_code, h.meaning,
       h.employee_name, h.expenditure_item_date
  FROM apps.pa_expenditure_history_v h
 WHERE h.change_code = 'ADJUSTMENT'
   AND h.expenditure_item_date BETWEEN :p_start AND :p_end
 ORDER BY h.project_number, h.expenditure_item_date;

A second common pattern resolves the change reason explicitly by joining to the lookup for the requested lookup type, filtering on the change code or on MEANING. Because the view already decodes CHANGE_CODE through PA_LOOKUPS with LOOKUP_TYPE 'ONLINE_EXP_CHANGE_REASON', users searching for "online_exp_change_reason" are typically seeking either the valid lookup codes for a domain or the description that appears against a given history record. The view should be queried with the APPS schema, and its results are automatically filtered by project and person security as enforced by the underlying packages. Performance is generally acceptable for project- and date-restricted queries because the dominant access path is PA_EXPENDITURE_HISTORY by EXPENDITURE_ITEM_DATE or PROJECT_ID.