This commit is contained in:
2020-05-04 00:37:56 +00:00
parent 10b0f005d2
commit 567055faa9

View File

@@ -1252,12 +1252,14 @@ namespace AyaNova.PlugIn.V8
private async System.Threading.Tasks.Task ExportServiceWorkorders(ProgressForm progress)
{
if (!progress.KeepGoing) return;
progress.Op("Start service workorder export");
progress.SubOp("");
var ObjectTypeName = "Workorder";
var RavenObjectName = "WorkOrder";
//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("WorkorderItem");
bool ShouldExportCustom = ocf != null;
var DateCustomFields = await ExportCustomFieldSchema(ocf, "WorkorderItem", "WorkorderItem");
var DateCustomFields = await ExportCustomFieldSchema(ocf, "WorkorderItem", "WorkOrderItem");
//Step 2: export the objects
WorkorderServiceList pl = WorkorderServiceList.GetList("");