Restrict employees to submit previous month Time Sheet
Below is the continuation of the Blog :
In the above blog, you can restrict the timesheet entry if you are using time validation.
Below is the configuration in case if you are not using time validations. This means, the recorded time and dates are actual booking dates.
Navigate to Configure Business Rule and Select the Time Sheet Validation Rule.
Configure the Business Rule as Below.
Assign this business rule in Time Record Profile under Validation Rules
Test the scenarios
Consider the current month is February. We are submitting Timesheet for January, the system throws an error.
Submitting Timesheet for February and we do not get any error.
Thank you Parthiban Sukumar for your help.