From 0686f99f14d228849bf60064b1e04186828aab57 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Tue, 31 May 2022 16:39:40 +0000 Subject: [PATCH] commit just before attempt to replace chilkat email with .net email this is the revert point if that fails to work and we have to buy a new chilkat license --- source/WinFormApp/Form1.cs | 26 ++++++++++++------- source/WinFormApp/config.txt | 8 +++--- .../GZTW.AyaNova.BLL/ClientNotifyEvent.cs | 1 - 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/source/WinFormApp/Form1.cs b/source/WinFormApp/Form1.cs index c9d5f86..409238b 100644 --- a/source/WinFormApp/Form1.cs +++ b/source/WinFormApp/Form1.cs @@ -4258,7 +4258,7 @@ namespace AyaNova { //DBManager.FireBirdRecomputeStatistics(); - #region Generate huge tracts o' data + #region Generate huge tracts o' data //Random rand=new Random(); //Guid gTestSecurityGroupID = new Guid("{EA613C39-38F0-470E-9B76-ABB9B05C5F3A}"); @@ -4583,7 +4583,7 @@ namespace AyaNova #endregion generate huge tracts o' data - #region ayascript to update and close selected workorders + #region ayascript to update and close selected workorders //System.Collections.Generic.List l= new System.Collections.Generic.List(); // l.Add(new Guid("c9d07183-89d6-4dc0-bacb-e46a6c7a1b9a")); // l.Add(new Guid("d3eea5a5-6181-4484-afc6-20279aa9670d")); @@ -4639,7 +4639,7 @@ namespace AyaNova #endregion - #region ayascript to updated selected workorders + #region ayascript to updated selected workorders ////============== START OF SCRIPT ========================= @@ -4820,7 +4820,15 @@ namespace AyaNova //ctrl-alt-g for GRID FILTER CRITERIA - #region gen workorders COMMENTED OUT + #region RUN NOTIFICATIONS ON DEMAND + Status("Processing user notifications..."); + GenProcessDeliveries.DeliverNotifications(); + + Status("Processing client notifications..."); + GenProcessClientNotifications.DeliverNotifications(); + #endregion + + #region gen workorders COMMENTED OUT //============================================================================== //Workorders @@ -4977,7 +4985,7 @@ namespace AyaNova #endregion - #region Import utility COMMENTED OUT + #region Import utility COMMENTED OUT ////============================================================================== @@ -5149,7 +5157,7 @@ namespace AyaNova #endregion import util - #region Close selected workorders by criteria COMMENTED OUT + #region Close selected workorders by criteria COMMENTED OUT ////**** CLOSE SELECTED WORKORDERS THAT MATCH THE FOLLOWING ****** ////Change these values as required @@ -5284,7 +5292,7 @@ namespace AyaNova //MessageBox.Show("Finished, " + workordersClosed.ToString() + " workorders were closed and saved"); #endregion - #region Generator on demand COMMENTED OUT + #region Generator on demand COMMENTED OUT //try //{ // AyaBizUtils.TG = true; @@ -5306,7 +5314,7 @@ namespace AyaNova //} #endregion generator on demand - #region Generate serialized inventory for a single part COMMENTED OUT + #region Generate serialized inventory for a single part COMMENTED OUT //Random rand = new Random(); //int snCount = 0; ////get all active warehouses without exception @@ -5341,7 +5349,7 @@ namespace AyaNova #endregion generate serialized inventory - #region delete a bunch of clients + #region delete a bunch of clients //StringBuilder sbRet = new StringBuilder(); diff --git a/source/WinFormApp/config.txt b/source/WinFormApp/config.txt index f6b781b..f66aabf 100644 --- a/source/WinFormApp/config.txt +++ b/source/WinFormApp/config.txt @@ -1,19 +1,19 @@ - + - DataBase FireBird ServerType=1;DataBase=C:\data\AyaNova\database\AYANOVA.fdb;Dialect=3; - --> +