The following entry fields are used as selection criteria for modifier processing:
Selection criteria testing starts at (1). Any records not meeting conditions (1) - (4) are rejected from modification at the point they fail.
Sequence Number (5) is used to specify the order in which modifier rules are executed. This is especially critical when Exit on true=N. A CCCTAB record meeting tests (1) through (6) will have a modified record generate. The calculated charge units and costs are modified to reflect the application of the modified amount (8). The record continues on to the next modifier test based on the remaining modifiers' Sequence Numbers. If at any point the record does not meet a criterion or conditional test, that modifier is not applied. If, on the other hand, it meets all the tests for another modifier, an additional modified CCCTAB record is generated. Processing continues in this manner until all records have been processed and all modifiers tested.
The processing flow is shown next.
Selection
Criteria
----------------------------------
| ----------------- |
---------->| | CCCTAB Record | |
| | ----------------- |
| | v |
| | ----------------- |
| | | ORD Type | 1. |
| | | if specified| |
| | ----------------- |
| | v |
| | --------------------- |
| | | Element Criteria | 2. |
| | | if specified | |
| | --------------------- |
| | v |
---------- | --------------------- |
| CCCTAB | | | Qualifier Criteria| 3. |
---------- | | if specified | |
| --------------------- |
▲ | |
| | v |
| | --------------------- |
| | | Acctg. Structure | 4. |
| | | if specified | |
| | --------------------- |
| -------------|--------------------
| v
| -------------------
| | Sequence Number | 5.
| -------------------
| v
| -------------------
| | Qualifier | 6.
| | if specified |
| -------------------
| v
| EXIT on TRUE = Y(es) | N(o) 7.
| Y(es) N(o)
| ----------------- -----------------
|__|Apply Modify | |Apply |
|Amount/Generate| | Modify Amount|
|Modified Record| | 8. |
----------------- -----------------
▲ |
| v
| -----------------
|____________________|Modified Record|
| Generated (1)|_
----------------- |
|Modified Record|
| Generated (2)|__
----------------- |
|Modified Record|
| Generated (3)|
-----------------
Modifier Rules
|
|
Processing |
Example 1 |
Example 2 |
Example 3 |
|---|---|---|---|---|
|
1. |
ORD |
MBJ |
ALL |
ALL |
|
2. |
Element Criteria |
CPU-CHARGE |
|
|
|
3. |
Qualifier Criteria |
|
|
|
|
4. |
Structure |
|
EAST |
|
|
5. |
Sequence |
100 |
200 |
300 |
|
6. |
Qualifier |
@WEEKEND |
|
@SHIFT3 |
|
7. |
Exit on True |
Y |
N |
Y |
|
8. |
Modify Amount |
+10% |
-10% |
-20% |
Let us assume that shifts end at: 0800, 1600, and 2400 and we have the following records to be processed:
|
Record |
ORD |
Charge Element |
Field1 |
Field2 |
Struct |
|---|---|---|---|---|---|
|
1 |
MBJ |
CPU-CHARGE |
Saturday |
2359 |
EAST |
|
2 |
MBJ |
IO-CHARGE |
Monday |
1200 |
EAST |
|
3 |
MBJ |
PRT-CHARGE |
Monday |
2359 |
North |
|
4 |
MBJ |
X-CHARGE |
Thursday |
1900 |
EAST |
Record 1 only has a type X modifier applied because it meets the qualifier @WEEKEND (this job ran on Saturday). Since EOT=T, further processing of modifiers stops here. A 10% surcharge is applied.
Record 2 only meets modifier Y's rules: Structure = EAST. Since the job ran on Monday (not the weekend) modifier X does not apply. It ran at 1200 (the middle of SHIFT2); therefore, modifier Z does not apply). Only modifier Y applies resulting in a discount of 10%.
Record 3 meets only modifier Z's rules: it ran in SHIFT3. Therefore, a 20% discount is applied.
Record 4 meets both modifier Y's and Z's rules: the structure is EAST and it ran during SHIFT3. Therefore, this record gets a 10% discount from modifier Y and a 20% discount from modifier Z. At invoice time, this record's calculated charges will show a net discount of 30%.
Now let's take another look at Example 1, changing its Exit on True to No. We apply the following rules:
|
|
Processing |
Example 1 |
Example 2 |
Example 3 |
|---|---|---|---|---|
|
1. |
ORD |
MBJ |
ALL |
ALL |
|
2. |
Element Criteria |
CPU-CHARGE |
|
|
|
3. |
Qualifier Criteria |
|
|
|
|
4. |
Structure |
|
EAST |
|
|
5. |
Sequence |
100 |
200 |
300 |
|
6. |
Qualifier |
@WEEKEND |
|
@SHIFT3 |
|
7. |
Exit on True |
N |
N |
Y |
|
8. |
Modify Amount |
+10% |
-10% |
-20% |
Note: If Example 1 Exit on True is No, then the following rules are applied:
|
Record |
ORD |
Charge Element |
Field1 |
Field2 |
Struct |
|---|---|---|---|---|---|
|
1 |
MBJ |
CPU-CHARGE |
Saturday |
2359 |
EAST |
Because Exit on True=N for modifier X, modifiers Y and Z are now tested. Because this record also meets the rules for Modifier Y and Z, two additional modified records are generated. This gives us a total of three modified records whose results are stored on the CCCTAB: (1) with a surcharge of +10%, (2) with a discount of 10%, and (3) with a discount of 20%. At invoice time, this record's calculated charges show a net discount of 20%.
The examples on the following pages show you how to enter the modifier rules on Modifier Entry panels.
| Copyright © 2012 CA. All rights reserved. |
|