Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validates the state of the internal variables.
Syntax
public boolean validate([Object _calledFrom])
Run On
Server
Parameters
- _calledFrom
Type: Object Class
A value that identifies the object from which this method is called. The default value is nullNothingnullptrunita null reference (Nothing in Visual Basic).
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 the dialog box is closed and should be called in the run method.
It must contain only code that adds warnings to the Infolog.
A throw is not allowed in 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.