CD_IBAN Function
Description: This function calculates the two-digit check digit value for an International Bank Account Number (IBAN). The function accepts a string for input and replaces the third and fourth digit with a checksum for the remaining contents of the string.
Parameters: String
- Source text: A string value representing the IBAN number for which check digits are to be calculated.
Return: A valid IBAN number consisting of a two-digit country code, two check digits, and the remainder of the input string.
Syntax: CD_IBAN (<source text>)
Example: Calculate the check digits for the “ACCOUNT_NUM" and assign the result to the string variable “A_VARIABLE”. For an input value of “AL997212110090000000235698741”, the resulting IBAN with valid check digits will be “AL47212110090000000235698741”.
A_VARIABLE = CD_IBAN( DE("ACCOUNT_NUM").getOriginalValue( ) ) )
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*