Class CU_Email_bus

This class creates the Email records in MAS 90/200

Inherits

CU_Common

Properties

LOCAL cMainTable$="CU_Email"  

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

LOCAL cIsSysDB  
[constant, boolean] Used by service object. Set to false because this is not a system table
PROPERTY EmailWhereClause$  
[constant, string] Where clause used to find matching email link records

Methods

FUNCTION GetRelationshipWhereClause(whereClause$)  

Used by CU_Common to establish that a link record exists when writing a record Adds AR_Customer or AR_CustomerContact to whereClause$ depending on type of link found.

ParameterDescription
whereClause$ [output, string] SEP Seperated list of tables.
Returns SUCCESS is returned if a link record exists
Returns FAILURE is returned if no link record exists

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()