This commit is contained in:
@@ -584,7 +584,7 @@ namespace AyaNova.Biz
|
||||
|
||||
//This may become necessary for v8migrate, leaving out for now
|
||||
//skip validation if seeding
|
||||
//if (ServerBootConfig.SEEDING) return;
|
||||
//if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -929,7 +929,7 @@ namespace AyaNova.Biz
|
||||
public async Task QuoteHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{this.BizType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -1066,7 +1066,7 @@ namespace AyaNova.Biz
|
||||
// {
|
||||
|
||||
// ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
// log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
// bool isNew = currentObj == null;
|
||||
@@ -1591,7 +1591,7 @@ namespace AyaNova.Biz
|
||||
public async Task ItemHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -1817,7 +1817,7 @@ namespace AyaNova.Biz
|
||||
private async Task ExpenseValidateAsync(QuoteItemExpense proposedObj, QuoteItemExpense currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -1957,7 +1957,7 @@ namespace AyaNova.Biz
|
||||
public async Task ExpenseHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -2250,7 +2250,7 @@ namespace AyaNova.Biz
|
||||
private async Task LaborValidateAsync(QuoteItemLabor proposedObj, QuoteItemLabor currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -2351,7 +2351,7 @@ namespace AyaNova.Biz
|
||||
public async Task LaborHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -2657,7 +2657,7 @@ namespace AyaNova.Biz
|
||||
private async Task LoanValidateAsync(QuoteItemLoan proposedObj, QuoteItemLoan currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -2746,7 +2746,7 @@ namespace AyaNova.Biz
|
||||
public async Task LoanHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -2972,7 +2972,7 @@ namespace AyaNova.Biz
|
||||
private async Task OutsideServiceValidateAsync(QuoteItemOutsideService proposedObj, QuoteItemOutsideService currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -3060,7 +3060,7 @@ namespace AyaNova.Biz
|
||||
OutsideServiceReceived = 17,//* Workorder object , WorkorderItemOutsideService updated, instant notification when item received, tag filterable
|
||||
*/
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -3422,7 +3422,7 @@ namespace AyaNova.Biz
|
||||
private async Task PartValidateAsync(QuoteItemPart proposedObj, QuoteItemPart currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -3511,7 +3511,7 @@ namespace AyaNova.Biz
|
||||
public async Task PartHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -3662,7 +3662,7 @@ namespace AyaNova.Biz
|
||||
private async Task ScheduledUserValidateAsync(QuoteItemScheduledUser proposedObj, QuoteItemScheduledUser currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -3759,7 +3759,7 @@ namespace AyaNova.Biz
|
||||
public async Task ScheduledUserHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -3936,7 +3936,7 @@ namespace AyaNova.Biz
|
||||
private async Task TaskValidateAsync(QuoteItemTask proposedObj, QuoteItemTask currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -4030,7 +4030,7 @@ namespace AyaNova.Biz
|
||||
public async Task TaskHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -4314,7 +4314,7 @@ namespace AyaNova.Biz
|
||||
private async Task TravelValidateAsync(QuoteItemTravel proposedObj, QuoteItemTravel currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -4402,7 +4402,7 @@ namespace AyaNova.Biz
|
||||
public async Task TravelHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
@@ -4610,7 +4610,7 @@ namespace AyaNova.Biz
|
||||
private async Task UnitValidateAsync(QuoteItemUnit proposedObj, QuoteItemUnit currentObj)
|
||||
{
|
||||
//skip validation if seeding
|
||||
// if (ServerBootConfig.SEEDING) return;
|
||||
// if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
|
||||
//run validation and biz rules
|
||||
bool isNew = currentObj == null;
|
||||
@@ -4693,7 +4693,7 @@ namespace AyaNova.Biz
|
||||
public async Task UnitHandlePotentialNotificationEvent(AyaEvent ayaEvent, ICoreBizObjectModel proposedObj, ICoreBizObjectModel currentObj = null)
|
||||
{
|
||||
ILogger log = AyaNova.Util.ApplicationLogging.CreateLogger<QuoteBiz>();
|
||||
if (ServerBootConfig.SEEDING) return;
|
||||
if(ServerBootConfig.SEEDING || ServerBootConfig.MIGRATING) return;
|
||||
log.LogDebug($"HandlePotentialNotificationEvent processing: [AyaType:{proposedObj.AyaType}, AyaEvent:{ayaEvent}]");
|
||||
|
||||
bool isNew = currentObj == null;
|
||||
|
||||
Reference in New Issue
Block a user