This commit is contained in:
@@ -227,7 +227,7 @@ namespace AyaNova.Util
|
||||
//Generate owner and lead tech
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.BizAdmin | AuthorizationRoles.Service | AuthorizationRoles.Inventory | AuthorizationRoles.OpsAdmin, UserType.Service);
|
||||
//Generate one office person / secretary
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.Service | AuthorizationRoles.Inventory | AuthorizationRoles.Accounting, UserType.NotService);
|
||||
await SeedUserAsync(log, 1, AuthorizationRoles.Service | AuthorizationRoles.Inventory | AuthorizationRoles.Accounting, UserType.NotService);
|
||||
await SeedVendorAsync(log, 10);
|
||||
await SeedUnitModelAsync(log, 10);
|
||||
await SeedCustomerAsync(log, 25);
|
||||
@@ -1644,7 +1644,19 @@ namespace AyaNova.Util
|
||||
gbiz.TaxPartPurchaseId = TCGoods;
|
||||
gbiz.TaxPartSaleId = TCGoods;
|
||||
gbiz.TaxRateSaleId = TCServices;
|
||||
gbiz.CustomerAllowCSR = true;
|
||||
gbiz.CustomerAllowNotifyCSRAccepted = true;
|
||||
gbiz.CustomerAllowNotifyCSRRejected = true;
|
||||
gbiz.CustomerAllowNotifyServiceImminent = true;
|
||||
gbiz.CustomerAllowNotifyWOCompleted = true;
|
||||
gbiz.CustomerAllowNotifyWOCreated = true;
|
||||
gbiz.CustomerAllowUserSettings = true;
|
||||
gbiz.CustomerAllowViewWO = false;
|
||||
gbiz.CustomerAllowWOWiki = false;
|
||||
|
||||
await biz.PutAsync(gbiz);
|
||||
ServerGlobalBizSettings.Initialize(gbiz, null);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1768,7 +1780,7 @@ namespace AyaNova.Util
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
public HashSet<string> HashCompanyNames = new HashSet<string>();
|
||||
|
||||
private int TotalSeededCustomers = 0;
|
||||
|
||||
Reference in New Issue
Block a user