Setting Up General Ledger > COA Masks > COA Mask Validation
  
COA Mask Validation
The system validates the COA mask for a given GL combination using the following method:
If the sub-account in the GL combination is not blank, the system matches the GL account using the sub-account COA mask.
If the cost center in the GL combination is not blank, the system matches the GL account and sub-account using the cost center COA mask.
If the project in the GL combination is not blank, the system matches the GL account, sub-account, and cost center using the project COA mask.
Example:  
The following COA masks are defined in a system and assigned to the COA elements in the rightmost column.
 
 
 
 
COA Mask
 
 
COA Link
Sub-Account Masks
GL From
GL To
 
 
 
 
Sub-Account
5000
 
 
 
 
 
10-20
7*
 
 
 
 
 
10-30
1200
1999
 
 
 
 
10-60
6000
 
 
 
 
 
10-60
9000
 
 
 
 
 
10-60
8100
8200
 
 
 
 
40-50
Cost Center Masks
GL From
GL To
S-A From
S-A To
 
 
Cost Center
1000
1199
*
 
 
 
A
1200
1999
*
 
 
 
A - B
7*
 
10
 
 
 
A - G
2000
 
20
 
 
 
B
2000
 
30
 
 
 
F - G
6000
 
10
 
 
 
G
Proj Masks
GL From
GL To
S-A From
S-A To
CC From
CC To
Project
7*
 
10
 
C
D
I19
7*
 
10
 
D
 
White
The COA mask is used to validate the following postings:

Postings
 
 
Postings
GL Mask Validations
 
GL Account
Sub-Account
Cost Center
Project
1
1020
60
A
 
N
2
1200
60
B
 
Y
3
1200
10
B
I19
N
4
8100
50
B
 
N
5
8100
45
 
 
Y
6
5000
10
G
 
N
7
6000
10
G
 
Y
8
9000
60
B
 
N
9
7100
10
D
I19
Y
10
2000
 
A
 
N
11
2000
 
B
 
Y
The three validation rules described in COA Mask Validation are all applied during validation if the COA element of the rule is not blank. A validation is considered passed only if it passes all rules applied.
Line 1 (1020+60+A+Blank)
The sub-account validation rule for sub-account 60 fails.
The cost center validation rule for cost center A passes.
The project validation rule is not applicable because the project is blank.
Line 1 fails at the sub-account mask rule.
Line 2 (1200+60+B+Blank)
The sub-account validation rule for sub-account 60 passes.
The cost center validation rule for cost center B passes.
The project validation rule is not applicable because the project is blank.
Line 2 passes all validations.
Line 3 (1200+10+B+I19)
The sub-account validation rule for sub-account 10 passes.
The cost center validation rule for cost center B passes.
The project validation rule for project I19 fails.
Line 3 fails at the project mask rule.