| LOCAL cMainTable$="SY_CustomFieldLabel" |
| LOCAL cIsSysDB=isTRUE |
| FUNCTION CommitRow() | ||||||||||||||||
Override to the same function in SY_MaintSet to include applying text changes to tasks, menus, messages and memos, on a successful commit. | ||||||||||||||||
| ||||||||||||||||
| FUNCTION LOCAL AddApplyInfo(label$, type$, tasks$, secOpts$, memos$, msgs$) | ||||||||||||||||
| FUNCTION LOCAL AddApplyInfo(label$, type$, tasks$, secOpts$, memos$, msgs$, rpts$) | ||||||||||||||||
Function to be called by inheriting class, to setup information to be applied. The calling class can add list of tasks, memos, and messages to be applied. This method populates a memory table with the information to apply when the field labels are changed. This memory table will then be used by the ApplyLabelChanges() method. | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION LOCAL ApplyLabelChanges() | ||||||||||||||||
Applies label changes to the areas defined by the AddApplyInfo() method. This will only apply changes to field labels that change in value, and uses the cApplyChangesToTasks, cApplyChangesToMemos, cApplyChangesToMsgs flags, and the information found in the memory file populated by the AddApplyInfo() method. | ||||||||||||||||
| ||||||||||||||||
| FUNCTION LOCAL GetApplyInfo() | ||||||||||||||||
This is a stub function within this class, and inheriting classes should create this method to encompass the AddApplyInfo() calls that define the areas to apply field label changes too. | ||||||||||||||||
| ||||||||||||||||
| FUNCTION LOCAL GetLabelChanges$() | ||||||||||||||||
Compares values to previous values and defines a list of labels that have changed. This will populate the memory table used to apply label changes with old and new values, as well as populate and return a string intended for the activity log, to record an audit of changes. This function is called directly after the GetApplyInfo() function is called, both in the CommitRow() prior to calling the CommitRow from SY_MaintSet | ||||||||||||||||
| ||||||||||||||||
| FUNCTION LOCAL RenameTasks(tasks$, type$, oldLabel$, newLabel$) | ||||||||||||||||
Renames task table entries for tasks and security options, specified in the AddApplyInfo(). This method will scan for the old text of the label and replace with the new text. Populates a list of tasks that have changed to apply when rebuilding the menu. | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
| FUNCTION LOCAL SetChildColl() | ||||||||||||||||
| ||||||||||||||||
| FUNCTION LOCAL ValidateCompanyCode(value$) | ||||||||||||||||
Validates company code using Company Class Validation only if the company code is not "###" which represents all companies. | ||||||||||||||||
| ||||||||||||||||
| ||||||||||||||||
|
|
cActionWrite, cActionDelete, cActivityLogFilePrefix$, DocDateWarnDisplayed, DocDateWarnStatus, EditState, RecordChanged, FirstFailure$, DocumentTotal, ReadOnlyReason$, UDTValidation$, ViewOnly, CurrentPrecision, DocDateWarnForceOff, DocDateWarnObject, ScriptObject, ImportTest, SkipNullCheck$, AFSRequiredFields$ |
|
FileChanged |
|
ClassValidateCompanyCode(), ValidateCompanyKey() |
|
ClassValidateDeveloperCode() |
|
ClassValidateModuleCode() |
|
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() |
|
ClearSetFiles(), CommitRow(), QuickRowLoad(), ResetRow(), SeedDetailRow(), SetFilter(), SetMode() |
|