Class SY_ConfigData_bus

Properties

LOCAL cMainTable$="SY_ConfigData"  

[string] Name of the table that is maintained by this business class

LOCAL cIsSysDB=isTRUE  

[boolean] Flag to indicate whether the table is located in MAS_SYSTEM directory

LOCAL cBrowseIndex$="kDevCategory"  

[string] Name of key to use when using navigation keys to move through records

Methods

FUNCTION ConfirmDelete()  

Tests to see if factory records can be deleted.

Returns [boolean]
ValueDescription
retSUCCESS(1) If current record is allowed to be deleted
retFAILURE(0) If current record is not allowed to be deleted
FUNCTION Delete(key$)  

Override to Delete() function in SY_Maint. Overridden to add confirm delete call.

ParameterDescription
key$ [input, string] Key of the record to be deleted
Returns [boolean]
ValueDescription
retSUCCESS(1) returned if record was successfully deleted
retFAILURE(0) returned if record was not successfully deleted
FUNCTION GetDescriptions(catList$, descList$)  
FUNCTION GetDescriptions(catList$, descList$, devCode$)  

Get descriptions for all categories in list

ParameterDescription
catList$ [in, string] List of categories
descList$ [out, string] list of descriptions for categories in list
devCode$ [in, string] {optional} Developer Code, if not set will use value from session object
Returns [boolean]
ValueDescription
retSUCCESS(1) returned if all categories are found
retFAILURE(0) returned if one, or more, categories is not found
FUNCTION SetBrowseFilter()  

Set the browse filter based on current data entered on form

Returns Always returns retSUCCESS(1)

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: CI_ConfigDataCategory_val

ClassValidateConfigDataCategory()

Methods inherited from: CI_DeveloperCode_Val

ClassValidateDeveloperCode()

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