This commit is contained in:
@@ -1029,9 +1029,9 @@ namespace AyaNova.PlugIn.V8
|
||||
d.notes = cn.Notes;
|
||||
TagFromv7Guid(cn.ClientNoteTypeID, tags);
|
||||
SetTags(d, tags);
|
||||
await util.PostAsync("customer-note", d.ToString());
|
||||
//Event log fixup
|
||||
await util.EventLog(util.AyaType.ClientNote, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
|
||||
var newId = util.IdFromResponse(await util.PostAsync("customer-note", d.ToString()));
|
||||
//Event log fixup
|
||||
await util.EventLog(util.AyaType.CustomerNote, newId, SafeGetUserMap(cn.Creator), SafeGetUserMap(cn.Modifier), cn.Created, cn.Modified);
|
||||
|
||||
|
||||
|
||||
@@ -1704,9 +1704,9 @@ namespace AyaNova.PlugIn.V8
|
||||
Unit c = Unit.GetItem(i.ID);
|
||||
if (c.ParentID == Guid.Empty && c.ReplacedByUnitID == Guid.Empty) continue;
|
||||
var ObjectTID = new TypeAndID(RootObjectTypes.Unit, c.ID);
|
||||
long ThisUnitRavenId= Getv7v8IdMap(c.ID, "Unit for parent / replaced by unit step 2 unit import");
|
||||
long ThisUnitRavenId = Getv7v8IdMap(c.ID, "Unit for parent / replaced by unit step 2 unit import");
|
||||
var a = await util.GetAsync("unit/" + ThisUnitRavenId.ToString());
|
||||
dynamic d = a.ObjectResponse["data"];
|
||||
dynamic d = a.ObjectResponse["data"];
|
||||
|
||||
progress.Op(ObjectTypeName + " " + d.serial);
|
||||
d.replacedByUnitId = Getv7v8IdMapNullOk(c.ReplacedByUnitID);
|
||||
|
||||
Reference in New Issue
Block a user