Class CI_Options_bus

Inherits

SY_Maint

Known SubClasses

CI_SetupWizard_bus

Properties

LOCAL cIsSysDB=isFALSE  
LOCAL cModuleCode$="C/I"  
LOCAL cMainTable$="CI_Options"  
PROPERTY SkipPostWriteRec  
PROPERTY ExpandedItemsState  

Methods

FUNCTION Delete(key$)  
FUNCTION Write()  
FUNCTION LOCAL PostWriteRec()  
FUNCTION LOCAL SetCurrentKey(key$)  
FUNCTION LOCAL UpdateWorkOrderGUIFlags()  
FUNCTION LOCAL Validate(col$, val)  

Validates numeric field. Override base class method to override error message set in SY_Maint.

ParameterDescription
col$ [input, string] Column name
val [input, numeric] Value to validate
Returns [boolean] retSUCCESS or retFAILURE
FUNCTION LOCAL ValidateAllowExpandedItemCodes(value$)  
FUNCTION LOCAL ValidateInvoiceNoLength(value)  

Validates invoice number length

ParameterDescription
value [input, numeric] Invoice number length
Returns [boolean] retSUCCESS or retFAILURE
FUNCTION LOCAL ValidateYearsToRetainItemHistory(value)  
FUNCTION LOCAL ZeroPadNextInvoiceNo()  

Zero pads next invoice number in A/R and S/O to the specified length

Returns [boolean] retSUCCESS

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