ReasonFormTable.initControls Method [AX 2012]

Hides fields on the Reasons form, based on the menu item from which the form was called.

public void initControls(ReasonCodeAccountTypeAll _rcAccountTypeMenu)

Run On

Called

Parameters

_rcAccountTypeMenu
Type: ReasonCodeAccountTypeAll Enumeration
Defines which account types will be returned and maintained by the user.

This method will hide and set the caption for the form from which the helper class was called.

It hides or shows checkboxes found both on the overview and general tab of the form.

It first calls SetControlsVisible to hide all checkboxes and then displays the checkboxes needed.

Community Additions

ADD
Show: