This commit is contained in:
@@ -80,11 +80,15 @@ namespace AyaNova.Biz
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
//AgeValue
|
//AgeValue
|
||||||
switch(ev.EventType){
|
switch (ev.EventType)
|
||||||
case NotifyEventType.ObjectAge:
|
{
|
||||||
case NotifyEventType.WorkorderStatusAge:
|
case NotifyEventType.ObjectAge:
|
||||||
case NotifyEventType.quote
|
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
|
//Here we know the sub matches so create the NotifyEvent here
|
||||||
|
|||||||
Reference in New Issue
Block a user