Share via


JmgPayTableCreateNewDateInterval.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 the method was successful; otherwise, false.

Remarks

Retrieves values entered by the user. If the from date is not entered, or the to date is before the from date, false is returned, and a warning message is displayed.

Remember always to call super() when you inherit from this method.

Examples

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

See Also

JmgPayTableCreateNewDateInterval Class

RunBase.dialog Method