JmgPayStatAdjustBalance.dialog Method [AX 2012]
Returns a class that contains the methods that are described by the RunBaseDialogable interface.
protected Object dialog([DialogRunbase dialog, boolean forceOnClient])
Run On
CalledParameters
- dialog
- Type: DialogRunbase Class
An already initialized instance of the DialogRunBase class; optional.
- forceOnClient
- Type: boolean
A Boolean value that specifies whether the dialog must be created on the client; optional.
Return Value
Type: Object ClassA class that contains the methods that are described by the RunBaseDialogable interface.
The following example demonstrates the use of this method.
// Using the standard dialog system
Object dialog()
{
DialogRunbase dialog = super();
dlgTransDate = dialog.addFieldValue(extendedTypeStr(transDate),transDate);
return dialog;
}
// Using a form in the AOT
public Object dialog()
{
dialogRunbase dialog = dialog::newFormnameRunbase
(formstr(tutorial_RunbaseForm),this);
;
dialog = super(dialog);
return dialog;
}
Community Additions
ADD
Show: