Share via


JmgCleanupTermReg.getFromDialog Method [AX 2012]

Assigns the dialog values to the internal variables after the dialog is closed.

Syntax

public boolean getFromDialog()

Run On

Called

Return Value

Type: boolean
true if user input is successfully validated; otherwise, false.

Remarks

The JmgCleanupTermReg retrieves value from cleanup mode, maximum age, and archive file name dialog fields. It is checked that maximum age is greater than or equal to 1.

Remember to call super when you inherit from this method.

Examples

public boolean getFromDialog()  
{  
    transDate   = dlgTransDate.value();  
    custAccount = dlgCustAccount.value();  
    return super();  
}

See Also

Reference

JmgCleanupTermReg Class