per_accrual_calc_functions.get_net_accrual return leave taken and not NET Entitlement
Hi
I have a major problem with the per_accrual_calc_functions.get_net_accrual function.
We have created as custom function where we pass in all the parameters needed for this procedure (attached), the only difference is that we pass in the plan name and not the ID. In this function we then select the plan name from PAY_ACCRUAL_PLANS. Then we pass in all the values to the procedure per_accrual_calc_functions.get_net_accrual.
Now the problem is this procedure return the days taken in the plan. However if I use the procedure per_accrual_calc_functions.get_net_accrual