JDEdwards World (MOSC)

MOSC Banner

What is the algorthm used in Next Numbers to calculate the Check Digit?

Question: What is the algorithm used in Next Numbers to calculate the Check Digit?
Answer: To help with transposition errors, you can specify that next numbers include a check digit. When check digits are activated, the system adds a digit to the next number that it assigns. This digit is calculated using the algorithm Modulus 11.
Mod 11 Check Digit
1. Reverse the string to be encoded (in this case 1234567).
 Let S be the reverse of the string to be encoded
 S = 7654321
2. The string is then "weighted" using a repeating weighting factor pattern. There are two modulo 11 algorithms which use different repeated weighting factor patterns: the IBM algorithm which uses (2,3,4,5,6,7), and the NCR algorithm which uses (2,3,4,5,6,7,8,9). Get the sum of the string by looping through each character and multiply it by a weight from 2 to 7 (IBM) or 2 to 9 (NCR) depending on its position. If the weight's value exceeds the highest number (7 or 9), reset the weight back to 2.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center