BankClientImportFormat_RU.validatePaymentInnOrBankAccount Method [AX 2012]
Validates a payment based on the INN and bank account, and sets up the payment direction on the payment record.
Syntax
protected boolean validatePaymentInnOrBankAccount(BankClientPayment_RU _rec)
Run On
Called
Parameters
- _rec
Type: BankClientPayment_RU Table
A BankClientPayment_RU record.
Return Value
Type: boolean
true if the INN or bank account is valid; otherwise, false.
Exceptions
Exception | Condition |
---|---|
Error | The company's INN is not found. –or– The recipient's bank account and the payer's bank account are the same. –or– Not payer's INN and not recipient's INN wasn't recognized as the company's INN. –or– The document cannot be identified by INN or bank account. |