This commit is contained in:
2021-07-27 18:43:32 +00:00
parent 9e62ff9006
commit 4cd151f88b
4 changed files with 18 additions and 1 deletions

View File

@@ -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;
}