Share via


CustVendSumForPaym.validatePayment Method [AX 2012]

Validates transactions when the payment is generated for a particular vendor.

Syntax

public boolean validatePayment()

Run On

Called

Return Value

Type: boolean
true if the payment can be generated; otherwise, false.

Remarks

When the user clicks the OK button on the generate payments dialog box, this method validates the journal for the payment generation. The method then checks the vendor bank account status. For an active bank account it compares the bank account active date with the payment transaction date.

See Also

Reference

CustVendSumForPaym Class