This commit is contained in:
@@ -430,7 +430,7 @@ namespace AyaNova.PlugIn.V8
|
||||
//Step 2: export the objects
|
||||
|
||||
UserPickList pl = UserPickList.GetList(false);
|
||||
progress.Append("Exporting " + pl.Count.ToString() + " Users");
|
||||
progress.Append("Exporting " + pl.Count.ToString() + " Users (step 1/2)");
|
||||
|
||||
#region Export administrator wiki and attached files if present
|
||||
{
|
||||
@@ -627,7 +627,7 @@ namespace AyaNova.PlugIn.V8
|
||||
//Step 2: export the objects
|
||||
|
||||
UserPickList pl = UserPickList.GetList(false);
|
||||
progress.Append("Exporting " + pl.Count.ToString() + " Users");
|
||||
progress.Append("Exporting " + pl.Count.ToString() + " Users (step 2/2)");
|
||||
|
||||
|
||||
|
||||
@@ -993,6 +993,9 @@ namespace AyaNova.PlugIn.V8
|
||||
// d.translationId = 1;
|
||||
|
||||
await util.PutAsync("user-option/" + RavenContactId.ToString(), d.ToString());
|
||||
//Event log fixup (using customer data since the contact is created from the customer)
|
||||
await util.EventLog(util.AyaType.User, RavenContactId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
|
||||
|
||||
|
||||
|
||||
//###########
|
||||
@@ -1201,6 +1204,10 @@ namespace AyaNova.PlugIn.V8
|
||||
|
||||
await util.PutAsync("user-option/" + RavenContactId.ToString(), d.ToString());
|
||||
|
||||
//Event log fixup (using customer data since the contact is created from the customer)
|
||||
await util.EventLog(util.AyaType.User, RavenContactId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified);
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2200,7 +2207,8 @@ namespace AyaNova.PlugIn.V8
|
||||
|
||||
dwi.notes = "Summary:\n" + wi.Summary + "TechNotes: \n" + wi.TechNotes;
|
||||
|
||||
await util.PostAsync("workorder/items", dwi.ToString());
|
||||
var ravenwoitemid = util.IdFromResponse(await util.PostAsync("workorder/items", dwi.ToString()));
|
||||
await util.EventLog(util.AyaType.WorkOrderItem, ravenwoitemid, SafeGetUserMap(wi.Creator), SafeGetUserMap(wi.Modifier), wi.Created, wi.Modified);
|
||||
|
||||
//and rest of tree below here...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user