When the allocated work shift for the employee is exceeded, the system displays the Work shift length exceeded message when the user trying to apply for a leave.
When the allocated entitlements are used ( 0 Balance ), the system gives an error by indicating that in order to apply for this leave type the balance is not sufficient.
When the system shows that the user is not eligible to apply for this leave type, means, that in order to apply for this leave, the requested information from the user is not sufficient to proceed with.