Error while applying leave as 'Leave can only be applied between.'
Find below error message screenshot:
Solution :
This kind of message comes when Is Special rule is enabled for that leave type. Find below steps to check the same.
Go to SetupCircle --> Select Time & Attendance --> Select Setup Leave Policy --> select Leave Group --> Select Leave Type --> UnCheck the rule 'Should this Leave Sub Type be treated as Special Leave? ' if selected --> Save
Step1 : Go to SetupCircle
Step2 : Select Time & Attendance
Step3 : Select Setup Leave Policy
Step4 : select Leave Group --> Select Leave Type --> UnCheck the rule 'Should this Leave Sub Type be treated as Special Leave? ' if selected --> Save
UnCheck the rule 'Should this Leave Sub Type be treated as Special Leave? ' if selected --> Save