Bank_US.checkBankRegNum Method [AX 2012]
Validates that the routing number contains only digits, is nine characters long, and that the check digit, which is the ninth digit, matches the check digit calculation.
Syntax
public boolean checkBankRegNum(BankRegNum _registrationNum, BankCodeType _bankCodeType)
Run On
Called
Parameters
- _registrationNum
Type: BankRegNum Extended Data Type
The bank registration number to validate.
- _bankCodeType
Type: BankCodeType Enumeration
The bank registration type to use when validating.
Return Value
Type: boolean
true if the routing number is valid; otherwise, false.