Upload
-
View
216
Download
0
Embed Size (px)
Citation preview
7/27/2019 Business Case Service Award Days
1/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Business Case: Service AwardDays
Prepared by: Mohamed Salah Kandil
7/27/2019 Business Case Service Award Days
2/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Business Case
As per the company policy, any employees complete 5,10,15 etc years of services, he will be given numbers of years as
paid days such as 5 years the employee will take 5 paid days.
Some employees request to add these days to their Annual PTO balance. The HR department request from the Oracle
HCM Consultant to create a solution for this case as per the following requirement:
Add the service award days to the PTO balance. If the employee request annual leave, it should differentiate between his annual leave and his award days as
every entry has its own costing account code.
Our solution will depend on 2 elements and 3 balances to automate the process.
7/27/2019 Business Case Service Award Days
3/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Elements and Balances
Create Information recurring element Service Award days as below:
7/27/2019 Business Case Service Award Days
4/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Create non recurring earnings element Service Award Payment as below:
7/27/2019 Business Case Service Award Days
5/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Create Service Award days balance as below :
7/27/2019 Business Case Service Award Days
6/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Create Service Days Processed balance as below :
7/27/2019 Business Case Service Award Days
7/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Create Service Award Counter balance as below :
7/27/2019 Business Case Service Award Days
8/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Write Formula
Create XX_SERVICE_AWARD formula as below:
Press Edit and write the following code :DEFAULTFOR PAY_PROC_PERIOD_END_DATE IS'4712/12/31 00:00:00'(DATE)DEFAULTFOR PAY_PROC_PERIOD_START_DATE IS'1900/01/01 00:00:00'(DATE)DEFAULTFOR ASG_SALARY IS0DEFAULTFOR SA_PERSON_TERMINATION_DATE IS'4712/12/31 00:00:00'(DATE)DEFAULTFOR PAY_PROC_PERIOD_END_DATE_DP IS'4712/12/31 00:00:00'(DATE)DEFAULTFOR SA_PERSON_START_DATE IS'1900/01/01 00:00:00'(DATE)DEFAULTFOR SERVICE_AWARD_DAYS_ASG_ITD IS0DEFAULTFOR SERVICE_AWARD_COUNTER_ENTRY_ITD IS0DEFAULTFOR PER_EMP_NUMBER IS' '
/************************************ ALIAS ***********************************/ALIAS PAY_PROC_PERIOD_END_DATE AS PERIOD_EDALIAS PAY_PROC_PERIOD_START_DATE AS PERIOD_SD
ALIAS ASG_SALARY AS BASICALIAS SERVICE_AWARD_DAYS_ENTRY_ITD AS AWARD_BALANCEALIAS SERVICE_AWARD_COUNTER_ENTRY_ITD AS COUNTER
INPUTS ARE AWARD_DAYS
ANNUAL_DAYS = XX_ABSENCE_DAYS (PER_EMP_NUMBER,PERIOD_SD,PERIOD_ED,61)
IF AWARD_BALANCE < AWARD_DAYS AND ANNUAL_DAYS >0THEN(IF AWARD_DAYS >= ANNUAL_DAYS THEN
(DAYS_AWARD = ANNUAL_DAYSAWARD_PAY =ROUND(BASIC/30) * DAYS_AWARD
L_COUNTER = COUNTER +1CASE_MSG ='CASE1'
)IF AWARD_DAYS < ANNUAL_DAYS AND COUNTER =0THEN
(DAYS_AWARD = AWARD_DAYSAWARD_PAY =ROUND(BASIC/30) * DAYS_AWARDL_COUNTER = COUNTER +1CASE_MSG ='CASE2'
7/27/2019 Business Case Service Award Days
9/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
)IF AWARD_DAYS < ANNUAL_DAYS AND COUNTER >0THEN
(DAYS_AWARD = AWARD_DAYS - AWARD_BALANCEAWARD_PAY =ROUND(BASIC/30) * DAYS_AWARDL_COUNTER = COUNTER +1
CASE_MSG ='CASE3')
)
IF AWARD_BALANCE = AWARD_DAYS THEN(
DAYS_AWARD =0AWARD_PAY =0CLOSE_MSG ='STOP'CASE_MSG ='CASE4'
)
MSG ='Service Award days >>> ' || CASE_MSG || ' AWARD_BALANCE: '||TO_CHAR(AWARD_BALANCE) ||' AWARD_DAYS: '||TO_CHAR(AWARD_DAYS) ||' DAYS_AWARD:'||TO_CHAR(DAYS_AWARD)
RETURN AWARD_PAY,DAYS_AWARD,L_COUNTER,MSG,CLOSE_MSG
7/27/2019 Business Case Service Award Days
10/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Formula Results
Create formula results as below:
Dont forget the remaining formula results:
7/27/2019 Business Case Service Award Days
11/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Element Link
Create element link as below:
7/27/2019 Business Case Service Award Days
12/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Update PTO plan
Update PTO plan to have the effect ofService Award days element as below:
7/27/2019 Business Case Service Award Days
13/13
For any questions or concerns, I will be glad to hear from you.
There are no Copyrights, Just mention the author.
Mohamed Salah Kandil: [email protected]
Senior Oracle HCM Techno Functional Consultant
Update the annual leave formula
Using Service Days Processed, you should exclude the awards days from the annual leave payment to avoidthe duplication as you already paid it with Service Award Payment , you should update the annual leave
calculation using the following code:
DEFAULTFOR Leave_Days IS0
DEFAULTFOR SERVICE_DAYS_PROCESSED_ASG_RUN IS0
ALIAS SERVICE_DAYS_PROCESSED_ASG_RUN AS AWARD_DAYS
Inputs are Leave_Days
Annual_Days = Leave_Days - AWARD_DAYS