Hi Experts,
Hello All,Our golive is on april20th and i got stuck in Compoff Scenario....Please experts help me in writing comp off rule.
Client Requirement: 2 comp off requirements
1.If Employee works on his week off for 8 hours then he is eligible for comp off.
2 If employee works 6 hours morethan his planned working hours then he is eligible for comp off.Planned hours are 8 hours per day.
Here i created 1 day bal Time types and my rule as follows
5002 Compoff Calculation
*
****
VARSTFREE Plnd hrs DWS = 0?
N
VARSTPRSNT Employee at work
N
LEAVE Stop with PC Rule
Y
HRS=DCOMP Set
HRS?14 Decision op. HRS
*
HRS=1 Set
ADDDBCOMPZ Set day balance = 0
<
HRS=0 Set
ADDDBCOMPZ Set day balance = 0
Y
VARSTPRSNT Employee at work
N
LEAVE Stop with PC Rule
Y
HRS=DCOMP Set
HRS?8 Decision op. HRS
*
HRS=1 Set
ADDDBCOMPZ Set day balance = 0
<
HRS=0 Set
ADDDBCOMPZ Set day balance = 0
The rule is working fine for week off but this not working if employee works for 6 hours apart from his planned working time.
Experts, plz guide and help me.....
Thanks in advance