Class SY_ThemeCode_bus

Inherits

SY_Maint

Properties

LOCAL cMainTable$="SY_Theme"  
LOCAL cInvalidThemeCodeChars$=" !#$%&'()+, ;=@[]^`{}~:\/|><*?"+QUO  
LOCAL cIsSysDB=isTRUE  

Methods

FUNCTION ConfirmDelete()  

Verify current record can be deleted from the database

Returns [number] SUCCESS if record can be deleted, or FAILURE if record cannot be deleted
FUNCTION CopyFrom(key$)  

Logic to execute to complete the copy process and adjust the information in the new record

FUNCTION Delete(key$)  

Delete the current record from the database

FUNCTION ReadRec(key$)  

Read the current record from the database

FUNCTION SetDefaults()  

Set the default values for the fields in a new record

FUNCTION ValidateThemeCode(val$)  

Validate the value entered for the Theme Code

Returns [number] SUCCESS if record can be deleted, or FAILURE if record cannot be deleted
FUNCTION WRITE()  

Write the information into the database

Returns [number] SUCCESS if record can be deleted, or FAILURE if record cannot be deleted

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