What triggers the task status icon to appear on the timesheet?
Question
What triggers the task status icon to appear on the timesheet?
Answer
From a code perspective, these are the conditions that make the task status icon available on the timesheet:
"ProjectType" = "SR" And "TaskStatusNotRequired" = false AND "ProjectStatus" = "A" And Project is not deleted AND Task is not deleted And ("TaskStatus" IS NULL Or "TaskStatus" <> "C") AND (StatusDate IS NULL OR datediff("d", "StatusDate", dtStartOfWeek) > 0 ) AND datediff("d", rstTaskTime("FirstStatus"), Date) >= 0
- The project type is 'SR' - status required
- The project status is 'A' – Active
- The project is not deleted
- The task is not deleted
- The task status is either null or not equal to 'C' – Completed
- The task status date is either null or the start date of the current week is greater than the last task status date
- In task assignment, task status not required should not be checked. There must be a first status date from active project.
- The task has not been statused for the current week.