Search Results hxc_find_notify_aprs_pkg




Overview

The APPS.HXC_FIND_NOTIFY_APRS_PKG package body is a core component of the Oracle E-Business Suite Time and Labor approval infrastructure, residing in the HXC application schema. Its principal business function is to identify the correct approvers for timecards and time deposits, determine the applicable approval style and routing mechanism, and generate the workflow notifications that solicit approval actions from those approvers. In doing so, the package bridges the Time and Labor data model with the Oracle Workflow engine, ensuring that submitted time entries flow through the configured supervisory, hierarchical, or formula-driven approval chains.

The package is classified under the OTHER API category in the ETRM repository and holds a VALID status in both EBS 12.1.1 and 12.2.2. It is referenced by ten other database objects, reflecting its role as a foundational service consumed by higher-level approval orchestration packages such as HXC_APPROVAL_WF_PKG and HXC_APPROVAL_HELPER. Because it is not referenced by any database object itself, it functions as a terminal call target invoked directly from application logic, workflow activities, and concurrent processes.

Key Procedures and Functions

The package body exposes twenty-nine documented procedures and functions that collectively span description resolution, approval routing, status capture, and workflow lifecycle management. The GET_DESCRIPTION, GET_DESCRIPTION_TC, and GET_DESCRIPTION_DATE functions resolve human-readable descriptions and date context for timecards and approval notifications, supporting notification message content. FIND_APR_STYLE determines the applicable approval style configuration, while FORMULA_SELECTS_MECHANISM evaluates the Oracle Fast Formula mechanism that decides which approval path applies.

Tables Accessed

The package reads and writes several Time and Labor and Oracle HRMS tables through APPS synonyms. HXC_APP_PERIOD_SUMMARY and HXC_TIMECARD_SUMMARY supply summarized timecard and approval period data used to build notifications. HXC_TIME_BUILDING_BLOCKS, HXC_TIME_ATTRIBUTES, HXC_TIME_ATTRIBUTE_USAGES, and HXC_TIME_CATEGORIES provide the time entry structure and categorization required to describe what is being approved. HXC_APPROVAL_COMPS, HXC_APPROVAL_STYLES, and HXC_APPROVAL_WF_S define the approval components, styles, and workflow settings that drive routing decisions. HXC_TIME_RECIPIENTS identifies notification recipients. HXC_AP_DETAIL_LINKS and HXC_TC_AP_LINKS maintain linkage between timecards and approval entities. FND_USER and FND_NEW_MESSAGES support identity resolution and message delivery. PER_ALL_ASSIGNMENTS_F, PER_PEOPLE_F, PER_PERIODS_OF_SERVICE, PER_PERSON_TYPES, and PER_PERSON_TYPE_USAGES_F supply the person and assignment hierarchy data used by HR_SUPERVISOR_APPROVAL.

Usage Notes

HXC_FIND_NOTIFY_APRS_PKG is typically invoked indirectly from Oracle Time and Labor approval workflows, self-service timecard submission pages, and concurrent programs that process timecard approvals. The self-service time deposit and timecard submission flows call approval determination logic that ultimately delegates to this package. It is also invoked from custom extensions that need to replicate or interrogate native approval routing behavior. Because it manipulates workflow state and notification records, invoking its procedures outside the standard approval lifecycle should be done with caution to avoid orphaning workflow items or generating duplicate notifications.