Class SY_RoleTemplateSecurity_bus

Properties

LOCAL cMainTable$="SY_RoleTemplateSecurity"  
LOCAL cIsSysDB=isTRUE  

Methods

FUNCTION Delete(key$)  

Function will delete a SY_RoleTemplateSecurity table record, and put into the delete memory table.

ParameterDescription
key$ [input, string] Key value of record to delete, if given ONLY the taskkey portion of the key, the cHeaderKey$ will be prefix this value, before used to delete
Returns [boolean] retSUCCESS(1) if delete was successful retFAILURE(0) if record could not be deleted.
FUNCTION DeleteAll()  

Delete all records that have the HeaderKey$ as the RoleTemplate. This will select all records in the Set memory file and move to the delete memory file to be deleted.

Returns [boolean] retSUCCESS(1) if delete was successful retFAILURE(0) if record could not be deleted.
FUNCTION SetHeader(headerKey$)  

Function called from the SY_RoleTemplate_bus to load all matching SY_RoleTemplateSecurity records in memory to be editted.

ParameterDescription
headerKey$ [input, string] NULL Padded RoleTemplate that will be used to select records from SY_RoleTemplateSecurity table
Returns [boolean] retSUCCESS(1) if records selected successfully, retSUCCESS(0) if an error occurred selecting records
FUNCTION SetKey(key$)  

Overridden version of function from SY_Maint, overridden to prefix key with HeaderKey if necessary

ParameterDescription
key$ [input,string] full key of the SY_RoleTemplateSecurity table or just the TaskKey portion of the key to be editted
Returns [numeric]
ValueDescription
retFAILURE(0) if an error occurred trying to edit record
retSUCCESS(1) if existing record is put into edit mode
retNEW(2) if a new record has been created and put into edit mode

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

ClassValidateDeveloperCode()

Methods inherited from: CI_ModuleCode_val

ClassValidateModuleCode()

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