cancel
Showing results for 
Search instead for 
Did you mean: 

Iban validation via code stage

JeroenOosterhol
Level 4
Hi all, I would like to create an object that validates IBAN numbers. There are numerous c# and visual basic scripts online that serve this purpose. Unfortunately, I don't have any programming knowledge. How would I go about transferring this code into an object? Which lines go into the global code and which into code stages? Thanks  
3 REPLIES 3

John__Carter
Staff
Staff
Best to find a friendly programmer to help you, but essentially you could start by pasting the code into the Global Code section of a business object (go to the Initialise page and open up the page name properties). I would imagine you'll also need to add Microsoft.VisualBasic to the Namespace imports section on the Code Options tab. From there it looks like you can then add a new code stage and add the line Valid = ValidateIban(IBAN) where Valid is a flag output and IBAN is a text input. But as I said, best get some local help.

AmiBarrett
Level 12
This should do it.

JeroenOosterhol
Level 4
Thanks a lot!