Class SY_Role_bus

Inherits

SY_Maint

Properties

LOCAL cMainTable$="SY_Role"  
LOCAL cPrimaryIndex$="kRoleName"  
LOCAL cBrowseIndex$="kHiddenRole"  
LOCAL cBrowseFilter$="N"  
LOCAL cDefaultRole$="0000000000"  
LOCAL cIsSysDB  
LOCAL cTaskTypeSecurity$="04"  
LOCAL cTaskTypeMenu$="07"  
LOCAL cTaskTypeApplication$="08"  
LOCAL cActionCopy=2  

[int] Action types used to create activity log message

Methods

FUNCTION CopyFrom(template$, role$)  

Copies role table information from a template or a role

ParameterDescription
template$ [input,string] template to copy from, blank when copying from another role
role$ [input,string] role to copy from, blank when copying from a template
Returns [boolean] True if successful, false if copy fails
FUNCTION CopyRole(from$, to$, desc$, opt1, opt2, opt3, opt4)  
FUNCTION Delete(key$)  
FUNCTION PassUIObject(uiObj)  
FUNCTION ValidateCopyFromRole(value$)  

Validates the Copy From Role value

ParameterDescription
value$ [input,string] value being validated
Returns [boolean] True if successful, false if value fails validation
FUNCTION ValidateCopyFromTemplate(value$)  

Validates the Copy From Template value

ParameterDescription
value$ [input,string] value being validated
Returns [boolean] True if successful, false if value fails validation
FUNCTION Write()  

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