Negative Balance Error even though there is a Positive Leave Balance.
Summary
Negative Balance Error even though there is a Positive Leave Balance. Balance Adjustments were not considered.Content
Dear All,
We are receiving the below error even though the user is having a positive balance.
"You cannot record this absence because your balance will fall below the configured minimum for this type of absence. (ANC-3405002)"
Scenario:
Accrual at the Beginning of the Year : 30 Days
Balance Credited using Balance Adjustment : 7 Days
Total Leave Balance : 37 Days (That is , Sum of Accrued Days and Adjusted Days)
Leave Availed by the Employee : 30 Days
Remaining Balance : 7 Days (That is , the adjusted days).
Now, when the user tries to apply for a leave say 2 days , the system is not considering the Adjusted days in the Balance Validation.