Skip to Content
Former Member
Mar 10, 2010 at 09:09 AM

rule on LOP for 30 days


Dear Team,

I havea requirement, where LOP is calculated on 30 days basis.

If an employee is taking LOP in month of march.

then LOP calculation should be ( amount / 30 ) * (30 - Lop days).

this I am able to acheive.. and it is working fine.

But in the case of employee joining in between of the month.

then the calculation should be ( amount / 30 ) * (no. of present days - Lop days).

How to get the no.of present days while writting the rule.

Your help is required.

Thanks & Regards,