Class PO_CancelReasonCode_bus

Properties

LOCAL cIsSysDB=isFALSE  

Is main table a system database? Used by SY_Maint when opening cMainTable$

LOCAL cMainTable$="PO_CancelReasonCode"  
Main table for object, Cancel Reason Code table

Methods

FUNCTION ConfirmDelete()  

To check logic to ensure that cancel reason code can be deleted

Returns [boolean] success/failure Success if cancel reason code can be deleted else failure and sets error messages
FUNCTION DELETE(key$)  

To overload base method logic to set error message if trying to delete permanent cancel reason code

ParameterDescription
key$ [input][String] Key to reason code table
Returns [boolean] success/failure and sets error messages
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 cancel reason code records
Returns [boolean] success/failure and sets error messages

Properties inherited from: SY_Maint

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

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(), InitWorkTable(), IsColInIOList(), IsValid(), LoadColInfo(), OpenMainTable(), ParseExtField(), 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()