LedgerBalanceSheetDimPrint.dialog Method [AX 2012]

Returns a class that contains the methods that are described by the RunBaseDialogable interface.

protected Object dialog()

Run On

Called

Return Value

Type: Object Class
A class that contains the methods that are described by the RunBaseDialogable interface.

A dialog can be built by using the dialog system or a class created in the AOT.

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: