Search Results pa_vrm_utils
Overview
APPS.PA_VRM_UTILS is a utility package body in the Oracle E-Business Suite Projects (PA) module. Its name and documented contents associate it with the revenue and cost versioning/baselining logic maintained in the PA_BUDGET_VERSIONS table, which stores budget and revenue plan versions for a project. The package provides helper functions that compare baselined versions of a project's revenue and cost plan, isolating baseline-to-baseline differences and identifying the initial baselined version. In practice, these utilities support the version management processes that determine how revenue and cost amounts change from one approved baseline to the next.
The package is classified as OTHER (not a public API) in the documented metadata. It is referenced by one other package, indicating it is an internal dependency used by higher-level Projects logic rather than an entry point called directly by end users. The header comment dates the last source control revision to 2013, with a 120.0.12020000.1 version stamp consistent with the 12.1.1 / 12.2.2 release stream.
Key Procedures and Functions
- GET_REVENUE_DIFF_AMOUNT — Returns the difference between the revenue amount of the current baselined version and the revenue amount of the previous baselined version for a given project. It locates the immediately preceding version whose revenue plan type is approved and whose budget status is baselined, then computes the delta.
- GET_COST_DIFF_AMOUNT — The cost-side counterpart to the revenue function. It returns the difference between the cost amount of the current baselined version and that of the previous baselined version. This is the routine most directly associated with searches for "get_cost_amount," since it supplies the cost delta used in version comparison logic.
- IS_INITIAL_BASELINED_VER — Determines whether a supplied version is the initial baselined version for the project. It is used to guard logic that has no meaningful predecessor baseline to compare against.
- GET_INITIAL_BASELINED_REV_VER — Returns the initial baselined revenue version for the project, providing the reference point from which later revenue version comparisons are anchored.
Tables Accessed
The documented table reference is PA_BUDGET_VERSIONS, accessed through the APPS synonym. This table holds the version records for project budget and revenue plans, including the version number, project identifier, revenue amount, approval flag for the revenue plan type, budget status code, and change-order identifier. The package reads this table to locate baselined versions (BUDGET_STATUS_CODE = 'B'), to restrict evaluation to approved revenue plan types (APPROVED_REV_PLAN_TYPE_FLAG = 'Y'), and to exclude change-order-influenced rows (CI_ID IS NULL). The documented source excerpt for GET_REVENUE_DIFF_AMOUNT reflects exactly this pattern, walking backward through version numbers until a prior baselined version is found or the initial version is reached.
Usage Notes
PA_VRM_UTILS is an internal utility rather than a public API, so it is normally invoked indirectly by higher-level Projects package logic — the metadata shows it is referenced by one other package. It would typically be called during version comparison, baselining, or reporting processes that need to quantify how revenue or cost changed between an initial baseline and the current baseline. Because the functions depend on the presence of baselined version rows in PA_BUDGET_VERSIONS, they only return meaningful results when the project has at least one baselined version and the applicable plan types are approved. In 12.1.1 and 12.2.2 environments, custom code referencing GET_COST_DIFF_AMOUNT should call it through the APPS schema and treat the returned value as a delta to be interpreted against the corresponding version records.
-
PACKAGE BODY: APPS.PA_VRM_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_VRM_UTILS, status:VALID,
-
PACKAGE: APPS.PA_VRM_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PA_VRM_UTILS, status:VALID,
-
PACKAGE: APPS.PA_VRM_UTILS
12.2.2
-
VIEW: APPS.PA_VRM_SOURCE_DOC_LINES
12.2.2
owner:APPS, object_type:VIEW, object_name:PA_VRM_SOURCE_DOC_LINES, status:VALID,
-
PACKAGE BODY: APPS.PA_VRM_UTILS
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.PA_BUDGET_VERSIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_BUDGET_VERSIONS, status:VALID,
-
APPS.PA_VRM_SOURCE_DOC_LINES dependencies on PA_VRM_UTILS
12.2.2
-
APPS.PA_VRM_UTILS dependencies on PA_VRM_UTILS
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2