Search Results process_range
Overview
APPS.HRI_OPL_CMNTS is a multithreaded PL/SQL package body that belongs to the Oracle HR Intelligence (HRI) product family in Oracle E-Business Suite 12.1.1 and 12.2.2. Its central business function is the processing and population of the comments collection that supports Oracle HRMS intelligence and budgeting analytics. The package gathers and consolidates commitment-related commentary data so that it can be consumed by downstream reporting, workforce intelligence, and budget commitment analysis.
The defining architectural characteristic of this package is its reliance on the hri multithreading utility (HRI_ADM_MTHD_ACTIONS). As documented in the package header, the multithreading framework processes a collection across multiple threads through a strict three-stage lifecycle: the utility first invokes a PRE_PROCESS routine to initialize globals and return a SQL statement from which processing ranges are derived; it then invokes PROCESS_RANGE once per thread, passing the range identifier plus starting and ending object identifiers; finally it invokes POST_PROCESS to complete any residual work. Global variables such as g_refresh_start_date, g_refresh_end_date, g_full_refresh, g_debug_flag, and g_concurrent_flag carry parameter state across these phases, and an internal output helper routes diagnostics either to the concurrent request log via fnd_file.put_line or to hr_utility.trace depending on context.
Key Procedures and Functions
- PRE_PROCESS — Initialization entry point for the collection. It sets global variables (including the refresh date range and full-refresh flag) and returns the SQL construct against which the multithreading utility generates the processing ranges.
- PROCESS_RANGE — The worker procedure executed by each thread. The multithreading utility passes the range identifier together with the starting and ending object identifier for the range, and the procedure processes every assignment falling within that slice. This is the procedure most commonly associated with the search term "process_range."
- POST_PROCESS — Finalization step that performs post-processing tasks after all threads have completed, such as cleanup, status updates, or aggregation.
- LOAD_TABLE — Loads processed records into the target collection structures, completing the extract/transform/load sequence for the comments collection.
Tables Accessed
The package reads from and writes to the following objects via APPS synonyms:
- HRI_ADM_MTHD_ACTIONS — Holds the multithreading action definition (global array
g_mthd_action_array) that governs range creation. - HRI_MB_CMNTS_CT / HRI_MB_CMNTS_CT_S — The comments collection table and its corresponding sequence; the primary targets for loaded rows.
- PER_ALL_ASSIGNMENTS_F — Source of assignment records processed per range.
- PER_PAY_BASES, PAY_ELEMENT_TYPES_F — Element and pay-basis definitions used to derive commitment amounts and commentary context.
- PQH_BDGT_CMMTMNT_ELMNTS, PQH_BUDGET_VERSIONS, PQH_ELEMENT_COMMITMENTS — Public-sector budgeting and commitment tables providing budget version and commitment element data that feed the comments collection.
Usage Notes
HRI_OPL_CMNTS is not exposed as a public application programming interface. The ETRM classification is OTHER, and the package is referenced by zero other packages, indicating it is an internal implementation unit invoked indirectly rather than through standard API calls. Typical invocation is through a concurrent program that requests HR intelligence collection processing; the concurrent manager supplies the request context that sets g_concurrent_flag and enables log output. Because the package depends wholly on the hri multithreading utility, it should not be called directly from custom code without first registering an appropriate action row in HRI_ADM_MTHD_ACTIONS. The embedded header (hriocmnt.pkb 120.3, dated 2005/12/15) is unchanged across 12.1.1 and 12.2.2, and its behavior is consistent in both releases.
-
PACKAGE BODY: APPS.HRI_OPL_CMNTS
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_ACTLS
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_CMNTS_ACTLS_ORGMGR
12.1.1
-
PACKAGE: APPS.HRI_OPL_SUPH_EVENTS
12.2.2
-
PACKAGE: APPS.HRI_OPL_SUPH_HST
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_WRKFC_ORGMGR
12.1.1
-
PACKAGE: APPS.HRI_OPL_SUPH_EVENTS
12.1.1
-
PACKAGE: APPS.HRI_OPL_UTL_ABSNC_FACT
12.1.1
-
PACKAGE: APPS.HRI_OPL_ACTLS
12.1.1
-
PACKAGE: APPS.HRI_OPL_REC_CAND_PIPLN
12.1.1
-
PACKAGE: APPS.HRI_OPL_WRKFC_EVT_ORGH
12.1.1
-
PACKAGE: APPS.HRI_OPL_BEN_ELIG_ENRL
12.1.1
-
PACKAGE: APPS.HRI_OPL_UTL_ABSNC_DIM
12.1.1
-
PACKAGE: APPS.HRI_OPL_WRKFC_EVENTS
12.1.1
-
PACKAGE: APPS.HRI_OPL_SUP_ABSNC
12.1.1
-
PACKAGE: APPS.HRI_OPL_SUPH_HST
12.2.2
-
PACKAGE: APPS.HRI_OPL_WRKFC_EVT_MGRH
12.1.1
-
PACKAGE: APPS.HRI_OPL_CMNTS
12.1.1
-
PACKAGE: APPS.HRI_OPL_SUP_WRKFC
12.1.1
-
PACKAGE: APPS.HRI_OPL_SUP_WRKFC_ASG
12.1.1
-
PACKAGE: APPS.HRI_OPL_WRKFC_ORGMGR
12.1.1
-
PACKAGE: APPS.HRI_OPL_CMNTS_ACTLS_ORGMGR
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_SUP_WRKFC
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_MULTI_THREAD
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_MULTI_THREAD
12.2.2
-
PACKAGE: APPS.HRI_OPL_BEN_ENRL_ACTN
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_UTL_ABSNC_FACT
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_SUPH_EVENTS
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_SUPH_EVENTS
12.2.2
-
PACKAGE BODY: APPS.HRI_OPL_BEN_ENRL_ACTN
12.1.1
-
PACKAGE: APPS.HRI_OPL_ASGN_EVENTS
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_SUP_ABSNC
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_UTL_ABSNC_DIM
12.1.1
-
PACKAGE: APPS.HRI_OPL_MULTI_THREAD
12.2.2
-
PACKAGE BODY: APPS.HRI_OPL_SUP_WRKFC_ASG
12.1.1
-
PACKAGE: APPS.HRI_OPL_MULTI_THREAD
12.1.1
-
PACKAGE: APPS.HRI_OPL_EVENT_CAPTURE
12.1.1
-
PACKAGE: APPS.HRI_OPL_EVENT_CAPTURE
12.2.2
-
PACKAGE BODY: APPS.HRI_OPL_WRKFC_EVT_ORGH
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_WRKFC_EVT_MGRH
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_EVENT_CAPTURE
12.2.2
-
PACKAGE BODY: APPS.HRI_OPL_EVENT_CAPTURE
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_ASGN_EVENTS
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_BEN_ELIG_ENRL
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_WRKFC_EVENTS
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_REC_CAND_PIPLN
12.1.1
-
PACKAGE BODY: APPS.HRI_OPL_SUPH_HST
12.2.2
-
PACKAGE BODY: APPS.HRI_OPL_SUPH_HST
12.1.1
-
APPS.HRI_OPL_ASGN_EVENTS dependencies on HRI_OPL_ASGN_EVENTS
12.1.1
-
APPS.HRI_OPL_MULTI_THREAD dependencies on HR_GENERAL
12.1.1