Share via


JmgCleanupTermReg.dialog Method [AX 2012]

This method returns a class that contains the methods described by the RunBaseDialogable interface.

Syntax

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

Run On

Called

Parameters

  • forceOnClient
    Type: boolean
    A Boolean value that specifies whether the dialog must be instantiated on the client.

Return Value

Type: Object Class
An instance of the RunbaseDialogable class.

Remarks

The JmgCleanupTermReg class adds the three following fields to the dialog: cleanup mode, maximum age, and archive file name.

Examples

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

See Also

Reference

JmgCleanupTermReg Class