Exclude/Include if ledger account has fewer dimensions

Example- Scenario 1

Rule uses four dimensions, whereas the ledger account uses only two.

RuleRule TypeDim 1 FromDim 1 ToDim 2 FromDim 2 ToDim 3 FromDim 3 ToDim 4 FromDim 4 To
01Exclude001001002002003004
02IncludeAAAAAA002002003004

 

Ledger account 10001 has only dimensions 1 and 2 optional. Dimensions 3 and 4 are unused.

Acc.Dim 1Dim 2Dim 3Dim 4RuleCombination allowed?
1000100100201No (Excluded)
10001AAA00202Yes

 

Example- Scenario 2

Rule uses four dimensions, whereas the ledger account uses only two.

RuleRule TypeDim 1 FromDim 1 ToDim 2 FromDim 2 ToDim 3 FromDim 3 ToDim 4 FromDim 4 To
01Exclude001001002002003004004
02IncludeAAAAAA002002003004004

 

Ledger account 10001 has only optional dimensions 1 and 2. Dimensions 3 and 4 are unused.

Acc.Dim 1Dim 2Dim 3Dim 4RuleCombination allowed?
1000100100201Yes (Not excluded). Rule 01 prescribes that if dimension 4 is 004, the transaction is not allowed. However, dimension 4 is always zero, and therefore allowed.
10001AAA00202Yes. Rule 02 applies to specific dimension 4 values (not including an empty value) and ledger account 10001 does not have a dimension 4.