/
How can I check if something is Overdue?
How can I check if something is Overdue?
Many elements in CAMMS Solutions have an End Date and you can often check if the item is Overdue by comparing its End Date with Today's date as well as checking its current Status e.g. In Progress, Completed etc.
So in this instance, you would create a new Calculated field using the GETDATE() function to get today’s date and compare it with the End Date and check to make sure the Status is different to ‘Completed’ as illustrated below.
IF [CammsInsightsDemo].[dbo].[Project_ProjectDetails_STND].[End Date] < GETDATE() AND [CammsInsightsDemo].[dbo].[Project_ProjectDetails_STND].[Status] <> 'Completed' THEN 'overdue' ELSE 'ok' END
, multiple selections available,
Related content
Given two dates, how can I calculate the number of days between them?
Given two dates, how can I calculate the number of days between them?
More like this
Project Settings – Progress Calculation
Project Settings – Progress Calculation
More like this
Audit Report | Why do recommendations show overdue when there is no due date?
Audit Report | Why do recommendations show overdue when there is no due date?
More like this
Feature Release Note | Camms.Project, December 2020
Feature Release Note | Camms.Project, December 2020
More like this
Project Workflows – Credit Risk Assessment
Project Workflows – Credit Risk Assessment
More like this
Camms.Project MQU – My Project Tasks
Camms.Project MQU – My Project Tasks
More like this