Professional Documents
Culture Documents
Globus allows various types of Account Number calculation. The type is determined by the
option chosen by the customer in the file COMPANY
Case ACCT.CHECKDIG.TYPE =’’
When no value is input in the ACCT.CHECKDIG.TYPE field Globus performs a default Modulo
11 Check digit type calculation
1 2 3 4 5 6 7 8 9 – Account Number
4 3 2 7 6 5 4 3 2 – Weights
Note: If the calculated check digit is greater than 9, then the calculated value is subtracted with
3 to obtain the proper account number.
For e.g.
1 3 3 4 5 6 7 8 9 – Account Number
432765432
Gives a weight of 177. Remainder (177/11) = 1, 11-1 = 10, which is greater than 9. So the new check-
digit is 10 –3 = 7
This is applicable only in case where the Local currency begins with BE example Belgian
Francs –BEF
When using the above type the field ACC.BKNO.PREFIX must be input. It can contain up to
three numeric values. The Account mask must contain 12 Digits.
The first three digits of the account no is 1 2 3. The last two digits are calculated as check
digits based on the division of the first 10 digits by 97. The remainder is calculated as the
check digit. If the remainder is Zero, then 97 is assumed.
For eg
1230000062 are the first 10 digits of the Account, then Account no is calculated as
This is applicable only when the local currency begins with LU. Example LUF, Luxembourg
Francs
When using the above type the field ACC.BKNO.PREFIX must be input. It can contain two
numeric values. The Account mask must contain 14 Digits.
The last 4 digits is prefixed before the first 8 digits. Divide this by 97. The remainder value is
the check-digit. If the calculated value is 0 then replace it with 97. The check digit is placed in
the 9 and 10th positions of the Account Number.
When the ACCT.CHECKDIG.TYPE is ‘3’ is used it indicates a 10 digit Account Number with a
Modulus 11 Check. No value is allowed in ACC.BKNO.PREFIX
1 3 3 4 5 6 7 8 9 1 – Account Number
10 9 8 7 6 5 4 3 2 1 - Weighted values.
The modulo value is calculated as Mod (Weighted Value, 11) = (220, 11) = 0. If the modulo is
not equal to Zero then an error is displayed.
If any less than 10 numbers are input, Globus automatically prefixes the Account number with
Zeros before performing the check digit Calculation.
Case ACCT.CHECKDIG.TYPE =’4
When the ACCT.CHECKDIG.TYPE =’4’ Globus creates a 11-digit Account Number, which has
2 digit ACC.BKNO, followed by a 7 digit account number, followed by 2 –check-digit numbers.
1 2 3 4 5 6 7 – Account Number
8 7 6 5 4 3 2 – Weighted Average
11-2 = 9
The calculated check digit is 9. It is formatted as 09 to fit.
When the ACCT.CHECKDIG.TYPE is set to ‘5’ Globus does a standard check-digit calculation
and prefixes the Account Number with Zeros and formats the account number as specified in
Account Mask
For example
1 2 3 4 5 6 7 – Account Number
2 7 6 5 4 3 2 – Weighted Value
2 + 14 + 18 + 20 + 20 + 18 + 14 = 106
Mod(106,11) = 7
Check digit = 11 – 7 = 4
When the ACCT.CHECKDIG.TYPE is set to 6 then 12 –14 digit account number the first are
made on the first 6 digits and the second on the remaining digits. The ACCOUNT.MASK must
be set to 16 characters.
The account number input can either be a 14 digit or a 12-digit account number.
If it is a 12 digit number then it is prefixed with zeros. It is suffixed with 2 ‘0’s to make it a
sixteen digit account number
124556-10345678
This is converted to 1245561034567800
Now the first six digits are extracted and the following operation performed on them
Two check digit values are now calculated on the first six digits.
1. 1 * 10 + 2 * 5 + 4 * 8 + 5 * 4 + 5 * 2 + 6 * 1 = 88
2. 1 * 10 + 2 * 5 + 5 * 4 + 5 * 2 + 6 * 1 = 56
(The check digit 4 from position 3 in the account number is not included for calculation)
1. Mod (88,11) = 0
2. Mod (56,11) = 1
Now, the check digit array is checked with a value of 1 + 1 =2
Check – digit –Array [2] =4
Check digit in the Account number = 4
Hence the first six digits have passed the Check digit calculation
The check digit check will now be performed on the next 10 digits
1 0 3 4 5 6 7 8 0 0 – Account number
6 3 7 9 10 5 8 4 2 1 – Weighted values
=(1*6)+(0*3)+(3*7)+(4*9)+(5+10)+(6*5)+(7*8)+(8*4)+(2* 0)+(1* 0)
=6 + 21 + 36 + 50 + 30 + 56 + 32 = 231
When no check digit calculation is specified Globus will use the Number input after formatting it
to the Format Specified in ACCOUNT.MASK
Case ACCT.CHECKDIG.TYPE =’@Routine’
When the ACCT.CHECKDIG.TYPE is set to a routine, a Local routine can be used to calculate
the Account check-digit
When customer Number must form a part of the Account Number, the file
ACCOUNT.PARAMETER must be used.
When the Customer code is not a part of the Account Number, or an Incorrect customer
number is input in the CUSTOMER field, an Error message is raised.
Case ACCT.CHECKDIG.TYPE =”Branch Code in Account”
The file INTERCO.PARAMETER allows us to define the Branch code to be included as part of
the Account number.
The field BRANCH.CODE.START indicates the Starting position of the Branch code in the
Account number
The field BRANCH.CODE.LENGTH indicates the length of the Branch code in the Account
number.
The field BRANCH.CODE indicates the Actual branch code to be used in the Account number.
Each company can have one or more Branch codes.
In the above case, the Company US0010001 can have branch codes of 1 or 3.
Branch code of 1
Branch code of 3