GET_PLAN_BALANCE() function is not working properly after 21D upgrade
I was using GET_PLAN_BALANCE() function to fetch the value of plan balance as of the last accrual period. This was working fine before 21D upgrade.
in 21D, if I use this function, then the function is fetching plan balance upto the end of the year and it is returning zero when we run accruals for next plan year.
For example, if the plan balance is 25, then this function is returning 25 when I run the accruals till 31-12-2021. But this function is retuning 0 when I run it till 31-01-2022.
Is there anything changed in this function in 21D? Is anyone else facing this problem?