From 082d6e24b0424fe95c8984d78b243b7fbd5b3a1b Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 25 Nov 2020 20:21:01 +0000 Subject: [PATCH] --- source/Plugins/AyaNova.Plugin.V8/V8.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/source/Plugins/AyaNova.Plugin.V8/V8.cs b/source/Plugins/AyaNova.Plugin.V8/V8.cs index 596a659..8be7bf2 100644 --- a/source/Plugins/AyaNova.Plugin.V8/V8.cs +++ b/source/Plugins/AyaNova.Plugin.V8/V8.cs @@ -643,6 +643,12 @@ namespace AyaNova.PlugIn.V8 progress.Op(ObjectTypeName + " " + d.name); d.active = c.Active; d.notes = c.Notes; + //No contact but has contact notes so append to general notes + if (!string.IsNullOrWhiteSpace(c.ContactNotes)) + { + d.notes = c.Notes + "\nCONTACT NOTES:\n" + c.ContactNotes; + } + d.webAddress = c.WebAddress; d.popUpNotes = c.PopUpNotes; //TODO: d.billHeadOffice = c.BillHeadOffice; @@ -716,6 +722,18 @@ namespace AyaNova.PlugIn.V8 //Event log fixup await util.EventLog(util.AyaType.Customer, RavenId, SafeGetUserMap(c.Creator), SafeGetUserMap(c.Modifier), c.Created, c.Modified); + //RAVEN Contact type user from Client contact + //note: this is not a login account, it could be in raven but here it's the way to get the + //contact created + if (!string.IsNullOrWhiteSpace(c.Contact)) + { + } + else + { + //no contact but may be contact notes so put them in the customer notes instead + + } + } }