This commit is contained in:
2020-08-18 19:43:23 +00:00
parent f548b01a5f
commit 960062d2ab
7 changed files with 35 additions and 14 deletions

View File

@@ -194,7 +194,7 @@ namespace AyaNova.Biz
//OutsideServiceReceived https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
//PartRequestReceived https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
//CustomerServiceImminent ALSO CopyOfCustomerNotification
//WorkorderCreatedForCustomer (conditional ID sb customer id) ALSO CopyOfCustomerNotification
//WorkorderCreatedForCustomer (conditional ID sb customer id) ALSO CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
//PartRequested https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
//WorkorderTotalExceedsThreshold
@@ -202,12 +202,12 @@ namespace AyaNova.Biz
}
break;
case AyaType.Quote:
//QuoteStatusChange [USER, CUSTOMER] / ALSO CopyOfCustomerNotification
//QuoteStatusChange [USER, CUSTOMER] / ALSO CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
//QuoteStatusAge
break;
case AyaType.Contract:
//ContractExpiring [CUSTOMER/USER]
//CopyOfCustomerNotification
//ContractExpiring [CUSTOMER/USER] / ALSO CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
break;
case AyaType.Reminder:
//ReminderImminent
@@ -253,7 +253,7 @@ namespace AyaNova.Biz
//------------------------------------------
//ObjectCreated
//
// [USER for any type, CUSTOMER for workorder only] / if customer then CopyOfCustomerNotification
// [USER for any type, CUSTOMER for workorder only] / if customer then CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
{
var subs = await ct.NotifySubscription.Where(z => z.EventType == NotifyEventType.ObjectCreated && z.AyaType == newObject.AyaType).ToListAsync();
foreach (var sub in subs)
@@ -288,7 +288,7 @@ namespace AyaNova.Biz
//AyaTypes with their own special notification related events
case AyaType.WorkOrder:
{
//WorkorderStatusChange [USER, CUSTOMER BOTH] / CopyOfCustomerNotification
//WorkorderStatusChange [USER, CUSTOMER BOTH] / CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
//
{
throw new System.NotImplementedException("Awaiting workorder object completion");
@@ -330,22 +330,22 @@ namespace AyaNova.Biz
//ScheduledOnWorkorderImminent (DELTE OLD)
//https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
//WorkorderFinishStatusOverdue (DELETE OLD)
//WorkorderFinished [USER, CUSTOMER] ALSO CopyOfCustomerNotification applies here
//WorkorderFinished [USER, CUSTOMER] ALSO CopyOfCustomerNotification applies here https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
//OutsideServiceOverdue (ALSO DELETE OLD)
//OutsideServiceReceived
//PartRequestReceived
//CustomerServiceImminent (ALSO DELETE OLD) / ALSO CopyOfCustomerNotification
//CustomerServiceImminent (ALSO DELETE OLD) / ALSO CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
//PartRequested
//https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/892
//WorkorderTotalExceedsThreshold
//WorkorderStatusAge (ALSO DELETE OLD)
//https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/1137
//WorkorderFinishedFollowUp (uses AGE after finished status) [USER, CUSTOMER] ALSO CopyOfCustomerNotification applies here
//WorkorderFinishedFollowUp (uses AGE after finished status) [USER, CUSTOMER] ALSO CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
}
break;
case AyaType.Quote:
//QuoteStatusChange
//QuoteStatusChange [USER, CUSTOMER] ALSO CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
//QuoteStatusAge (DELETE OLD)
break;
case AyaType.Contract:
@@ -364,9 +364,9 @@ namespace AyaNova.Biz
// In saving code it just checks to see if it has crossed the multiple threshold, i.e. calculate the old multiple, calculate the new multiple if over then send notification immediate.
break;
case AyaType.CustomerServiceRequest:
//CSRAccepted (DELETE OLD might have changed from one to the other) [CUSTOMER]
//CSRRejected (DELETE OLD might have changed from one to the other) [CUSTOMER]
//CopyOfCustomerNotification
//CSRAccepted (DELETE OLD might have changed from one to the other) [CUSTOMER] ALSO CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
//CSRRejected (DELETE OLD might have changed from one to the other) [CUSTOMER] ALSO CopyOfCustomerNotification https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/3398
break;
case AyaType.ServiceBank:
//ServiceBankDepleted https://rockfish.ayanova.com/default.htm#!/rfcaseEdit/472