This commit is contained in:
2020-07-16 21:20:40 +00:00
parent 959eea8aa2
commit 68c5b30e5b

View File

@@ -80,11 +80,15 @@ namespace AyaNova.Biz
continue;
//AgeValue
switch(ev.EventType){
case NotifyEventType.ObjectAge:
case NotifyEventType.WorkorderStatusAge:
case NotifyEventType.quote
}
switch (ev.EventType)
{
case NotifyEventType.ObjectAge:
case NotifyEventType.WorkorderStatusAge:
case NotifyEventType.QuoteStatusAge:
if (AgeValue != null && AgeValue < sub.AgeValue)//current object age value is less than subscription required age value? (not old enough)
continue;//then skip it
break;
}
//Here we know the sub matches so create the NotifyEvent here