JmgLoadArchivedTermReg.dialog Method [AX 2012]
This method returns a class that contains the methods described by the RunBaseDialogable interface.
protected Object dialog([DialogRunbase dialog, boolean forceOnClient])
Run On
CalledParameters
- dialog
- Type: DialogRunbase Class
An already initialized dialog can be passed.
- forceOnClient
- Type: boolean
A Boolean value that specifies if the dialog must be instantiated on the client.
Return Value
Type: Object ClassAn object that contains the methods described by the RunBaseDialogable interface.
// 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: