on 11-23-2011 11:30 AM
Hi Experts,
I have an Issue With Earned Leave.
Scenario:
If the employee Works One Day Say Saturday or Sunday Employee will get 1 Leave Shown in Earned Leave Quota which is Valid for 40 Days.
Problem:
I have Created a Time type and i am able to capture the Number of hours in to that time type and Earned leave is getting Generated With validity for 40 days .But when i book attendance for 8 hours the time type is taking the number of hours ie 8 Hours and the Earned leave is getting Generated as 8 days .What i want is 1 day for 8 hours of attendence booked in 2002. .how can i make that earned leave as 8 Hours = 1 day..
Need inputs Experts
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
your absence quota type time unit should also be in hours and also check Generation rule in T559L table.
Hi Vasehgal,
My absence Quota type is in Days and i want it to be in days only.and As we have Casual leave sick leave in days so Earned leave should be in days Only.buy unfortunately Time type stores only number.if i have the 8 number in time type when that time types goes to earned leave quota it is taking the 8 as number as i want the quota to be in Days i have to say earned leave as in days .so that time types is becoming as 8 days So.. we need to convert the time type to 1 day..
Can you tell me usually how do they do the Earned leave with out using PCR.if not how do they do with PCR waiting for your valuable Inputs.
Create a new time type, write a PCR to convert the number of hours to days. This can be achieved through comparison of the time type you have already used. Compare it with 8 if it is > then add 1 to the new timetype created. Build your logic based on this. Update quota from the new time type
RAghu
Hi Raghu
Its like this if employee works Say Saturday=4 hrs and on Sunday=4 hours 4+4=8 .then one day should be added to earned leave
i hope you have got the required information.
And suppose if the employee works Saturday=4 hrs and on Sunday=4 hours 44=8 foe next week also then 44=8 and earned leave should be 2 Days with the earlier lave earned last week.
Edited by: Srikanth Reddy Munugala on Nov 25, 2011 2:09 PM
Edited by: Srikanth Reddy Munugala on Nov 25, 2011 2:11 PM
Edited by: Srikanth Reddy Munugala on Nov 25, 2011 2:12 PM
Hi,
I thik the you shold be able to do this in time evaluation.
one of the following logic can be followed.
Erned leave = Number of hours of overtime worked/ planned working hours.
e.g.
if a employee is working for 8 hours of overtime then
Earned leave = 8/planned working hours considered as 8 = 1 day.
Then depending upon the rounding rules you can decide if you want to credit the less than 1 day as leave or not.
Regards,
Umesh Chaudhari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Umesh but the Problem is the Earned leave is showing as 8 days .So employee is getting 8 days for 8 hours of work worked on Saturday .Which is not right.As you said if i book for 8 hours the system takes planned working time and takes as one day but the remaining is 7 days again. If we according to your scenario.may be there should be some thing we need to do to convert that one day over time as one day earned leave ..
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.