Data Generator - Incorrect output for Portal function @iban(iscountrycode,bankcode,account)@
search cancel

Data Generator - Incorrect output for Portal function @iban(iscountrycode,bankcode,account)@

book

Article ID: 264707

calendar_today

Updated On:

Products

CA Test Data Manager (Data Finder / Grid Tools)

Issue/Introduction

You need to use the function @iban(isocountrycode,bankcode,account)@ in your models to retrieve a list of valid Switzerland IBANs.

However, the generated output is an invalid IBAN. When you check the generated IBAN at https://www.iban.com/iban-checker, you see the validation fails, because the length is incorrect. Instead of 21 characters long, it’s 16. You think this is because the function ignores the bank code of 5 characters and, consequently, enters the two check digits incorrectly.

For example, with the following input parameters:

isocountrycode = CH

bankcode = ##### (Example Company)

account = 000243955001 (random generated number)

 

the output from Portal is:

CH09000243955001

 

Instead the correct (verified on iban.com) one should be:

CH92#####000243955001

Environment

Release : 4.10

Resolution

Resolved in TDMWeb-4.10.184.0