Class CU_Phone_bus

Inherits

CU_Common

Properties

LOCAL cMainTable$="CU_Phone"  

[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 CustomerTemplate$  
PROPERTY DefaultCustomerTemplate$  
PROPERTY PhoneWhereClause$  
[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
FUNCTION TranslateField(col$, value$)  

Used by CU_Common to format the Phone Number from CRM to the MAS 90/200 Phone Number format sets col$ to the appropriate MAS 90/200 column name for mapping the phone number

ParameterDescription
col$ [input/output, string] MAS 90/200 column name.
value$ [input, string] Phone number to format
Returns SUCCESS

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