RunBase.validate Method [AX 2012]

Validates the state of the internal variables.

Syntax

public boolean validate([Object calledFrom])

Run On

Called

Parameters

  • calledFrom
    Type: Object Class
    The object or form that calls the method; optional.

Remarks

The method should generally return errors by using the global CheckFailed method. It is called before closing the dialog, and should be called in the run method. It must only contain code that adds warnings to the Infolog.

The throw command is not enabled in this method.

See Also

RunBase Class

RunBase.run Method

Global::checkFailed Method