Sie sind auf Seite 1von 13

Mohamed Salah Kandil: Msalah600@Gmail.

Com Senior Oracle HCM Techno Functional Consultant

Business Case: Service Award Days


Prepared by: Mohamed Salah Kandil

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com 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.

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Elements and Balances


Create Information recurring element Service Award days as below:

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Create non recurring earnings element Service Award Payment as below:

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Create Service Award days balance as below :

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Create Service Days Processed balance as below :

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Create Service Award Counter balance as below :

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Write Formula
Create XX_SERVICE_AWARD formula as below:

Press Edit and write the following code :


FOR FOR FOR FOR FOR FOR FOR FOR FOR PAY_PROC_PERIOD_END_DATE PAY_PROC_PERIOD_START_DATE ASG_SALARY SA_PERSON_TERMINATION_DATE PAY_PROC_PERIOD_END_DATE_DP SA_PERSON_START_DATE SERVICE_AWARD_DAYS_ASG_ITD SERVICE_AWARD_COUNTER_ENTRY_ITD PER_EMP_NUMBER IS IS IS IS IS IS IS IS IS '4712/12/31 '1900/01/01 0 '4712/12/31 '4712/12/31 '1900/01/01 0 0 ' ' 00:00:00' (DATE) 00:00:00' (DATE) 00:00:00' (DATE) 00:00:00' (DATE) 00:00:00' (DATE)

DEFAULT DEFAULT DEFAULT DEFAULT DEFAULT DEFAULT DEFAULT DEFAULT DEFAULT

/************************************ ALIAS ***********************************/ ALIAS PAY_PROC_PERIOD_END_DATE AS PERIOD_ED ALIAS PAY_PROC_PERIOD_START_DATE AS PERIOD_SD ALIAS ASG_SALARY AS BASIC ALIAS SERVICE_AWARD_DAYS_ENTRY_ITD AS AWARD_BALANCE ALIAS 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 > 0 THEN ( IF AWARD_DAYS >= ANNUAL_DAYS THEN ( DAYS_AWARD = ANNUAL_DAYS AWARD_PAY = ROUND (BASIC/30) * DAYS_AWARD L_COUNTER = COUNTER + 1 CASE_MSG = 'CASE1' ) IF AWARD_DAYS < ANNUAL_DAYS AND COUNTER = 0 THEN ( DAYS_AWARD = AWARD_DAYS AWARD_PAY = ROUND (BASIC/30) * DAYS_AWARD L_COUNTER = COUNTER + 1 CASE_MSG = 'CASE2'

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

) IF AWARD_DAYS < ANNUAL_DAYS AND COUNTER > 0 THEN ( DAYS_AWARD = AWARD_DAYS - AWARD_BALANCE AWARD_PAY = ROUND (BASIC/30) * DAYS_AWARD L_COUNTER = COUNTER + 1 CASE_MSG = 'CASE3' ) ) IF AWARD_BALANCE ( DAYS_AWARD AWARD_PAY CLOSE_MSG CASE_MSG ) = AWARD_DAYS THEN = = = = 0 0 'STOP' '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

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Formula Results
Create formula results as below:

Dont forget the remaining formula results:

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Element Link
Create element link as below:

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com Senior Oracle HCM Techno Functional Consultant

Update PTO plan


Update PTO plan to have the effect of Service Award days element as below:

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Mohamed Salah Kandil: Msalah600@Gmail.Com 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 avoid the duplication as you already paid it with Service Award Payment , you should update the annual leave calculation using the following code:
DEFAULT FOR Leave_Days DEFAULT FOR SERVICE_DAYS_PROCESSED_ASG_RUN ALIAS SERVICE_DAYS_PROCESSED_ASG_RUN Inputs are Leave_Days Annual_Days = Leave_Days - AWARD_DAYS IS 0 IS 0 AS AWARD_DAYS

For any questions or concerns, I will be glad to hear from you. There are no Copyrights, Just mention the author.

Das könnte Ihnen auch gefallen