LedgerBalanceSheetDimPrint.dialog Method [AX 2012]
Returns a class that contains the methods that are described by the RunBaseDialogable interface.
protected Object dialog()
Run On
CalledReturn Value
Type: Object ClassA class that contains the methods that are described by the RunBaseDialogable interface.
This method demonstrates the use of the dialog method. However, it will not compile in a job as it must be run in the context of a class, form, or other object.
//Using the standard dialog system
Object dialog()
{
DialogRunbase dialog = super();
dlgTransDate = dialog.addFieldValue(extendedTypeStr(transDate),transDate);
return dialog;
}
//Or, 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: