This commit is contained in:
2021-01-04 17:29:54 +00:00
parent 71f3646c2f
commit b13b3aa337

View File

@@ -1029,9 +1029,9 @@ namespace AyaNova.PlugIn.V8
d.notes = cn.Notes; d.notes = cn.Notes;
TagFromv7Guid(cn.ClientNoteTypeID, tags); TagFromv7Guid(cn.ClientNoteTypeID, tags);
SetTags(d, tags); SetTags(d, tags);
await util.PostAsync("customer-note", d.ToString()); var newId = util.IdFromResponse(await util.PostAsync("customer-note", d.ToString()));
//Event log fixup //Event log fixup
await util.EventLog(util.AyaType.ClientNote, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified); await util.EventLog(util.AyaType.CustomerNote, newId, SafeGetUserMap(cn.Creator), SafeGetUserMap(cn.Modifier), cn.Created, cn.Modified);