diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 8d1044a..e336333 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -35,7 +35,7 @@ namespace AyaNova.PlugIn.V8 public string PluginVersion { - get { return "7.6.1-alpha.103"; } + get { return "7.6.1-alpha.118"; } } public string About @@ -2247,11 +2247,7 @@ namespace AyaNova.PlugIn.V8 progress.Op("Start Service workorders export"); progress.SubOp(""); var ObjectTypeName = "Workorder"; - var RavenRouteName = "workorders"; - - todo: signatures. Ideally export to svg images for display from path data if doable here otherwise let v8 handle it and just put the path in the sig text fields - - //TODO: this in the workorder Items loop + //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; @@ -2276,18 +2272,11 @@ namespace AyaNova.PlugIn.V8 Workorder c = Workorder.GetItem(i.LT_O_Workorder.Value); if (IsDuplicatev7v8IdMapItem(c.ID, c.WorkorderService.ServiceNumber.ToString(), progress)) continue; var ObjectTID = new TypeAndID(RootObjectTypes.WorkorderService, c.ID); - - dynamic d = new JObject(); - //d.concurrency = util.CTokenFromResponse(rMainObject); progress.Op(ObjectTypeName + " " + c.WorkorderService.ServiceNumber); - d.active = true;//probably can remove this at server, just stubbed in for now - TagFromv7Guid(c.RegionID, tags); SetTags(d, tags); - - var rMainObject = await util.PostAsync("workorder", d.ToString()); long RavenId = util.IdFromResponse(rMainObject); Addv7v8IdMap(c.ID, RavenId); @@ -2335,8 +2324,7 @@ namespace AyaNova.PlugIn.V8 // d.concurrency = util.CTokenFromResponse(rMainObject); progress.Op("WorkorderItem " + wi.ID.ToString()); - dwi.active = true;//probably can remove this at server, just stubbed in for now - + TagFromv7Guid(wi.TypeID, tags); TagFromv7Guid(wi.WorkorderItemUnitServiceTypeID, tags); SetTags(dwi, tags);