Retro is not working properly in case of values fetched from UDT
Hi,
We have an issue where when earning elements are based on UDT the retro is not working as expected. Currently Pensionable allowance is based on Grade stored in UDT.
Say for Grade A - payment is 1000 and for Grade B payment is 2000.
Whenever a person is promoted from Grade A to B below is happening.
Suppose the person got promoted on 15 January and January payroll is already run, then the system first negates the January value → -1000 which is correct.
Then it should calculate payment of 14 days at the rate of 1000 and remaining days at the rate of 2000. However, the system pays the first 14 days and other 17 days at the rate of 2000 only which is incorrect.