This commit is contained in:
2020-05-02 23:43:09 +00:00
parent 0f38277890
commit c1874e3530

View File

@@ -493,7 +493,7 @@ namespace AyaNova.PlugIn.V8
//Step 2: export the objects //Step 2: export the objects
ClientPickList pl = ClientPickList.GetList(); ClientPickList pl = ClientPickList.GetList();
progress.Append("Exporting " + pl.Count.ToString() + ObjectTypeName + "s"); progress.Append("Exporting " + pl.Count.ToString() + " " + ObjectTypeName + "s");
foreach (ClientPickList.ClientPickListInfo i in pl) foreach (ClientPickList.ClientPickListInfo i in pl)
{ {
@@ -562,9 +562,9 @@ namespace AyaNova.PlugIn.V8
//Step 2: export the objects //Step 2: export the objects
PickListAutoComplete pl = PickListAutoComplete.GetList("**", "headoffice"); PickListAutoComplete pl = PickListAutoComplete.GetList("**", "headoffice");
progress.Append("Exporting " + pl.Count.ToString() + ObjectTypeName + "s"); progress.Append("Exporting " + pl.Count.ToString() + " " + ObjectTypeName + "s");
foreach (PickListAutoComplete.PickListAutoCompleteInfo i in pl ) foreach (PickListAutoComplete.PickListAutoCompleteInfo i in pl)
{ {
if (!progress.KeepGoing) return; if (!progress.KeepGoing) return;
List<string> tags = new List<string>(); List<string> tags = new List<string>();
@@ -629,7 +629,7 @@ namespace AyaNova.PlugIn.V8
//Step 2: export the objects //Step 2: export the objects
PickListAutoComplete pl = PickListAutoComplete.GetList("**", "contract"); PickListAutoComplete pl = PickListAutoComplete.GetList("**", "contract");
progress.Append("Exporting " + pl.Count.ToString() + ObjectTypeName + "s"); progress.Append("Exporting " + pl.Count.ToString() + " " + ObjectTypeName + "s");
foreach (PickListAutoComplete.PickListAutoCompleteInfo i in pl) foreach (PickListAutoComplete.PickListAutoCompleteInfo i in pl)
{ {
@@ -672,7 +672,7 @@ namespace AyaNova.PlugIn.V8
//need to repost the object with the notes modified //need to repost the object with the notes modified
d = rMainObject.ObjectResponse["data"]; d = rMainObject.ObjectResponse["data"];
d.notes = NonFileUrls + "\n-----------------\n" + d.notes; d.notes = NonFileUrls + "\n-----------------\n" + d.notes;
await util.PutAsync(ObjectTypeName+"/" + RavenId.ToString(), d.ToString()); await util.PutAsync(ObjectTypeName + "/" + RavenId.ToString(), d.ToString());
} }
//Event log fixup //Event log fixup