Interested in creating and selling training? You pick the price, 50/50 revenue share, and you own the content. Find out more at
I need to calculate the IBAN from the bank no. and the account no. I know the algorithm, but one step is the MOD 97 operation of a 24 digit integer no. (here in Germany). I tried to use BigInteger and Decimal but got out of range. So the question would be: how could I calulate 500105170123456789131400 MOD 97? Or in the first place: how to create a variable that holds this BIG integer?
You must develop a MOD function in Navision that accepts strings.You can develop such function, there are several available functions in other languages over the internet. You must convert it to C/AL
For example here there is a function in C#.http://www.tsql.de/csharp/csharp_IBAN_validieren_IBAN_testen_IBAN_code.php
If you don’t want to develop such function convert to this code to a COM component and exposit to Navision.
Other way, it’s a user from forum to paste code off an already developed function.
Nuno,thanx for the link. I will try to convert the C# string modulo function to C/AL and keep you updated.
Joerg:I will try to convert the C# string modulo function to C/AL and keep you updated.
I will try to convert the C# string modulo function to C/AL and keep you updated.
And I hope you will share the function with the community then