Class SY_MaintUI

Inherits

SY_CommonUI, SY_OpenObject

Properties

PROPERTY InBrowse   * Read Only *
PROPERTY ViewOnly  

Methods

FUNCTION HasRights(action$)  

To check if user has right to perform the specified action

ParameterDescription
action$ [input, string] DELETE, CREATE, ADD, MODIFY, CREATEMODIFY, WRITE, FULLACCESS, or ALL
Returns [boolean] true = user has right, false = user does not have right
FUNCTION RefreshBindings(dataSrcToRead$)  
FUNCTION SetDocDateWarnOff(bDisable)  

Set state of property used for to temporarily disable display of message for Document Date Warning @property bDisable [input, boolean] TRUE = Disable message display, FALSE = Display message, if feature enabled

Returns retSUCCESS(1)
FUNCTION SetUIRecord(rec$, iol$)  
FUNCTION SetVar(col$, val$)  
FUNCTION SetVar(col$, val)  
FUNCTION LOCAL AddSuppressedMsg(messages$)  
FUNCTION LOCAL AddSuppressedMsg(messages$, dlm$)  

To add specific message codes to a string to be suppressed if they occur during the DefaultChange() method. This routine will add the code(s) passed in to the local property cSuppressedMsgs$

ParameterDescription
messages$ [input, string] Argument can be one or multiple message codes to add to the suppressed messages string. If passing in multiple codes, please add the delimiter used in the second argument, otherwise SEP will be assumed.
dlm${optional} [input, string] This is to be used only if passing in multiple codes, specify the delimiter character being used to separated the message codes, in the messages$ argument above. Please note as a default SEP will be used.
Returns [boolean] @value retSUCCESS
FUNCTION LOCAL BindVariables(initFlag)  
FUNCTION LOCAL BT_Accept()  
FUNCTION LOCAL BT_AcceptClose()  
FUNCTION LOCAL BT_Cancel()  
FUNCTION LOCAL BT_CancelClose()  
FUNCTION LOCAL BT_Delete()  
FUNCTION LOCAL BT_First()  
FUNCTION LOCAL BT_Last()  
FUNCTION LOCAL BT_List()  
FUNCTION LOCAL BT_Listing()  
FUNCTION LOCAL BT_Next()  
FUNCTION LOCAL BT_Office()  
FUNCTION LOCAL BT_OKView()  
FUNCTION LOCAL BT_Prev()  
FUNCTION LOCAL BT_Print()  
FUNCTION LOCAL CheckMemo()  
FUNCTION LOCAL CheckMemo(control$, memoKey$, tag$)  
FUNCTION LOCAL ClassPushMemoBtn()  
FUNCTION LOCAL ClassPushMemoBtn(controlID)  
FUNCTION LOCAL ConfirmDelete()  
FUNCTION LOCAL ConfirmWrite()  
FUNCTION LOCAL DefaultChange()  
FUNCTION LOCAL DisplayErrorMsg(errNum$, errMsg$)  

Method that is called to display an error or warning message that occurs during the DefaultChange() method. It will only display the message if the code is NOT contained in the cSuppressedMsgs$ variable.

ParameterDescription
errNum$ [input, string] Error message code to display
errMsg$ [input, string] Message text to be displayed that corresponds with the message code.
Returns [boolean] retSUCCESS always returned.
FUNCTION LOCAL DisplayMemoButton(btnID)  
FUNCTION LOCAL DisplayMemoButton(btnID, tag$)  
FUNCTION LOCAL DisplayWriteError(busObj)  
FUNCTION LOCAL ExplodeIOL()  
FUNCTION LOCAL GetBusinessObject()  
FUNCTION LOCAL GetBusinessObject(ctlName$)  
FUNCTION LOCAL GetBusinessObject(ctlID)  
FUNCTION LOCAL GetControlID(var$, mapID$, ctlName$)  
FUNCTION LOCAL GetFirstID()  
FUNCTION LOCAL HandleDocumentDateWarning(errNum$, errMsg$, colDesc$, var$, dateEntered$, busObject)  

Display error message and handle user repsonse for document date warning

ParameterDescription
errNum$ [input, string] Error message code to display
errMsg$ [input, string] Message text to be displayed that corresponds with the message code.
colDesc$ [input, string] column description for validated field
var$ [input, string] Variable associated with the validated field
dateEntered$ [input, date] Date entered in validated field
busObject [input, object] Reference to business object used to perform validation
Returns [boolean] retSUCCESS always returned.
FUNCTION LOCAL HasMemos(control$, memoKey$, tag$)  
FUNCTION LOCAL HidePopupMenu()  
FUNCTION LOCAL InitBusinessObject(businessId$, className$, mode$, doWrite, doDelete, doClear)  
FUNCTION LOCAL InitBusinessObject(businessId$, className$, mode$, doWrite, doDelete, doClear, objectHandle)  
FUNCTION LOCAL InitBusinessObject(businessId$, className$, mode$, doWrite, doDelete, doClear, objectHandle, doNotRead)  
FUNCTION LOCAL KeyChange(key$)  
FUNCTION LOCAL KeyChange(key$, suppressMsg)  
FUNCTION LOCAL KeyChange()  
FUNCTION LOCAL KeyChange(suppressMsg)  
FUNCTION LOCAL LaunchMemo()  
FUNCTION LOCAL LaunchMemo(control$, memoKey$, tag$)  
FUNCTION LOCAL OnExit()  
FUNCTION LOCAL PostLoad()  
FUNCTION LOCAL QuickConfirmWrite()  

Checks done for confirm write for a new record

Returns [boolean] True = success, False = failure
FUNCTION LOCAL PERFORM ResolveMemoParameters()  
FUNCTION LOCAL ReturnToCtlOrGrid()  
FUNCTION LOCAL PERFORM RtrnToCTLOrGrid()  
FUNCTION LOCAL SetBusinessObject(ctlName$, ctlTag$)  
FUNCTION LOCAL SetFocusFailedID()  
FUNCTION LOCAL SetFocusFirstID()  
FUNCTION LOCAL SetFormDisplay()  
FUNCTION LOCAL SetFormState(action)  
FUNCTION LOCAL SetInitialRecord(atom)  
FUNCTION LOCAL SetNumericVal(var$)  
FUNCTION LOCAL SetStringVal(var$)  

Properties inherited from: SY_CommonUI

ViewOnly, ScriptsDefined, DocDateWarnDisplayed, DocDateWarnForceOff

Methods inherited from: SY_CommonUI

CallScript(), ClassFormatterDate$(), ClassFormatterTime$(), ClassFormatterUdfYesNo$(), ClassOnfocusDate(), ClassPushCreditRptPush(), ClassPushDeliveryOptionsPush(), ClassPushEmailPush(), ClassPushExecute(), ClassPushExplorerView(), ClassPushHyperlinkPush(), ClassPushMapPush(), ClassPushPkgTrackingPush(), ClassPushURLPush(), ClassValidateDate$(), ClassValidateDocumentDate(), ClassValidateUdfYesNo$(), DropBoxLoad(), FormatNumericTime(), GetControlProperty(), GetDateMasked(), GetDateRaw(), GetFolderName$(), GetPanelName$(), GetScreenName$(), GetValue(), HandleScriptUI(), InvokeChange(), InvokeLookup(), ListBoxLoad(), Process(), SetControlProperty(), SetDocDateWarnOff(), AppendTitleBar(), BT_ListBoxExportToExcel(), BT_SageU(), CheckForScripts(), ClassChangeTelephoneNoUI(), ClassPushDirectoryButton(), DrillDown(), GetListboxIol$(), GetScriptUIGroup$(), InitScriptEngine(), NomadsProcess(), ParseTagField(), SetControlState(), SetKeyState(), ShowDocumentDateWarning(), ShowSageUniversity(), Status()