Search Results pji_utils
Overview
APPS.PJI_UTILS is a utility package body within the Oracle EBS Projects Intelligence (PJI) product family. It provides a shared library of low-level helper routines that other PJI packages, concurrent programs, and reporting components invoke for common infrastructure tasks: retrieving and persisting system parameters, resolving schema and tablespace names, managing currency conversion functions, writing to log and output files, and formatting monetary values. Its classification in the ETRM metadata is OTHER, indicating that it is not a public business API in the sense of an interface table handler, but rather an internal support package. The package reports a status of VALID and resides in the APPS schema, which means it is compiled against APPS synonyms and is callable from any PL/SQL unit running with the standard EBS APPS credentials.
The package is heavily depended upon: ETRM documentation records that it is referenced by 44 other packages. This makes PJI_UTILS one of the foundational components of the PJI subsystem rather than an end-user-facing artifact.
Key Procedures and Functions
The documented interface contains 39 procedures and functions. Grouped by purpose, they are as follows.
- Parameter management: GET_PARAMETER and SET_PARAMETER read and write runtime parameter values. GET_SETUP_PARAMETER retrieves configuration values defined during PJI setup. These routines abstract the underlying PJI_SYSTEM_PARAMETERS and PJI_SYSTEM_SETTINGS storage so that callers need not query those tables directly.
- Schema resolution: GET_APPS_SCHEMA_NAME, GET_PA_SCHEMA_NAME, and GET_PJI_SCHEMA_NAME return the names of the APPS, Projects (PA), and PJI schemas respectively. These are used to build dynamic SQL and to resolve object ownership in environments where database users differ from the standard installation.
- Output and logging control: SET_OUTPUT_DEST designates the destination for generated output. WRITE2LOG, WRITE2OUT, and WRITE2SSWALOG route diagnostic and report text to the log file, the concurrent manager output file, and the SSWA (self-service) log respectively. RESET_SSWA_SESSION_CACHE clears cached session-level logging state.
- Currency conversion: SET_CURR_FUNCTION and RESET_CURR_FUNCTION install and remove the currency conversion function used by the session. GET_GLOBAL_RATE_PRIMARY returns the conversion rate to the primary currency, GET_GLOBAL_PRIMARY_CURRENCY returns the primary currency code, and GET_MAU_PRIMARY returns the primary monetary amount unit. SPREAD_AMOUNT distributes a monetary amount across periods or elements.
- Extraction and tablespace helpers: GET_EXTRACTION_START_DATE returns the lower bound date for data extraction. GET_PJI_DATA_TSPACE and GET_PJI_INDEX_TSPACE return the tablespace names configured for PJI data and index segments, supporting dynamic DDL.
Tables Accessed
PJI_UTILS reads and writes through APPS synonyms. Configuration and system state are held in PJI_SYSTEM_PARAMETERS, PJI_SYSTEM_SETTINGS, PJI_SYSTEM_CONFIG_HIST, and PJI_ORG_EXTR_INFO. Debug and event traces are written to PJI_SYSTEM_DEBUG_MSG, PJI_SYSTEM_DEBUG_MSG_S, and PA_PJI_PROJ_EVENTS_LOG. Currency operations draw on FND_CURRENCIES, GL_DAILY_CONVERSION_TYPES, and the GL_CURRENCY_API referenced in the package dependencies. Project and organization context comes from PA_IMPLEMENTATIONS_ALL, PA_OBJECT_RELATIONSHIPS, PA_PROJ_ELEMENT_VERSIONS, PA_RBS_PRJ_ASSIGNMENTS, HR_ALL_ORGANIZATION_UNITS_VL, and GL_PERIOD_STATUSES. Installation and profile information is obtained from FND_ORACLE_USERID, FND_PROFILE_OPTIONS, FND_PROFILE_OPTION_VALUES, and the FND_PROFILE dependency. Lookup values are resolved through PJI_LOOKUPS, and calendar context through PJI_TIME_CAL_PERIOD_V and PJI_TIME_ENT_PERIOD_V. Dynamic object metadata is inspected via ALL_TABLES and ALL_INDEXES.
Usage Notes
Because PJI_UTILS is not referenced by any database object and is itself referenced by 44 packages, it is typically invoked from within other PL/SQL units rather than directly from Oracle Forms or concurrent program definitions. Standard usage patterns include calling GET_PARAMETER at the start of a processing routine, invoking WRITE2LOG between processing steps for traceability, and using the currency helpers before performing any amount conversion. Developers extending PJI functionality should call these utilities rather than reimplementing equivalents, since the package centralizes the profile and setup lookups that govern correct behavior across multi-organization and multi-currency implementations. The dependency on UTL_FILE and FND_FILE indicates that WRITE2OUT and WRITE2LOG require the concurrent program context or an appropriately configured database directory; invoking them outside that context may result in runtime errors. No parameter lists are documented in the ETRM metadata, so callers should inspect the package specification in the target environment before reuse.
-
PACKAGE BODY: APPS.PJI_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_UTILS, status:VALID,
-
PACKAGE BODY: APPS.PJI_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_UTILS, status:VALID,
-
PACKAGE: APPS.PJI_UTILS
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PJI_UTILS, status:VALID,
-
PACKAGE: APPS.PJI_UTILS
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PJI_UTILS, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_DEBUG_MSG
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_DEBUG_MSG, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_DEBUG_MSG_S
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_DEBUG_MSG_S, status:VALID,
-
PACKAGE BODY: APPS.PJI_PJP_SUM_CUST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_PJP_SUM_CUST, status:VALID,
-
PACKAGE BODY: APPS.PJI_CURR_REP_PERIODS_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_CURR_REP_PERIODS_UTIL, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_CONFIG_HIST
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_CONFIG_HIST, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_DEBUG_MSG_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_DEBUG_MSG_S, status:VALID,
-
PACKAGE BODY: APPS.PJI_CURR_REP_PERIODS_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_CURR_REP_PERIODS_UTIL, status:VALID,
-
SYNONYM: PUBLIC.V$PQ_SYSSTAT
12.2.2
owner:PUBLIC, object_type:SYNONYM, object_name:V$PQ_SYSSTAT, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_PARAMETERS, status:VALID,
-
PACKAGE: APPS.PJI_RM_SUM_MAIN
12.2.2
owner:APPS, object_type:PACKAGE, object_name:PJI_RM_SUM_MAIN, status:VALID,
-
PACKAGE BODY: APPS.PJI_PJP_FP_CURR_WRAP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_PJP_FP_CURR_WRAP, status:VALID,
-
PACKAGE: APPS.PJI_RM_SUM_MAIN
12.1.1
owner:APPS, object_type:PACKAGE, object_name:PJI_RM_SUM_MAIN, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_DEBUG_MSG
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_DEBUG_MSG, status:VALID,
-
PACKAGE BODY: APPS.PJI_PROCESS_UTIL
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_PROCESS_UTIL, status:VALID,
-
PACKAGE BODY: APPS.PA_PPR_SMART_SLICE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_PPR_SMART_SLICE_PVT, status:VALID,
-
SYNONYM: PUBLIC.V$PQ_SYSSTAT
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:V$PQ_SYSSTAT, status:VALID,
-
PACKAGE BODY: APPS.PJI_PJP_SUM_CUST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_PJP_SUM_CUST, status:VALID,
-
PACKAGE BODY: APPS.PA_RBS_ASGMT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PA_RBS_ASGMT_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.PJI_PJ_PROJ_CLASS_EXTR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_PJ_PROJ_CLASS_EXTR, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_PLAN_CAL_RLPS_T
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_PLAN_CAL_RLPS_T, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_SUM_BKLG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_SUM_BKLG, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_SUM_ACT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_SUM_ACT, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_CONFIG_HIST
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_CONFIG_HIST, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_SUM_BKLG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_SUM_BKLG, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_PLAN_CAL_RLPS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_PLAN_CAL_RLPS, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_CMT_EXTR
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_CMT_EXTR, status:VALID,
-
PACKAGE BODY: APPS.PJI_AUDIT_RPT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_AUDIT_RPT, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.PJI_FM_SUM_ACT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_SUM_ACT, status:VALID,
-
PACKAGE BODY: APPS.PA_RBS_ASGMT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PA_RBS_ASGMT_PVT, status:VALID,
-
PACKAGE BODY: APPS.PJI_RM_SUM_MAIN
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_RM_SUM_MAIN, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_PLAN_CAL_RLPS_T
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_PLAN_CAL_RLPS_T, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_EXTR
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_EXTR, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_PARAMETERS, status:VALID,
-
PACKAGE BODY: APPS.PJI_PJI_EXTRACTION_UTILS
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_PJI_EXTRACTION_UTILS, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_SUM_ROLLUP_ACT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_SUM_ROLLUP_ACT, status:VALID,
-
SYNONYM: APPS.PJI_SYSTEM_SETTINGS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PJI_SYSTEM_SETTINGS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.PJI_RESOURCE_UTILZ
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_RESOURCE_UTILZ, status:VALID,
-
PACKAGE BODY: APPS.PJI_PJP_FP_CURR_WRAP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_PJP_FP_CURR_WRAP, status:VALID,
-
SYNONYM: APPS.PJI_ORG_EXTR_INFO
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PJI_ORG_EXTR_INFO, status:VALID,
-
SYNONYM: APPS.PA_RBS_PRJ_ASSIGNMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:PA_RBS_PRJ_ASSIGNMENTS, status:VALID,
-
PACKAGE BODY: APPS.PJI_REP_MEASURE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_REP_MEASURE_UTIL, status:VALID,
-
PACKAGE BODY: APPS.PJI_FM_SUM_MAIN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PJI_FM_SUM_MAIN, status:VALID,