How do I configure the system so that employees are not able to go into a negative balance when submitting leave applications?

How do I configure the system so that employees are not able to go into a negative balance when submitting leave applications?

Enter 0.00 in the "do not allow total balance to exceed the following negative amount at any stage:" advanced options field on the applicable leave type, in order to prevent an employee from going into a negative balance when submitting leave applications.

      Navigate >  Configuration > Human Resources > Leave Administration > Leave Scheme Parameters > advanced options