CustOutPaym_DK_BS.validate Method [AX 2012]

Validates the state of the internal variables.

public boolean validate([Object _calledFrom])

Run On

Called

Parameters

_calledFrom
Type: Object Class
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.

This method must validate the state of the internal variables. 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.

The method should generally return errors 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.

Show: