This commit is contained in:
2020-05-02 22:11:15 +00:00
parent 239168d9da
commit 457868026a

View File

@@ -250,23 +250,14 @@ namespace AyaNova.PlugIn.V8
if (progress.KeepGoing)
ExportUserCertifications(progress);
progress.Op("Exporting objects");
progress.Op("Exporting Business objects");
//BIZ objects
//if (progress.KeepGoing)
// await ExportLocales(progress);
if (progress.KeepGoing)
await ExportLocales(progress);
await ExportUsers(progress);
if (progress.KeepGoing)
await ExportClients(progress);
//NOTE: when get to PRIORITY, or WORKORDER STATUS be sure to add color code as per already done in USER export
if (progress.KeepGoing)
{
progress.Append("Export completed");
@@ -307,6 +298,7 @@ namespace AyaNova.PlugIn.V8
#region users
private async System.Threading.Tasks.Task ExportUsers(ProgressForm progress)
{
if (!progress.KeepGoing) return;
//Step 1: export the CustomFields to FormCustom if applicable so that when doing individual items we can export their custom data too
var ocf = ObjectHasCustomFieldDataToExport("User");
bool ShouldExportCustom = ocf != null;
@@ -481,6 +473,7 @@ namespace AyaNova.PlugIn.V8
#region clients
private async System.Threading.Tasks.Task ExportClients(ProgressForm progress)
{
if (!progress.KeepGoing) return;
var ObjectTypeName = "Client";
//Step 1: export the CustomFields to FormCustom if applicable so that when doing individual items we can export their custom data too
var ocf = ObjectHasCustomFieldDataToExport(ObjectTypeName);
@@ -549,6 +542,7 @@ namespace AyaNova.PlugIn.V8
#region locales
private async System.Threading.Tasks.Task ExportLocales(ProgressForm progress)
{
if (!progress.KeepGoing) return;
progress.Append("Exporting customized Locales");
//checksum locales
//if a recognized checksum then don't import because it means it wasn't modified from stock