Class SY_ErrorInfo_BUS

Inherits

SY_Maint

Properties

LOCAL cArchiveDB$="MAS_SYSTEM"  

Database to use for Archive files for SQL

LOCAL cMainTable$="SY_ActivityLog"  
LOCAL cIsSysDB=isTRUE  

Methods

FUNCTION ChangeMainTable(altMainFile$, path$)  

Change main file to archive file or back to main file; based on code in SY_Service OpenMainTable() method

ParameterDescription
altMainFile$ [input, string] Alternate (archive) file to open
path$ [input, string] path to use for file open
Returns [boolean] True if successful, false if not successful
FUNCTION CheckArchiveExists(archiveYear$)  

Verify archive file exists for specified year

ParameterDescription
archiveYear$ [in, string] Year of archive file to locate
Returns [boolean] retSUCCESS when archive file found, retFAILURE when no archive file found
FUNCTION GetArchiveList(fileList$)  

Get list of archive files

ParameterDescription
fileList$ [out, string] List of archive file names
Returns [boolean] retSUCCESS when archive file found, retFAILURE when no archive files found

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