Scenario:
Web TimeSheet administrator calls in saying that he would like to set up a Timesheet Period condition while setting up a validation rule and would like to know as to how it can be set up.

Solution:
1) If you are creating a Timesheet Period condition using a  fixed rule you will need to follow these steps:

  • Log into the Web TimeSheet as an Administrator.
  • Click on the Administration icon.
  • The click on Validation Rules in the Timesheet Setup section.
  • In the Validation Rules page click on the Add button.
  • In the Name field enter a name and if required enter a brief description about the rule in the Description field.
  • In the Conditions click on Add.
  • Click on the first dropdown and select Timesheet Period.
  • Then click on the second dropdown and select any one from the available four conditions according to your requirement.
  • In the field next to Hours enter the number of hours.
  • Click on OK.
  • Then click on Save.
 
2) If you are creating a Timesheet Period condition using a custom formula you will need to follow these steps:
  • Log into the Web TimeSheet as an Administrator.
  • Click on the Administration icon.
  • The click on Validation Rules in the Timesheet Setup section.
  • In the Validation Rules page click on the Add button.
  • In the Name field enter a name and if required enter a brief description about the rule in the Description field.
  • In the Conditions click on Add.
  • Click on the first dropdown and select Timesheet Period.
  • Click on the second dropdown and select any one from the available four conditions according to your requirement.
  • Then click on the Expand_Icon_Mini.gif icon. The formula edit field will display.
  • You will need to make use of the following fields: Partial Weekdays, Period Workdays, PeriodWeeklyDayOff, PeriodHolidays, TotalPeriodWeekDayHours, TotalPeriodWorkDayHours,TotalPeriodWeeklyDaysOffHours, TotalPeriodHolidaysHours along with the operators such as +, -, *, / and adding brackets to indicate precedence in order to create the custom formula.
  • Then click on OK.
  • Click on Save.