Hi,
I have a scenario for calculation of a wage type.
The joining date of employee is 01.01.2010. The annual leave accrual is calculated on basic/365* no. of working days. The pcr is working fine in this scenario and calculates the monthly accrual.
Say the salary is increased in 01.10.2010, when payroll for 10 2010 is processed the monthly accrual shall be on the new salary,which happens fine.
BUT in october it should also calculate the provision from 01.01.2010 - 30.09.2010 on the new salary and this amount shall then be reduced from the amount that has been accumulated till 30.09.2010 on the previous salary.
I am not sure on how to do this. can anyone help me out.
I tired with CMPER but not sure how the query should be.
Thanks & regards,
Majid