Please check as follows to rectify the issue:
Go to the Leave module, Setup, Leave Type, General tab.
Uncheck for Advanced Application.
Click Setup, Leave Policy, Allocation Table.
Select the Allocation Table ID and ensure the value is zero.
Log in to the ePortal as admin.
Go to Settings, eLeave Settings, Configuration
Under the Allow advance leave application, the Leave type needs to be unchecked.
