DirPartyContactInfoView.updateButtonsMenuItem Method [AX 2012]

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

public void updateButtonsMenuItem(
    boolean _mainRecordExist, 
    FormFunctionButtonControl _newBtn, 
    FormFunctionButtonControl _editBtn, 
    FormFunctionButtonControl _advancedBtn, 
    FormFunctionButtonControl _deleteBtn, 
    FormFunctionButtonControl _deactivateBtn)

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 in a form.
_editBtn
Type: FormFunctionButtonControl Class
The Edit button in a form.
_advancedBtn
Type: FormFunctionButtonControl Class
The Advanced button in a form.
_deleteBtn
Type: FormFunctionButtonControl Class
The Delete button in a form.
_deactivateBtn
Type: FormFunctionButtonControl Class
The Deactivate button in a form.

The Delete button must be a menu item button.

Community Additions

ADD
Show: