From a002e65bbfdd3502cd584900a9cd6813be0ef74d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 2 Aug 2021 16:05:27 +0000 Subject: [PATCH] --- server/AyaNova/biz/NotifyEventType.cs | 8 ++++---- server/AyaNova/resource/de.json | 3 +++ server/AyaNova/resource/en.json | 3 +++ server/AyaNova/resource/es.json | 3 +++ server/AyaNova/resource/fr.json | 3 +++ 5 files changed, 16 insertions(+), 4 deletions(-) diff --git a/server/AyaNova/biz/NotifyEventType.cs b/server/AyaNova/biz/NotifyEventType.cs index d0baf341..0af4ae4c 100644 --- a/server/AyaNova/biz/NotifyEventType.cs +++ b/server/AyaNova/biz/NotifyEventType.cs @@ -21,7 +21,7 @@ namespace AyaNova.Biz CopyOfCustomerNotification = 8,//*User notification of what was sent to a Customer as a notification. In other words can subscribe to any customer notifications and be sent a copy of them. Tag filter is based on Customer's tags for this one so user can choose which customer group to subscribe to this or all. QuoteStatusChange = 9,//* Quote object, any *change* of status including from no status (new) to a specific conditional status ID value ObjectAge = 10,//* Any object, Age (conditional on AgeValue) after creation event of any object of conditional specific AyaType and optionally conditional tags - //ServiceBankDepleted = 11,//*ServiceBank object, any change to balance triggers this check, conditional on decvalue as remaining balance left to trigger this notification + PMInsufficientInventory = 11,//Upcoming PM will not have enough inventory to generate without making a part request ReminderImminent = 12,//*Reminder object, Advance notice setting tag conditional ScheduledOnWorkorder = 13,//*Workorder / WorkorderItemScheduledUser object, instant notification when current user is scheduled on a service workorder ScheduledOnWorkorderImminent = 14,//*Workorder / WorkorderItemScheduledUser object, advanced (settable) notification when current user's scheduled date/time is imminent @@ -32,7 +32,7 @@ namespace AyaNova.Biz NotifyHealthCheck = 19,//* NO OBJECT, direct subscription to receive recurring daily notify system "ping" sent out between 8am and 10am once every 24 hours minimum every day server local time BackupStatus = 20,//* NO OBJECT, direct subscription to receive results of last backup operation CustomerServiceImminent = 21,//* Workorder / WorkorderItemScheduledUser object, notice that scheduled service is due, can set advance notice, CUSTOMER gets delivery - //PartRequested = 22,//?? HOL UP, isn't this covered by objectCreated? YES, removing for now, definitely not needed specifically* Workorder object / workorderitempartrequest created tag filterable + PMStopGeneratingDateReached = 22,//Stop generating PM's after this date has been reached. Reminder in case user needs to set up again for next cycle or something (advance settable) WorkorderTotalExceedsThreshold = 23,//* "the Andy" Workorder updated / created, based on balance total so conditional on DecValue WorkorderStatusAge = 24,//* Workorder STATUS unchanged for set time (stuck in state), conditional on: Duration (how long stuck), exact status selected IdValue, Tags. Advance notice can NOT be set UnitWarrantyExpiry = 25,//* Unit object created, advance notice can be used, tag conditional @@ -42,9 +42,9 @@ namespace AyaNova.Biz QuoteStatusAge = 29,//* Quote object Created / Updated, conditional on exact status selected IdValue, Tags conditional, advance notice can be set WorkorderCompleted = 30, //*Service work order is set to any status that is flagged as a "Completed" type of status. Customer & User (Note this is for users that don't want or can't pick status change to completed type) WorkorderCreatedForCustomer = 31, //*Service work order is created for Customer, only applies to that customer user notify sub for that customer, customer id is in conditional ID value for subscription - //WorkorderCompletedFollowUp = 32, REMOVED REDUNDANT COVERED BY OTHERS //* Service workorder closed status follow up again after this many TIMESPAN + PMGenerationFailed = 32, //indicates there was a failure during PM generation with error SendUserCredentials = 33 // Internal System use only: When user generates new credentials and sends them this is the notification type for that see UserBiz GenerateCredsAndEmailUser - + //POTENTIAL OTHER NOTIFICATIONS: //WorkorderItemLoan unit is overdue from estimate diff --git a/server/AyaNova/resource/de.json b/server/AyaNova/resource/de.json index 5bf77537..65866d8a 100644 --- a/server/AyaNova/resource/de.json +++ b/server/AyaNova/resource/de.json @@ -2076,6 +2076,9 @@ "NotifyEventCopyOfCustomerNotification": "Kopie der Kundenbenachrichtigung", "NotifyEventWorkorderCreatedForCustomer": "Arbeitsauftrag für Kunden erstellt", "NotifyEventWorkorderCompletedFollowUp": "Abgeschlossene Arbeitsauftragsverfolgung", + "NotifyEventPMStopGeneratingDateReached":"Stoppdatum für vorbeugende Wartung erreicht", + "NotifyEventPMGenerationFailed":"Vorbeugende Wartung Generatorausfall", + "NotifyEventPMInsufficientInventory":"Vorbeugende Wartung unzureichender Lagerbestand", "Duration": "Dauer", "Notifications": "Benachrichtigungen", "NotifyMailSecurityNone": "Keiner", diff --git a/server/AyaNova/resource/en.json b/server/AyaNova/resource/en.json index 85686fa4..e0f482c8 100644 --- a/server/AyaNova/resource/en.json +++ b/server/AyaNova/resource/en.json @@ -2076,6 +2076,9 @@ "NotifyEventCopyOfCustomerNotification": "Copy of Customer notification", "NotifyEventWorkorderCreatedForCustomer": "Work order created for Customer", "NotifyEventWorkorderCompletedFollowUp": "Work order completed follow up", + "NotifyEventPMStopGeneratingDateReached":"Preventive maintenance stop date", + "NotifyEventPMGenerationFailed":"Preventive maintenance generation failure", + "NotifyEventPMInsufficientInventory":"Preventive maintenance insufficient inventory", "Duration": "Duration", "Notifications": "Notifications", "NotifyMailSecurityNone": "None", diff --git a/server/AyaNova/resource/es.json b/server/AyaNova/resource/es.json index 9278e57a..17db2626 100644 --- a/server/AyaNova/resource/es.json +++ b/server/AyaNova/resource/es.json @@ -2076,6 +2076,9 @@ "NotifyEventCopyOfCustomerNotification": "Copia de la notificación al cliente", "NotifyEventWorkorderCreatedForCustomer": "Orden de trabajo creada para la Cliente", "NotifyEventWorkorderCompletedFollowUp": "Seguimiento de la orden de trabajo completada", + "NotifyEventPMStopGeneratingDateReached":"Se alcanzó la fecha de 'detención' del mantenimiento preventivo", + "NotifyEventPMGenerationFailed":"Fallo de generación de mantenimiento preventivo", + "NotifyEventPMInsufficientInventory":"Inventario insuficiente de mantenimiento preventivo", "Duration": "Duración", "Notifications": "Notificaciones", "NotifyMailSecurityNone": "Ninguna", diff --git a/server/AyaNova/resource/fr.json b/server/AyaNova/resource/fr.json index 29c70f4e..d317db3f 100644 --- a/server/AyaNova/resource/fr.json +++ b/server/AyaNova/resource/fr.json @@ -2076,6 +2076,9 @@ "NotifyEventCopyOfCustomerNotification": "Copie de la notification client", "NotifyEventWorkorderCreatedForCustomer": "Bon de travail créé pour le client", "NotifyEventWorkorderCompletedFollowUp": "Suivi de l'ordre de travail terminé", + "NotifyEventPMStopGeneratingDateReached":"Date d'arrêt de la maintenance préventive atteinte", + "NotifyEventPMGenerationFailed":"Défaillance du système de maintenance préventive", + "NotifyEventPMInsufficientInventory":"Maintenance préventive inventaire insuffisant", "Duration": "Durée", "Notifications": "Notifications", "NotifyMailSecurityNone": "Aucun",