JmgArchiveFutureRegistrations.dialog Method [AX 2012]

Retrieves a dialog that prompts the user.

protected Object dialog([DialogRunbase dialog, boolean forceOnClient])

Run On

Called

Parameters

dialog
Type: DialogRunbase Class
An already initialized dialog that can be passed
forceOnClient
Type: boolean
A Boolean value that indicates whether the dialog must be initialized on the client.

Return Value

Type: Object Class
The dialog that prompts the user.

The JmgArchiveFutureRegistrations class adds a static text to the dialog.

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; 
} 
// 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: