This commit is contained in:
@@ -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("");
|
||||
|
||||
Reference in New Issue
Block a user