This commit is contained in:
2020-11-25 20:21:01 +00:00
parent cce840cfa7
commit 082d6e24b0

View File

@@ -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
}
}
}