In retro mode, if there is any loss of pay in last month and no/less pay in current month, then brought forward value should be adjusted during the current month. In our case BF WT value is higher than the current month salary heads like Basic, HRA, SPA and other etc..
So my all salary heads value are coming in negative after processing the current month payroll. But the salary head should never come in negative. It should be adjusted to zero or some value and rest of the amount should go in either DDNTK or ARRERS table.
Please advice how to do that.