diff --git a/AyaNovaQBI/util.cs b/AyaNovaQBI/util.cs index 9f8ab47..cb24485 100644 --- a/AyaNovaQBI/util.cs +++ b/AyaNovaQBI/util.cs @@ -565,9 +565,16 @@ namespace AyaNovaQBI await PopulateQBListCache(); await PopulateAyaListCache(); - //PFC - Validate settings, create if necessary (Util.ValidateSettings()) and save //TODO: if QBIntegration.IntegrationData==null then nothing is set yet and it's fresh so trigger the setup stuff + // but perhaps this should be done / called by mainform as this block and function is strictly related to initialization and caching only + // and mapping and setup is not really part of that + // So, if there are no mappings and integrationData=null just return but if there are then they need to be validated here + + next: if QBIntegration.IntegrationData==null then we're done for now let mainform handle initial setup + //also if there are no mappings then same thing, let mainform handle setup + //However, if there *are* integration data or mappings then they need to be validated here + //PFC - verify integration mapped objects still exist at each end (Util.PreFlightCheck() line 199) //DONE @@ -580,7 +587,7 @@ namespace AyaNovaQBI return false; } - + await IntegrationLog("PFC: QBI initialized and ready for use"); return true;