DirPartyPostalAddressView.updateButtonsMenuItem Method [AX 2012]

Updates the buttons for the toolbar next to the address grid.

public void updateButtonsMenuItem(
    boolean _mainRecordExist, 
    FormFunctionButtonControl _newBtn, 
    FormFunctionButtonControl _editBtn, 
    FormFunctionButtonControl _advancedBtn, 
    FormFunctionButtonControl _deleteBtn, 
    FormFunctionButtonControl _deactivateBtn, 
    FormFunctionButtonControl _mapBtn, 
   [FormFunctionButtonControl _defaultBtn])

Run On

Called

Parameters

_mainRecordExist
Type: boolean
A Boolean value that indicates whether there is a valid party record.
_newBtn
Type: FormFunctionButtonControl Class
The New button on the form.
_editBtn
Type: FormFunctionButtonControl Class
The Edit button on the form
_advancedBtn
Type: FormFunctionButtonControl Class
The Advanced button on the form
_deleteBtn
Type: FormFunctionButtonControl Class
The Delete button on the form
_deactivateBtn
Type: FormFunctionButtonControl Class
The Deactivate button on the form
_mapBtn
Type: FormFunctionButtonControl Class
The Map button on the form
_defaultBtn
Type: FormFunctionButtonControl Class
The Default location button on the form

The Delete button must be a MenuItemButton object.

Community Additions

ADD
Show: