This commit is contained in:
@@ -165,6 +165,12 @@ namespace AyaNova.Biz
|
||||
await WorkOrderPopulateVizFields(newObject, true, false);
|
||||
|
||||
await WorkOrderHandlePotentialNotificationEvent(AyaEvent.Created, newObject);
|
||||
|
||||
if (!newObject.GenCopyAttachmentsFrom.IsEmpty)
|
||||
{
|
||||
//copy attachment from existing object
|
||||
|
||||
}
|
||||
return newObject;
|
||||
}
|
||||
}
|
||||
@@ -346,6 +352,9 @@ namespace AyaNova.Biz
|
||||
await TagBiz.ProcessUpdateTagsInRepositoryAsync(ct, putObject.Tags, dbObject.Tags);
|
||||
await WorkOrderPopulateVizFields(putObject, true, false);//doing this here ahead of notification because notification may require the viz field lookup anyway and afaict no harm in it
|
||||
await WorkOrderHandlePotentialNotificationEvent(AyaEvent.Modified, putObject, dbObject);
|
||||
|
||||
|
||||
|
||||
return putObject;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user