Current Timesheet link navigates to Previous or Next Time Period

Document ID : KB000027025
Last Modified Date : 14/02/2018
Show Technical Document Details
Description:

When I click the current timesheet link, sometimes the system brings me to the previous or next time period's timesheet. Why does this happen?


Solution:
If the current, next and previous timesheets have been submitted, the system will show an error:
  
TMA-0124: Timesheet not found for current timeperiod. Please select available timesheet from list.
 
This feature will show the earliest unsubmitted timesheet around the current time period. 
The algorithm to determine what is the "current timesheet" and will navigate the user to the earliest open timesheet determined from the following logic:
  • The "current" timesheet - the timesheet that has a start date before the current time and a finish date after the current date/time
  • OR The "next" timesheet - the timesheet that has the earliest start date after the current date/time
  • OR The "previous" timesheet - the timesheet that has the latest finish date before the current date/time