Bank_IT.getOdd Method [AX 2012]
Returns the Odd Numeric value based on the conversion table. This function is a helper function for the validateCIN function.
Syntax
private int getOdd(str _character)
Run On
Called
Parameters
- _character
Type: str
Return Value
Type: int
The Odd Numeric value of the character.
Remarks
The following information is the conversion table used for determining Odd Numeric value:
//Character Value | Character Value | Character Value
// a/A/0 1 k/K 2 u/U 16
// b/B/1 0 l/L 4 v/V 10
// c/C/2 5 m/M 18 w/W 22
// d/D/3 7 n/N 20 x/X 25
// e/E/4 9 o/O 11 y/Y 24
// f/F/5 13 p/P 3 z/Z 23
// g/G/6 15 q/Q 6
// h/H/7 17 r/R 8
// i/I/8 19 s/S 12
// j/J/9 21 t/T 14