This commit is contained in:
2020-05-13 23:08:04 +00:00
parent ba46295420
commit 9811ad6b40

View File

@@ -619,7 +619,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync("Customer/" + RavenId.ToString(), d.ToString());
await util.PutAsync("Customer/", d.ToString());
//-----
//Event log fixup
@@ -671,7 +671,7 @@ namespace AyaNova.PlugIn.V8
if (ShouldExportCustom)
d.customFields = CustomFieldData(c, DateCustomFields);
var rMainObject = await util.PostAsync("HeadOffice", d.ToString());
var rMainObject = await util.PostAsync("head-office", d.ToString());
long RavenId = util.IdFromResponse(rMainObject);
AddMap(c.ID, RavenId);
@@ -701,7 +701,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync("head-office", d.ToString());
//-----
//Event log fixup
@@ -861,7 +861,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(RavenObjectName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(RavenObjectName, d.ToString());
//-----
//Event log fixup
@@ -943,7 +943,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(ObjectTypeName , d.ToString());
//-----
//Event log fixup
@@ -1022,7 +1022,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(ObjectTypeName , d.ToString());
//-----
//Event log fixup
@@ -1090,7 +1090,7 @@ namespace AyaNova.PlugIn.V8
if (repost)
await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(ObjectTypeName, d.ToString());
//-----
//Event log fixup
@@ -1170,7 +1170,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(ObjectTypeName, d.ToString());
//-----
@@ -1252,7 +1252,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(ObjectTypeName , d.ToString());
//-----
//Event log fixup
@@ -1331,7 +1331,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(ObjectTypeName, d.ToString());
//-----
//Event log fixup
@@ -1529,7 +1529,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(RavenObjectName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(RavenObjectName, d.ToString());
//-----
//Event log fixup
@@ -1613,7 +1613,7 @@ namespace AyaNova.PlugIn.V8
repost = true;
}
if (repost)
await util.PutAsync(RavenObjectName + "/" + RavenId.ToString(), d.ToString());
await util.PutAsync(RavenObjectName , d.ToString());
//-----
//Event log fixup
@@ -1777,7 +1777,7 @@ namespace AyaNova.PlugIn.V8
//update it
progress.SubOp("Posting translation " + exportName + " to server ");
await util.PutAsync("Translation/UpdateTranslationItemsDisplayText",
await util.PutAsync("translation/updatetranslationitemsdisplaytext",
JArray.FromObject(exportItems).ToString());
progress.Op("");