diff --git a/dlrs/main/classes/LookupRollupStatusCheckController.cls b/dlrs/main/classes/LookupRollupStatusCheckController.cls index 79828cd9..88f53eec 100644 --- a/dlrs/main/classes/LookupRollupStatusCheckController.cls +++ b/dlrs/main/classes/LookupRollupStatusCheckController.cls @@ -40,6 +40,19 @@ public with sharing class LookupRollupStatusCheckController { ]; } + /** + * Get count of scheduled items older than yesterday + * The assumption is that normal processing should have handled these + */ + @AuraEnabled(Cacheable=true) + public static Integer getOutstandingScheduledItemsForLookup(String lookupID) { + return [ + SELECT COUNT() + FROM LookupRollupSummaryScheduleItems__c + WHERE LookupRollupSummary2__c = :lookupID AND LastModifiedDate < YESTERDAY + ]; + } + /** * Check if the rollup has a Full Calculate schedule */ diff --git a/dlrs/main/lwc/flexiblePath/flexiblePath.html b/dlrs/main/lwc/flexiblePath/flexiblePath.html index 9a677ba6..dc6d209f 100644 --- a/dlrs/main/lwc/flexiblePath/flexiblePath.html +++ b/dlrs/main/lwc/flexiblePath/flexiblePath.html @@ -90,9 +90,7 @@
- Next Action: {nextActionLabel} +