cancel
Showing results for 
Search instead for 
Did you mean: 

Time management

Former Member
0 Kudos

Hi gurus..

Can anyone help me on this issue..???

The req is like this...

leave rule is like this:

every employee is eligible for 12 CL, 12 SL and 12 PL in a calendar year i.e Jan to Dec which in turn is one leave in one month of his service.

but if an employee joins on 1st to 10th he should be given 1 day leave as per accrual

if he joins between 11th and 20th 0.5 day to be given in the joining month.and from next month onwards it is same i.e 1 leave for one month

that means for example if an employee joins on 15th july he shd be given 5.5 days as CL in an year.

again if an employee joins between 21st to 31st he shd not be given any quota.

issues is with half the quota.

HOW TO GENERATE?

regards

Phani

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

hi Valerie...

thanks for ur reply..can u be more clear on this???

Edited by: RAMS M on Sep 12, 2008 7:27 AM

Former Member
0 Kudos

Sure, what is it you don't understand? Are you used to wirte time eval rules?

Former Member
0 Kudos

For this cases, I used the normal entitlement rule (I am talking of schema here, not config in table) then I reduced with a rounding rule, based on the day:

Hrs=bcurdy set hrs to current day

Round xx go to roundind rule xx

adddb ZPRO save in temporary TT Zpro

hrs=ZENTI get your full normal entitlement

hrs*DZPRO multiply by prorata

adddbZENTIZ reset entitlement to it

Where rouding rule is xx is:

0-10= 1

10-20= 0,5

20-99= 0

(Sorry I don't remember your requirement reducing)

If your full entitlement is 10 and we are on the 20th of the month iwill finish like 10*0,5=5