Share via


VendOutPaym_NO_BBS_Rem.validate Method [AX 2012]

Validates the state of the internal variables.

Syntax

public boolean validate([Object _calledFrom])

Run On

Client

Parameters

  • _calledFrom
    Type: Object Class
    Identifies the object from which this method is called; optional.

Return Value

Type: boolean
true if the internal variables are valid; otherwise, false.

Remarks

This method must validate the state of the internal variables. It is called before closing the dialog box, and it should be called in the run method.

The method must only contain code that adds warnings to the infolog.

throw is not allowed within this method.

The method should generally return errors by using the Global::CheckFailed method.

Export formats that are designed to handle only one method of payment per payment media must call the checkUniquePaymMode method.

See Also

Reference

VendOutPaym_NO_BBS_Rem Class