Class SY_Activation_bus

Properties

LOCAL cAllCompanies$="0000000000"  
LOCAL cIsSysDB=isTRUE  
LOCAL cMainTable$="SY_Activation"  

Methods

FUNCTION Activate(moduleCode$)  
FUNCTION Activate(moduleCode$, companyCode$)  
FUNCTION Activate(moduleCode$, companyCode$, skipEmbeddedIO)  
FUNCTION Activate(moduleCode$, companyCode$, skipEmbeddedIO, updateConversionHistory)  
FUNCTION CompanyRequiresSqlConversion(company$)  

Detects if any company data exists in Pvx files on a Premium installation.

FUNCTION FindOptionsFile(module$, company$, dataLevel, dataSubLevel)  

Searches for the module options file/table for the company and if found, returns the data levels contained in the options record.

ParameterDescription
module$ [input, string] Module Code
company$ [input, string] Company Code
dataLevel [output, numeric] The data level found in the options record.
dataSubLevel [output, numeric] The data sub level found in the options record.
Returns [numeric] retSUCCESS if options file was found, retFAILURE if it was not, retWARNING if the options file was found but could not be opened.
FUNCTION FindOptionsFile(module$, company$, optionsRec$, optionsIol$)  

Searches for the module options file/table for the company and if the Everest options table was found, returns the options record.

ParameterDescription
module$ [input, string] Module Code
company$ [input, string] Company Code
optionsRec$ [output, string] The options record read if the Everest Options table was found, otherwise blank.
optionsIol$ [output, string] The IOLIST of the options record.
Returns [numeric] retSUCCESS if options file was found, retFAILURE if it was not, retWARNING if the options file was found but could not be opened.
FUNCTION UpdateActivationRecords(companyCode$)  
FUNCTION UpdateActivationRecords(companyCode$, skipCompanyUpdate)  
FUNCTION UpdateCompanyLevel(companyKey$)  
FUNCTION UpdateTables(moduleCode$)  
FUNCTION UpdateTables(moduleCode$, companyCode$)  
FUNCTION UpdateTables(moduleCode$, companyCode$, tableList$)  
FUNCTION UpdateTables(moduleCode$, companyCode$, tableList$, createPvx)  

Updates the physical file, or SQL table, for the tables referenced by the moduleCode$ or optional tableList$ argument.

ParameterDescription
moduleCode$ [input, string] Used to get the table list from the DDF, by group.
companyCode$ [input, string] Company code to perform update for, can be blank for system modules.
tableList$ [input, string] Optional list of tables to update, overrides moduleCode$
createPvx [input, bool] Optional flag to override the target datastore of the table update.
Returns [boolean] True if no errors were encountered.

Properties inherited from: SY_Maint

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

Methods inherited from: SY_ConversionCommon

GetOriginalTableIOL$(), IsModuleSetup()

Methods inherited from: SY_EmbedIOPrograms

EmbedIO(), DefineEmbeddedIO(), GetFileNumber()

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(), InitSearchForUpdate(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), PreWriteScripts(), RemoveColToSkip(), ResetRow(), RetrieveColInfo(), SetDefaults(), SetFilter(), SetMode(), SetParentHandle(), SetValueNoValidate(), StoreColToSkip(), ValidateAll(), ValidateAllRecord(), ValidateColInfo(), ValidateRule()