Each row in this table shows that a CalculationRule
is associated with a CalculationScale. Both are used by the
Calculation Framework for discounts, shipping charges, taxes, and
so on.
Column Descriptions:
| Name | Type | Description |
| CALSCALE_ID | INTEGER NOT NULL | The CalculationScale for the calculation.
CalculationScales are represented by rows in the CALSCALE
table. |
| CALRULE_ID | INTEGER NOT NULL | The CalculationRule for the calculation.
CalclationRules are represented by rows in the CALRULE table. |
| OPTCOUNTER | SMALLINT | The optimistic concurrency control counter for
the table. Every time there is an update to the table, the counter
is incremented. |
Indexes:
| Name | Column Names | Type |
| <SYSTEM-GENERATED> | CALRULE_ID+CALSCALE_ID | Primary Key |
| I0000550 | CALSCALE_ID | Non-Unique Index |
Constrained By Parent Tables:
| Constraint | Columns | Parent Table | Parent Columns | Type |
| F_280 | CALRULE_ID | CALRULE | CALRULE_ID | Cascade |
| F_281 | CALSCALE_ID | CALSCALE | CALSCALE_ID | Cascade |