JmgCleanupTermReg.getFromDialog Method [AX 2012]

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

public boolean getFromDialog()

Run On

Called

Return Value

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

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.

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

Community Additions

ADD
Show: