Class CU_PhoneLink_bus

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

Inherits

CU_Common

Properties

LOCAL cMainTable$="CU_PhoneLink"  

[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 phone 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 Phone link record Writes the Phone link record and updates the Phone record if necessary

ParameterDescription
nosync [input, boolean] Indicates if the Phone record should be synchronized to the Phone 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()