CustVendSumForPaym.validateTransactions Method [AX 2012]
Validates transactions when the payment is generated for a particular vendor.
Syntax
public boolean validateTransactions()
Run On
Called
Return Value
Type: boolean
true if the payment generation can be proceeded; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | This function is used incorrectly. |
Remarks
When the user clicks the generate payment menu item button, this method checks the validity of each journal line. The validation is based on comparing bank account expiration date and active date with the payment transaction date. The active date comparison occurs only if the payment type is electronic.