Overlapping ranges within a rule

Example 1

You define a cross validation rule with two elements:

LineRule TypeFrom Ledger AccountToLedger AccountFrom Cost CenterTo Cost CenterFrom ProjectTo Project
1Include4100042000100200P01P99
2Include4150041500100100P02P10

 

Upon specifying the second line, LN will display an error or warning message. Because of the wider ledger account range in the first line, the second line makes no sense.

In this case, you can use a rule similar to the following:

LineRule TypeFrom Ledger AccountToLedger AccountFrom Cost CenterTo Cost CenterFrom ProjectTo Project
1Include4100041499100200P01P99
2Include4150041500100100P02P10
3Include4150142000100200P01P99

 

Example 2
LineRule TypeFrom Ledger AccountToLedger AccountFrom Cost CenterTo Cost CenterFrom ProjectTo Project
1Include4300043000ZZZZP01P10
2Include4300043000ZZZZP20P30
3Include4300043000100100ZZZZ

 

This setup is illogical: when a user specifies cost center 100 for ledger account 43000, they can enter any project. If, however, a different cost center is specified, only P01 - P10 and P20 - P30 are valid projects.

In this case, you can use a rule similar to the following:

LineRule TypeFrom Ledger AccountToLedger AccountFrom Cost CenterTo Cost CenterFrom ProjectTo Project
1Include4300043000100100P01P10
2Include4300043000100100P20P30

 

Alternatively, the same result could be achieved by moving the third line to another rule.