Class CU_EmailLink_bus

This class creates the Email link records in MAS when change to a linked Company or Contact is made in CRM

Inherits

CU_Common

Properties

LOCAL cMainTable$="CU_EmailLink"  

[constant, string] Used by service object. Sets the main table name that will be opened on cFH

LOCAL cIsSysDB=isTRUE  
[constant, boolean] Used by service object. Set to false because this is not a system table

Methods

FUNCTION Delete(key$)  

Delete e-mail link record

ParameterDescription
key$ [input, string] Key of record to be deleted
Returns [boolean] True = success, False = failure, -1 = warning
FUNCTION WRITE()  
FUNCTION WRITE(nosync)  

Reads the Person or Company table to get the appropriate information for the Email link record Writes the Email link record and updates the Email record if necessary

ParameterDescription
nosync [input, boolean] Indicates if the Phone record should be synchronized to the Email link Record

Properties inherited from: CU_Common

cSageCRMName$, cSageCRMInstanceIDFiles$, cCRMCompanyFiles$, newRecord

Methods inherited from: CU_Common

AddMappedFieldsColl(), CheckForLink(), GetCRMUserID(), GetKeyColumns$(), GetMappedField$(), GetMappedFields$(), SetKey(), SetPartialRecord(), SetValue(), UpdateAllFields(), WRITE(), PERFORM CheckForCompanyLink(), InitFieldColl()