Search Results derive_project_attributes
Overview
APPS.PJI_REP_UTIL is a utility package body in the Oracle E-Business Suite Projects (PJI) reporting schema. Its principal business function is to centralize the derivation and caching of the reporting context that Project Intelligence and Project Management reporting engines require before any project cost, budget, forecast, or performance data can be queried. This context includes the effective project identifier, calendar information, budget and forecast plan versions, currency codes, resource breakdown structure (RBS) parameters, and rollup flags.
The package name reflects its role as a shared repository ("REP_UTIL") of reusable derivation logic. Rather than forcing each reporting concurrent program to re-implement the same lookups against PA_PROJECTS_ALL, PA_BUDGET_VERSIONS, and PA_PERIODS_ALL, PJI_REP_UTIL exposes a single, consistent set of derivation procedures. The package body maintains numerous package-level global variables (g_project_id, g_pa_calendar_type, g_global_calendar_type, g_period_name, g_actual_version_id, and the cost/revenue budget and forecast version identifiers) that are populated by these derivation routines and subsequently consumed by downstream report logic.
Key Procedures and Functions
The documented interface comprises 71 procedures and functions. The most directly relevant to the search term derive_project_attributes is DERIVE_PROJECT_ATTRIBUTES, which resolves the core project-level attributes — most notably the project identifier and its associated organizational, calendar, and currency characteristics — and stores them in the package globals for reuse throughout a reporting session.
- DERIVE_PROJECT_ATTRIBUTES — Establishes the principal project context used by subsequent derivations.
- DERIVE_DEFAULT_CALENDAR_INFO, GET_DEFAULT_PERIOD_NAME, GET_DEFAULT_CALENDAR_TYPE — Resolve the calendar type, calendar identifier, and default accounting period for the reporting run.
- DERIVE_DEFAULT_PLAN_VERSIONS, GET_VERSION_TYPE — Determine the applicable cost and revenue budget, forecast, and budget-2 version identifiers, including their "original" counterparts.
- DERIVE_DEFAULT_CURRENCY_INFO, DERIVE_PERF_CURRENCY_INFO — Resolve project and project functional currency codes for cost and performance reporting.
- DERIVE_DEFAULT_RBS_PARAMETERS, DERIVE_PERF_RBS_PARAMETERS — Derive resource breakdown structure parameters used to structure reporting output.
- DERIVE_PRG_ROLLUP_FLAG, DERIVE_PERF_PRG_ROLLUP_FLAG — Set the program (rollup) flags governing how results are aggregated.
- DERIVE_FACTORBY — Determines the factor-by dimension for summarization.
- GET_TASK_BASELINE_COST, GET_TASK_LATEST_PUBLISHED_COST — Return task-level baseline and latest published cost values.
- OLAP_DENORM_CREATE, POPULATE_WBS_HIERARCHY_CACHE, POPULATE_WP_PLAN_VERS_CACHE — Build denormalized and cached structures for OLAP-style reporting performance.
- LOG_STRUCT_CHANGE_EVENT — Writes structural change events to the project events log.
- ADD_MESSAGE — Wraps FND_MESSAGE calls to register application messages and tokens for user-facing error or warning output.
Tables Accessed
The package reads and writes against the following APPS synonyms:
- PA_PROJECTS_ALL, PA_IMPLEMENTATIONS, PA_IMPLEMENTATIONS_ALL — Project master data and implementation-level configuration.
- PA_BUDGET_VERSIONS, PA_PROJ_ELEMENT_VERSIONS — Budget/forecast version definitions and element version records.
- PA_PERIODS_ALL, GL_PERIOD_STATUSES — Project and GL calendar period definitions and their open/closed status.
- PA_STRUCTURE_TYPES, PA_OBJECT_RELATIONSHIPS — Structure and relationship metadata used in rollup and hierarchy derivation.
- PA_PROJ_FP_OPTIONS — Financial plan options that influence plan version selection.
- PJI_XBS_DENORM, PA_OLAP_XBS_DENORM_TMP, PA_OLAP_WBS_HEADER, PJI_FP_XBS_ACCUM_F — Denormalized and accumulated OLAP reporting structures.
- PA_PJI_PROJ_EVENTS_LOG — Target for structural change event logging.
Usage Notes
PJI_REP_UTIL is an internal utility package invoked during the execution of Project Intelligence and Projects reporting concurrent programs and supporting forms. The typical pattern is to call the DERIVE_* routines once at the start of a report run, populating package globals, and then reference those globals throughout the report's query logic. Because the derivations depend on session-level globals, the package assumes single-threaded use within a given database session. It is referenced by ten other packages, confirming its role as a shared dependency. The package also honors the PA_DEBUG_MODE profile option for diagnostic output, which is useful when troubleshooting incorrect periods, versions, or currency derivation in custom reporting. Custom code should invoke these procedures only within the Projects reporting context, after the required PA_PROJECTS_ALL and calendar records have been established.
-
PACKAGE BODY: APPS.PJI_REP_UTIL
12.1.1
-
PACKAGE: APPS.PJI_REP_UTIL
12.2.2
-
PACKAGE BODY: APPS.PA_MULTI_CURRENCY_TXN
12.1.1
-
PACKAGE BODY: APPS.PA_MULTI_CURRENCY_TXN
12.2.2
-
PACKAGE: APPS.PJI_REP_UTIL
12.1.1
-
PACKAGE BODY: APPS.PJI_REP_UTIL
12.2.2
-
APPS.PA_MULTI_CURRENCY_TXN dependencies on PA_EXPENDITURE_ITEMS_ALL
12.1.1
-
APPS.PA_MULTI_CURRENCY_TXN dependencies on PA_EXPENDITURE_ITEMS_ALL
12.2.2
-
APPS.PA_MULTI_CURRENCY_TXN dependencies on PA_EXPENDITURE_ITEMS
12.1.1
-
APPS.PA_MULTI_CURRENCY_TXN dependencies on PA_EXPENDITURE_ITEMS
12.2.2
-
APPS.PJI_REP_UTIL dependencies on PJI_UTILS
12.2.2
-
APPS.PJI_REP_UTIL dependencies on PJI_UTILS
12.1.1
-
APPS.PA_MULTI_CURRENCY_TXN dependencies on PA_PROJECTS_ALL
12.1.1
-
APPS.PA_MULTI_CURRENCY_TXN dependencies on PA_PROJECTS_ALL
12.2.2
-
APPS.PJI_REP_UTIL dependencies on PA_PROJECTS_ALL
12.1.1
-
APPS.PJI_REP_UTIL dependencies on PA_PROJECTS_ALL
12.2.2
-
APPS.PJI_REP_UTIL dependencies on PJI_REP_UTIL
12.2.2
-
APPS.PJI_REP_UTIL dependencies on PJI_REP_UTIL
12.1.1
-
APPS.PJI_REP_UTIL dependencies on FND_API
12.2.2
-
APPS.PJI_REP_UTIL dependencies on FND_API
12.1.1