cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

quota generation based on adjusted service date

Srikanth02
Active Contributor
0 Kudos
392

Hi All,

I have configured vacation quota to be generated based on 1st day of the year or date of joining of an employee based on calendar year to accrue 27 days for calendar year. This moved to production and it is working fine.

Now, business wanted to increase quota based on Adj. Service date from IT0041 and accrue based on below

  • Start – 20 days
  • After Year 1 – 21 days
  • After Year 2 – 22 days
  • After Year 3 – 23 days
  • After Year 4 – 24 days
  • After Year 5 – 25 days
  • After Year 6 – 26 days
  • After Year 7 – 27 days

And for another country as below.

  • Start – 26 days 1st – 5th complete year – 26 days
  • After Year 5 – 27 days – 6th – 9th complete year – 27 days
  • After Year 9 – 28 days – 10th complete year and more – 28 days

Below is my current configuration and rule

Based on the above i can change the quota from 27 to 20 for all employees. But, I need to add 1 day extra based on Adjusted Service date as below, but i am confused how to do it, without changing my complete configuration.

Please suggest me how to proceed on this.

Regards,

Srikanth

Accepted Solutions (0)

Answers (5)

Answers (5)

shrikanthreddy
Discoverer
0 Kudos

hi srikanth,

Please write the rule as suggested earlier then your requirement will be met.

Regards,

Shrikanth

Srikanth02
Active Contributor
0 Kudos

Hi Shrikanth,

Problem is we need to add quota based on joining date as below and again check based on adj. service date to add 1 extra day to their quota.

  • Start – 20 days
  • After Year 1 – 21 days
  • After Year 2 – 22 days
  • After Year 3 – 23 days
  • After Year 4 – 24 days
  • After Year 5 – 25 days
  • After Year 6 – 26 days
  • After Year 7 – 27 days

EG - Employee 123 joined on 06.01.2019, so for this year based on pro rata basis 27/365* no of days from their Hiring date and quota is added as per their Current logic.

From 2020 onwards, for any existing employees below is how quota should be added.

For Year 2020, on Jan 1. 20 days has to be added to their quota + 1 day on 06.01.2020.

For Year 2021, on Jan 1. 21 days has to be added to their quota + 1 day on 06.01.2021

For year 2022, on Jan 1. 22 days has to be added to their quota + 1 day on 06.01.2022

For year 2023, on Jan 1. 23 days has to be added to their quota + 1 day on 06.01.2023

For year 2024, on Jan 1. 24 days has to be added to their quota + 1 day on 06.01.2024

For year 2025, on Jan 1. 25 days has to be added to their quota + 1 day on 06.01.2025

For year 2026, on Jan 1. 26 days has to be added to their quota + 1 day on 06.01.2026

For year 2027, on Jan 1. 27 days has to be added to their quota + 1 day on 06.01.2027.

From 2028, on Jan 1. 27 days is maximum and has to be added to their quota and no extra days will be added based on adj. service date.

Let me know if above example is clear or confusing.

Regards,

Srikanth

shrikanthreddy
Discoverer
0 Kudos

Hi Srikanth,

If the same is the case write an additional PCR where you can give only the additional days on the service year day. Query with entitlement given on 1.1.XXXX with the total entitlement to be be given oj service year day and send the diff value to the time type ZEUV.

This should work for you.

Regards,

Shrikanth

Srikanth02
Active Contributor
0 Kudos

Hi Shrikanth,

Thanks for your reply. Even now, we need to provide accrual on Day 1 of the Year or based on joining date.

But, we need to add 1 extra day once they complete year of Service based in Adj. Service date on that particular date for that particular employee alone. If you see my 2 screenshot, it has examples of how the accrual and once they complete 1/2/3 years of Service, what the quota should be.

Let me know if you have any questions.

Regards,

Srikanth

shrikanthreddy
Discoverer
0 Kudos

Hi,

You have to change your existing rule because as per the current rule irrespective of service you are giving the accrual of DAY1 of the year.

I would recommend you to change your PCR and query the hire date and service year using HRS-YDXX (XX refers to date type) and on every service year you can send the required value in time type.

Regards,

Shrikanth