| 
LOCAL cMainTable$="CU_CRMServerOptions"      cMainTable$ = "CU_CRMServerOptions"  | 
| 
LOCAL cIsSysDB=isTRUE      cIsSysDB set to true because CU data is in MAS_System  | 
| 
PROPERTY Security$    * Read Only * | 
| 
FUNCTION ConfirmDelete()    Confirm delete of record  | ||||
  | ||||
| 
FUNCTION DELETE(key$)    Delete record  | ||||
  | ||||
  | ||||
| 
FUNCTION GetNextSageCRMInstanceID(nextNum$)    Gets next SageCRMInstanceID$ which is an integer between 0001 and 9999  | ||||
  | ||||
  | ||||
| 
FUNCTION VerifyServerParameters()    Verify that the required system options: CRMSQLServer$,CRMSQLDatabase$,IntegrationEngineServer$, IntegrationEnginePort,CRMSQLUsername$, and MAS_UserLogon$ are not blank  | ||||
  | ||||
| 
FUNCTION WRITE()    write record  | ||||
  | 
| 
 cSageCRMName$, cSageCRMInstanceIDFiles$, cCRMCompanyFiles$, newRecord  | 
| 
 AESCipher$, AES256Cipher$  | 
| 
 AddMappedFieldsColl(), CheckForLink(), GetCRMUserID(), GetKeyColumns$(), GetMappedField$(), GetMappedFields$(), SetKey(), SetPartialRecord(), SetValue(), UpdateAllFields(), WRITE(), PERFORM CheckForCompanyLink(), InitFieldColl()  | 
| 
 ConfirmAESKey(), ConfirmPassword(), EncryptAESData(), EncryptAESKey(), EncryptAESPassword(), EncryptPassword(), GetAESDataTest$(), PasswordAcceptable(), ValidateAESData(), ValidateAESPassword(), ValidatePassword(), VerifyAESDataEncryption(), DecryptAESData(), DecryptAESKey(), DecryptAESPassword(), DecryptAltAESData(), DecryptPassword(), EncryptAltAESData(), GetKEK$(), InitAESKey(), InitializeAES(), InitializeAltAES(), ValidateAltAESData(), VerifyAltAESDataEncryption()  | 
 
 |