Class SY_MemoHandler_UI

Properties

LOCAL trows=0  
LOCAL cSelectionGrid=gd_Select.ctl  
LOCAL cMaintenanceOption=1  
PROPERTY MemoAutoDisplayed SET ERR ! property set if memo was auto displayed, only to be checked after   * Read Only *
PROPERTY coBusiness  
PROPERTY AdditionalMemoSelectionCriteria$  

Methods

FUNCTION AutodisplayMemos(MemoKey$, MemoFunction$)  
FUNCTION AutodisplayMemos(MemoKey$, MemoFunction$, Module$, MemoType$)  
FUNCTION AutodisplayMemos(MemoKey$, MemoFunction$, Module$, MemoType$, BT_Memo)  
FUNCTION BT_Browse()  
FUNCTION BT_CANCEL()  
FUNCTION BT_COPY()  
FUNCTION BT_Delete()  
FUNCTION BT_FIRST()  
FUNCTION BT_LAST()  
FUNCTION BT_NEWMEMO()  
FUNCTION BT_NEXT()  
FUNCTION BT_OK()  
FUNCTION BT_PREV()  
FUNCTION BT_PRINT()  
FUNCTION BT_PROCEED()  
FUNCTION BT_RESET()  

Reset auto display settings back to defaults in Override Auto Display Settings

FUNCTION BT_SELECT()  
FUNCTION BT_SELECTCANCEL()  
FUNCTION BT_SETTINGS()  
FUNCTION BT_VIEWATTACHMENT()  
FUNCTION BT_VIEWATTACHMENT2()  
FUNCTION BuildMemoList(memoRows$)  

Function builds a list of all the memos to appear in the list box and returns them in the argument memoRows$

ParameterDescription
memoRows$ [output, string] Contains the data for the list box with $04$ separated rows, and the columns separated with SEP ($8A$)
Returns [boolean]
ValueDescription
retFAILURE (0) - If there was no data to be put into the list box. CMD_STR$ = "END" will be set in this case to terminate the window.
retSUCCESS (1) - If rows found
FUNCTION ChangeAttachmentPath()  

Function to set memo attachment path in the business object and ENABLE/DISABLE the Attachment Button accordingly

Returns [Boolean]
ValueDescription
retFAILURE (0) - Attachment was not valid.
retSUCCESS (1) - Attachment was valid.
FUNCTION CHANGEAutoDisplaySetting()  
FUNCTION ChangeLB_Memos()  
FUNCTION CHANGEMemoCode()  
FUNCTION CheckAttachmentButton()  
FUNCTION CheckForMemoCodes()  
FUNCTION CheckSecurity(MemoFunction$)  
FUNCTION DeleteMemos(MemoKey$, ModuleCode$, MemoType$, MemoFunction$)  
FUNCTION GetALEColumnInfo(gridCtl, id$, class$)  
FUNCTION GetALEColumnInfo(gridCtl, ID$, class$, column$)  
FUNCTION GetMemoCtlInfo(buttonCtl)  
FUNCTION HasMemos(MemoKey$)  
FUNCTION HasMemos(MemoKey$, MemoFunction$, Module$, MemoType$, btnCtl)  
FUNCTION LoadRow(GRID_CTL, grid_row)  
FUNCTION MaintainMemos(MemoKey$, MemoFunction$, btnCtl)  
FUNCTION MaintainMemos(MemoKey$, MemoFunction$, Module$, MemoType$, btnCtl)  
FUNCTION OnExit()  
FUNCTION OpenMemoTables(MemoType$, ModuleCode$, MemoFunction$)  
FUNCTION PostLoad()  
FUNCTION PostReadRec()  
FUNCTION ShowMemoButton(ModuleCode$, MemoType$, MemoFunction$, btnCtl)  

Properties inherited from: SY_GridHandler

cAutoCompCellTypes$, cCentreCellTypes$, cEnterLikeTab$, cGridDefaultRowHeight, cLookupCellTypes$, cSearchDialogueCreated, cExcelInstalled, cAllUsers$, cAllComps$, cAllWrks$, cOpenedNOMADSGridTable, cLocalGridVariablesSet, GridIOL$

Properties inherited from: SY_MaintUI

InBrowse, ViewOnly

Properties inherited from: SY_Selection

cDefaultOperand$, cMaintenanceOption, cSkipPromote, Category1Desc$, Category2Desc$, Category3Desc$, Category4Desc$

Methods inherited from: SY_GridHandler

AddColumn(), ClassChangeGrid(), ClassInitializeGrid(), ClassOnFocusGrid(), ClearGrid(), DisableGrid(), DropColumn(), DropRow(), EnableGrid(), ExportToExcel(), FindColumnHeader(), FreezeColumn(), GetALEColumnInfo(), GetColumnAttributes(), GetGridIndex(), GetGridIOLIST$(), GotoCell(), GotoColumn(), GotoRow(), HideColumn(), InitializeRow(), InsertRow(), IsColumnHideAble(), IsColumnInGrid(), IsColumnMoveAble(), LoadGrid(), LoadRow(), LockGrid(), OnExitWithGrid(), ParseQuickString(), RefreshGridBindings(), RemoveGridFocus(), SaveGridSettings(), SaveRow(), SetColumnAttributes(), SetColumnAttributesHeadersMain(), SetColumnAttributesHeadersSec(), SetGridPresets(), SetupGrid(), ShowColumn(), ShowColumns(), ShowRow(), AddGroups(), AdjustNomadsInfo(), BT_RowDel(), BT_RowDown(), BT_RowIns(), BT_RowSearch(), BT_RowUp(), ChangeML_GotoLine(), ClearNomadsInfo(), CloneNomadsInfo(), CloseSearchWindow(), DoColumnChange(), DoSave(), PERFORM DoSearch(), FindNextCell(), FormatDate$(), FormatRow(), GetRowLockState(), GetWdwForCtl(), HasRowChanged(), IsColumnHidden(), IsCtlGrid(), OpenSearchWindow(), PERFORM PaintCell(), ParseIOList$(), ParseRowTag$(), PopulateGridBindings(), PutTick(), RemoveGridCustomization(), RemoveNomadsInfo(), ResetSecInitPropLists(), PERFORM ResolveFormatters(), ResolveGroups(), RestoreGridAutoComplete(), RestoreNomadsInfo(), ReturnToField(), SetButtonState(), SetButtonStateFirstRow(), SetButtonStateInsertRow(), SetButtonStateLastRow(), SetButtonStateNoRow(), SetButtonStateOtherRow(), SetColumnGroupState(), SetColumnState(), SetGridAutoComplete(), PERFORM SetGridHeaders(), PERFORM SetGridIOLISTS(), SetGridSecurity(), SetGridSize(), SetLocalGridVariables(), SetPopupStatus(), SetRowLockState(), SetRowState(), SetupNomadsInfo(), ShowSearchResult(), TestAutoCompleteObj()

Methods inherited from: SY_MaintUI

HasRights(), RefreshBindings(), SetDocDateWarnOff(), SetUIRecord(), SetVar(), AddSuppressedMsg(), BindVariables(), BT_Accept(), BT_AcceptClose(), BT_Cancel(), BT_CancelClose(), BT_Delete(), BT_First(), BT_Last(), BT_List(), BT_Listing(), BT_Next(), BT_Office(), BT_OKView(), BT_Prev(), BT_Print(), CheckMemo(), ClassPushMemoBtn(), ConfirmDelete(), ConfirmWrite(), DefaultChange(), DisplayErrorMsg(), DisplayMemoButton(), DisplayWriteError(), ExplodeIOL(), GetBusinessObject(), GetControlID(), GetFirstID(), HandleDocumentDateWarning(), HasMemos(), HidePopupMenu(), InitBusinessObject(), KeyChange(), LaunchMemo(), OnExit(), PostLoad(), QuickConfirmWrite(), PERFORM ResolveMemoParameters(), ReturnToCtlOrGrid(), PERFORM RtrnToCTLOrGrid(), SetBusinessObject(), SetFocusFailedID(), SetFocusFirstID(), SetFormDisplay(), SetFormState(), SetInitialRecord(), SetNumericVal(), SetStringVal()

Methods inherited from: SY_Selection

BuildSelectDefaults(), ChangeOperand(), ChangeValue1(), ChangeValue2(), ClassOnFocusGrid(), ClassOnFocusGridSetKey(), CreateSelectWhere(), GetWhereClause(), LoadGrid(), LoadRow(), OnExitGrid(), PostLoadGrid(), ReadSelectDefault(), ResetALL(), ReturnReportSelection(), ReturnSetupGrid(), ReturnSetupTable(), RowMods(), SaveRow(), SetOperand(), SetRowState(), AddRecPrefix$(), PERFORM BuildClause(), FindMultiSepChar(), FixDepartment(), FixDivision(), PERFORM FormatValue(), GetBeginEnd(), GetBeginEndCol(), PERFORM GetSelection(), IsUDFReportSelection(), PERFORM JoinClause(), PfxWhereClause(), PostLoad(), PromoteCacheMode(), RefreshSelectionGrid(), PERFORM ResetValue1(), PERFORM ResetValue2(), SaveRowWrite(), SearchOutsideQuotes(), SelectionResetRow(), SetAutoComplete(), SetupForDateSelections(), SubstituteOutsideQuotes(), PERFORM SYSResolveSelectToken()