hrms user hooks
DESCRIPTION
Hrms User Hooks For Leave Overlaping ValidationTRANSCRIPT
AIM
MD.120 – INSTALLATION INSTRUCTIONS
QVC HRMS USER HOOKS
Author: Dhanraj D
Creation Date: 24-SEP-2014
Last Updated:
Version: 1.0
Document Control
Change Record
Date Author Version Change Reference
24-SEP-2014 Dhanraj D 1.0
Reviewers
Name Position
ContentsDocument Control..........................................................................2
Contents.......................................................................................3
Custom Package Deployment and SQL Execution..............................4
Preprocessor.................................................................................5
Standard Package Deployment........................................................8
Custom Package Deployment and SQL Execution Run the below script in required Database order by ascending as mentioned in file names
Prerequisites1) Needs to take the backup of package hr_person_absence_bk 2
Run the query below and it needs to fetch a row.
select * from HR_API_HOOK_CALLS where call_procedure like 'XXQVC_ABSENCE_OVERLAP_CHECK%';
Run the query below and get noted the api_module_id.
Select ahk.api_hook_id, ahk.api_module_id, ahk.hook_package, ahk.hook_procedure from hr_api_hooks ahk, hr_api_modules ahm where ahm.module_name='CREATE_PERSON_ABSENCE' and ahm.api_module_type = 'BP' and ahk.api_hook_type = 'AP' and ahk.api_module_id=ahm.api_module_id;
Preprocessor
Login to the application user in Putty(sample screenshots attached below):
Navigate to the PATH = /oraap/applprod/apps/apps_st/appl/per/12.0.0/patch/115/sql
Login to the database as “sqlplus apps/pwd”
Execute the script as “SQL> @ hrahkone.sql
Enter the value for api_module_id : (Hook id from the above sql script)
After executing the script, it must display successful message.
Finally check the status using the query
select * from HR_API_HOOK_CALLS where call_procedure like 'XXQVC_ABSENCE_OVERLAP_CHECK%';
V – Success
I - Invalid