RunBaseDialogModify::construct Method [AX 2012]

Initializes a new instance of the RunBaseDialogModify class.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          client server protected static RunBaseDialogModify construct([RunBaseDialogModifyType_RU _runBaseDialogModifyType_RU])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server protected static RunBaseDialogModify construct([RunBaseDialogModifyType_RU _runBaseDialogModifyType_RU])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server protected static RunBaseDialogModify construct()

  Microsoft Dynamics AX 2012 (FPK)
          client server protected static RunBaseDialogModify construct()

  Microsoft Dynamics AX 2012 (SYS)
          client server protected static RunBaseDialogModify construct()

Run On

Called

Parameters

_runBaseDialogModifyType_RU
Type: RunBaseDialogModifyType_RU Enumeration

Return Value

Type: RunBaseDialogModify Class
A new instance of the RunBaseDialogModify class.

Use the following procedure to customize or extend the RunBaseDialogModify class.

  1. Create a new class that derives from RunBaseDialogModify.

  2. Overlayer the construct method on RunBaseDialogModify so that it returns an instance of the derived class.

  3. Override the methods from the RunBaseDialogModify class that you want to customize or extend in your derived class.

This procedure helps to ensure that your customizations are maintained if the base version of the RunBaseDialogModify class is changed, minimizing code conflicts during an upgrade. For more information, see Best Practices for Static Construct Methods.

Show: