Class SY_CompanyCopy_bus

Properties

LOCAL cIsSysDB  
LOCAL cMainTable$="SY_Activation"  
LOCAL cNewDB=0  

Methods

FUNCTION CopyAESEncryptionKey(srcCompanycode$, dstCompanyCode$)  

Allows copy of the AESEncryptionKey when copying companies.

ParameterDescription
[string] srcCompanyCode$ The source company code.
[string] dstCompanyCode$ The destination company code.
Returns [numeric] Success if the key was copied, otherwise failure if returned.
FUNCTION CopyCompanyVersion(srcCompanyCode$, dstCompanyCode$)  

Copies CompanyVersion value from one company to another.

ParameterDescription
[string] srcCompanyCode$ The source company code.
[string] dstCompanyCode$ The destination company code.
Returns [boolean]
ValueDescription
retSUCCESS(1) If value was copied.
retFAILURE(0) If copy failed.
FUNCTION CopyCreditCardData(srcCompanyCode$, dstCompanyCode$)  

Allows copy of credit card data from source to new destination vault-only account.

ParameterDescription
srcCompanyCode$ [input, string] The source company code.
dstCompanyCode$ [input, string] The destination company code.
Returns [numeric] Success if the data was copied, otherwise failure.
FUNCTION GetActivatedModule(ARG_1$, ARG_2$, ModuleCode$, removeOK$)  
FUNCTION GetCompanyKey(cSRCCompanyCode$, cDSTCompanyCode$, companykey$)  
FUNCTION GetCompanyName$(tmpCompanyCode$)  
FUNCTION ModuleHasForms(ModuleCode$, SRCCompanyCode$)  
FUNCTION SourceActivation(SRCcompanyKey$)  
FUNCTION TransferAll()  
FUNCTION TransferForms()  
FUNCTION UpdateCompanyLevel(CompanyCode$)  

Properties inherited from: CI_CommonPII

AllowSensitiveAccess

Properties inherited from: SY_Maint

cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest

Properties inherited from: SY_MaintSet

FileChanged

Methods inherited from: CI_CommonPII

GetDecryptedCols(), CheckEncryptedCols(), ClearEncryptedCols(), DecryptRec(), EncryptRec(), GetEncryptedCols(), InitEncryptInfo(), MaskColumnValue$(), ResetEncryptedCols()

Methods inherited from: SY_Maint

ChangedRecordCompare(), ChangedRecordInfo(), Clear(), ClearRecord(), ConfirmDelete(), CopyFrom(), ExportToCSV(), GetColumnInfo(), GetColumnProperties$(), GetDefaults(), GetOrigRecord$(), GetPropertyValue(), GetValidationGroups$(), ResetDocDateWarnState(), SetCopyKeyValue(), SetDocDateWarnDisplayed(), SetDocDateWarnOff(), SetKey(), SetKeyValue(), SetPartialRecord(), SetRecord(), SetToReadOnly(), SetValue(), SetValues(), Write(), ActivityLogCreateFile(), ActivityLogPrepare(), ActivityLogSetMessage$(), ActivityLogWrite(), CallScript(), CheckForAdvancedFieldSettings(), CheckForScripts(), CheckNullRequiredField(), PERFORM ChildValidate(), ClassValidateDate(), ClassValidateTelephoneNo(), ClearSetFiles(), ColInfoInitAll(), ColInfoInitDefaults(), CommitRow(), GetPropertyCommon(), InitColInfo(), InitScriptEngine(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()

Methods inherited from: SY_MaintSet

ClearSetFiles(), CommitRow(), QuickRowLoad(), ResetRow(), SeedDetailRow(), SetFilter(), SetMode()