From 7c6e0d4debe2bd86f083aaf5301049d550b7b109 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Mon, 4 May 2020 00:59:44 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index ac6618d..293ffb4 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -204,13 +204,21 @@ namespace AyaNova.PlugIn.V8 /* TODO: - + FINISH THIS BLOCK TO BIG TEST + + currently it *will* export all attachments on workorders and still needs quote and pm to complete the list + + Also the unique name thing should really be added or it will likely run into trouble + Keep list of names for each object of type and check against it to prevent dupes and adjust name before export - Just do it for all because who knows what fucked up data people will be coming from Global wiki export to user Regions export wiki to user + FINISH DOWN TO HERE AND THEN CAN TEST WITH JOYCE AND BIG DB + + todo: RAVEN workorder structure and then export here todo: modify each biz object export to include progress resetting code added to top of workorder service export reset op, subop at start of export so error doesn't show last previous item's name @@ -1310,7 +1318,7 @@ namespace AyaNova.PlugIn.V8 } //docs - string NonFileUrls = await ExportDocs(ObjectTID, c.Docs, progress); + string NonFileUrls = await ExportDocs(ObjectTID, c.Docs, progress, util.AyaType.WorkOrder); if (!string.IsNullOrEmpty(NonFileUrls)) { //need to repost the user with the notes modified @@ -1327,6 +1335,7 @@ namespace AyaNova.PlugIn.V8 //Event log fixup await util.EventLog(util.AyaType.WorkOrder, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified); + //todo: workorder items etc } } #endregion Workorders