From 0a49c6c737931302344d1cfc4f0c9d09e58649b1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 13 Aug 2021 23:06:30 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index c1d3994..18130fc 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -1709,19 +1709,14 @@ namespace AyaNova.PlugIn.V8 d.dateCompleted = util.DateToV8(c.DateCompleted, false); d.accountNumber = c.AccountNumber; d.projectOverseerId = SafeGetUserMap(c.ProjectOverseerID); - TagFromv7Guid(c.RegionID, tags); SetTags(d, tags); - - //Custom fields? if (ShouldExportCustom) d.customFields = CustomFieldData(c, DateCustomFields); - var rMainObject = await util.PostAsync("project", d.ToString()); long RavenId = util.IdFromResponse(rMainObject); Addv7v8IdMap(c.ID, RavenId); - //Attachments / FILES await ExportAttachments(ObjectTID, progress); //----- @@ -1734,7 +1729,6 @@ namespace AyaNova.PlugIn.V8 d.wiki = GetWikiContent(ObjectTID); repost = true; } - //docs string NonFileUrls = await ExportDocs(ObjectTID, c.Docs, progress); if (!string.IsNullOrEmpty(NonFileUrls)) @@ -1783,16 +1777,20 @@ namespace AyaNova.PlugIn.V8 ""); - - var ObjectTID = new TypeAndID(RootObjectTypes.PurchaseOrder, c.ID); - dynamic d = new JObject(); + d.serial = c.PONumber; if (IsDuplicatev7v8IdMapItem(c.ID, i.LT_PurchaseOrder_Label_PONumber.Display, progress)) continue; progress.Op(ObjectTypeName + " " + d.name); - // d.active = c.Active; + d.notes = c.Notes; + d.vendorMemo + + + + + // Tagit(c.RegionID, tags); SetTags(d, tags);