hrms user hooks

12
AIM MD.120 – INSTALLATION INSTRUCTIONS QVC HRMS USER HOOKS Author: Dhanraj D Creation Date: 24-SEP-2014 Last Updated: Version: 1.0

Upload: praveen-ks

Post on 13-Dec-2015

101 views

Category:

Documents


7 download

DESCRIPTION

Hrms User Hooks For Leave Overlaping Validation

TRANSCRIPT

Page 1: Hrms User Hooks

AIM

MD.120 – INSTALLATION INSTRUCTIONS

QVC HRMS USER HOOKS

Author: Dhanraj D

Creation Date: 24-SEP-2014

Last Updated:

Version: 1.0

Page 2: Hrms User Hooks

Document Control

Change Record

Date Author Version Change Reference

24-SEP-2014 Dhanraj D 1.0

Reviewers

Name Position

Page 3: Hrms User Hooks

ContentsDocument Control..........................................................................2

Contents.......................................................................................3

Custom Package Deployment and SQL Execution..............................4

Preprocessor.................................................................................5

Standard Package Deployment........................................................8

Page 4: Hrms User Hooks

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;

Page 5: Hrms User Hooks
Page 6: Hrms User Hooks

Preprocessor

Login to the application user in Putty(sample screenshots attached below):

Page 7: Hrms User Hooks

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

Page 8: Hrms User Hooks

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

Page 9: Hrms User Hooks