This commit is contained in:
2021-06-22 22:34:18 +00:00
parent 4a9d0c57c1
commit 2ac3c95816
3 changed files with 14 additions and 6 deletions

View File

@@ -119,12 +119,17 @@ namespace AyaNova.Api.Controllers
DefaultTaxRateSaleId = AyaNova.Util.ServerGlobalBizSettings.Cache.TaxRateSaleId, DefaultTaxRateSaleId = AyaNova.Util.ServerGlobalBizSettings.Cache.TaxRateSaleId,
WorkOrderTravelDefaultMinutes = AyaNova.Util.ServerGlobalBizSettings.Cache.WorkOrderTravelDefaultMinutes, WorkOrderTravelDefaultMinutes = AyaNova.Util.ServerGlobalBizSettings.Cache.WorkOrderTravelDefaultMinutes,
WorkLaborScheduleDefaultMinutes = AyaNova.Util.ServerGlobalBizSettings.Cache.WorkLaborScheduleDefaultMinutes, WorkLaborScheduleDefaultMinutes = AyaNova.Util.ServerGlobalBizSettings.Cache.WorkLaborScheduleDefaultMinutes,
SignatureTitle = AyaNova.Util.ServerGlobalBizSettings.Cache.SignatureTitle,
SignatureHeader = AyaNova.Util.ServerGlobalBizSettings.Cache.SignatureHeader,
SignatureFooter = AyaNova.Util.ServerGlobalBizSettings.Cache.SignatureFooter,
//used to drive UI in case of unlicensed or attention required //used to drive UI in case of unlicensed or attention required
LicenseStatus = AyaNova.Core.License.ActiveKey.Status, LicenseStatus = AyaNova.Core.License.ActiveKey.Status,
MaintenanceExpired = AyaNova.Core.License.ActiveKey.MaintenanceExpired, MaintenanceExpired = AyaNova.Core.License.ActiveKey.MaintenanceExpired,
ServerDbId = AyaNova.Core.License.ServerDbId, ServerDbId = AyaNova.Core.License.ServerDbId,
Company = AyaNova.Core.License.ActiveKey.RegisteredTo Company = AyaNova.Core.License.ActiveKey.RegisteredTo
// , // ,
// TestTSDaysWMS=new TimeSpan(22,10,15,22,33), // TestTSDaysWMS=new TimeSpan(22,10,15,22,33),
// TestTSHMS=new TimeSpan(5,16,33), // TestTSHMS=new TimeSpan(5,16,33),

View File

@@ -81,8 +81,9 @@ namespace AyaNova.Models
public List<string> CustomerAllowNotifyWOCompletedInTags { get; set; } = new List<string>(); public List<string> CustomerAllowNotifyWOCompletedInTags { get; set; } = new List<string>();
public List<string> CustomerAllowNotifyWOCompletedOutTags { get; set; } = new List<string>(); public List<string> CustomerAllowNotifyWOCompletedOutTags { get; set; } = new List<string>();
public string SignatureTitle { get; set; }
public string SignatureHeader { get; set; }
public string SignatureFooter { get; set; }
public GlobalBizSettings() public GlobalBizSettings()
@@ -90,7 +91,6 @@ namespace AyaNova.Models
Id = 1;//always 1 Id = 1;//always 1
SearchCaseSensitiveOnly = false; SearchCaseSensitiveOnly = false;
UseInventory = true; UseInventory = true;
} }
} }

View File

@@ -22,7 +22,7 @@ namespace AyaNova.Util
//!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!! //!!!!WARNING: BE SURE TO UPDATE THE DbUtil::EmptyBizDataFromDatabaseForSeedingOrImporting WHEN NEW TABLES ADDED!!!!
private const int DESIRED_SCHEMA_LEVEL = 1; private const int DESIRED_SCHEMA_LEVEL = 1;
internal const long EXPECTED_COLUMN_COUNT = 957; internal const long EXPECTED_COLUMN_COUNT = 960;
internal const long EXPECTED_INDEX_COUNT = 137; internal const long EXPECTED_INDEX_COUNT = 137;
internal const long EXPECTED_CHECK_CONSTRAINTS = 415; internal const long EXPECTED_CHECK_CONSTRAINTS = 415;
internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 118; internal const long EXPECTED_FOREIGN_KEY_CONSTRAINTS = 118;
@@ -255,6 +255,9 @@ namespace AyaNova.Util
+ "workordercompletebyage INTERVAL NOT NULL DEFAULT '00:00:00', " + "workordercompletebyage INTERVAL NOT NULL DEFAULT '00:00:00', "
+ "workordertraveldefaultminutes INTEGER NOT NULL DEFAULT 0, " + "workordertraveldefaultminutes INTEGER NOT NULL DEFAULT 0, "
+ "worklaborscheduledefaultminutes INTEGER NOT NULL DEFAULT 0, " + "worklaborscheduledefaultminutes INTEGER NOT NULL DEFAULT 0, "
+ "signaturetitle TEXT, "
+ "signatureheader TEXT, "
+ "signaturefooter TEXT, "
+ "customerservicerequestinfohtml TEXT, " + "customerservicerequestinfohtml TEXT, "
+ "customerallowcsr BOOL DEFAULT FALSE, customerallowcsrintags VARCHAR(255) ARRAY, customerallowcsrouttags VARCHAR(255) ARRAY, " + "customerallowcsr BOOL DEFAULT FALSE, customerallowcsrintags VARCHAR(255) ARRAY, customerallowcsrouttags VARCHAR(255) ARRAY, "