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

View File

@@ -251,7 +251,7 @@ namespace AyaNova.PlugIn.V8
progress.Op("Exporting Business objects"); progress.Op("Exporting Business objects");
//BIZ objects //BIZ objects
// await ExportLocales(progress); // await ExportLocales(progress);
await ExportUsers(progress); await ExportUsers(progress);
await ExportClients(progress); await ExportClients(progress);
await ExportHeadOffices(progress); await ExportHeadOffices(progress);
@@ -263,7 +263,7 @@ namespace AyaNova.PlugIn.V8
//await ExportUnits(progress); //await ExportUnits(progress);
//await ExportUnitModels(progress); //await ExportUnitModels(progress);
//await ExportVendors(progress); //await ExportVendors(progress);
//workorders once work out the actual objects and routes at server end //workorders once work out the actual objects and routes at server end
@@ -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