Hi Sanjay, There have been scenarios where users end up creating leave transactions as: Date To: 19/06/2017 - Date From: 20/06/8017 Although the end date is 8017, the system allows this to be saved.
---------------------------------------------------------------------------------------------------------------------------------- Solution: We would like to have a configuration created for leave as follows: Check Leave Application Period: | |
The Value should be numeric as the period could be 1, 2 (in years) etc. ------------------------------------------------------------------------------------------------------------------------------------- Working: The check should work as the following: For example: The Check Leave Application Period is set to 2 years. The user applies for leave as: Date To: 19/06/2017 - Date From: 20/06/8017. Looking at the current year and the check set, the system should display a message as "Cannot apply leave as Date From exceeds checked years" |