cancel
Showing results for 
Search instead for 
Did you mean: 

Custom function for Quota Deduction.....???

Former Member
0 Kudos

Hi Experts,

I need to write custom function for Quota Deduction.

Client requirement is to check the Hire date and Calendar year date .

Where if employee get hired in last year then didn't execute PT60 for that employee.

How i can resolve this..?

Please help its urgent.

Thanks & regards,

Rajveer Rahekwal

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Why do you need a custom function? If your requirement is that PT60 should not be executed for employees in their first year, maintain the IT7 Time management status = 0(No time evaluation).This will ensure that the employee is not selected for time evaluation.

This can be changed after the completion of 1 year as required.

Former Member
0 Kudos

Hi Tania,

Thanks for your reply.

Let me give some clarity on our requirement.

Our requirement is , to generate quotas based on last year worked days.In case of Earn leave employee should avail minimum 10 quota days  , if not 5 quota days will be lapsed from quota and remaining will be carry forward.

We have written few PCRS to generate quotas and check these availed conditions based on Info Type

2001.

But for those employees who joined in last calendar year also system deducting 5 quota days from their first time quota generation.

Ex: Employee date of join is 12.02.2014 and quota generation period is 01.01.2014 to 01.01.2015,

This employee should get 40 quota days, but currently 5 quota days are deducting from the original quota days ( 40) and updating quota days as 35.

To fix this issue we are thinking to write custom function to check date of join and time evaluation run period date.

If employee joins in last calendar year, system should not execute corresponding rules, if date of join is not last calendar year, system should check quota rules and update quota.

Thanks,

Rajveer

Former Member
0 Kudos

Have you tried writing a PCR to check if the DOJ falls in the last calendar year? Haven't tried this myself, but check the HRS operation. There is an option of reading Entry date.

venkateshorusu
Active Contributor
0 Kudos

Your requirement is not clear, we should have to consider many other things.

1) What is the go - live date.?

2) You are saying we should check availed leaves while carrying forward to next year it can be done.

3) you are saying Quota generation happens considering last year working days, it can be done.

You should come up with an example where it should cover all regular scenarios Joining date go live date what should be carried forward, and etc, accordingly we can suggest.

Regards

Venkatesh