Class PM_UserDefinedInfoSetup_bus

Properties

LOCAL cMainTable$="PM_UserDefinedInfoSetup"  

[string] Main table for class

LOCAL cIsSysDB=isFALSE  

[boolean] Value denoting whether the main table is a system table

Methods

FUNCTION CheckForCodes(tmpCodeClass$)  

Check for codes on file for a code class

ParameterDescription
tmpCodeClass$ [input, string] code class to check
Returns [boolean] True if codes are on file, false if none exist
FUNCTION Delete(key$)  

Delete record

ParameterDescription
key$ [input, string] key value of record to delete
Returns [boolean] True if delete is successful, false if record cannot be deleted or delete fails
FUNCTION SetMode(mode$)  

To overload base method logic. When object instantiated in set mode only allow one user to maintain datasheet, any other user in set mode will be put into view only mode. When not in set mode security access will be set to either view only or create only

ParameterDescription
mode$ [input, string] set to SET when editing entire set of status code records
Returns [boolean] True if successful, false if value fails validation
FUNCTION ValidateGroupCodesDoNotExist()  

Validation Group, Codes do not exist for the Code Class returns [boolean] True if no codes exist for the Code Class, False if codes have been created

Properties inherited from: SY_Maint

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

Properties inherited from: SY_MaintSet

FileChanged

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

Methods inherited from: SY_MaintSet

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