A row in this table associates a CalculationRule
with a MemberGroup. The discount CalculationRuleQualifyMethod can
use this relationship to restrict use of the CalculationRule to
members of certain MemberGroups. See the STOREMBRGP table.
Column Descriptions:
Name | Type | Description |
CALRULE_ID | INTEGER NOT NULL | The CalculationRule. |
MBRGRP_ID | BIGINT NOT NULL | The MemberGroup. The default
CalculationRuleQualifyMethod for discount CalculationUsage uses the
MemberGroup as well as CALRULE.FLAGS and the STOREMBRGP
relationship table to determine which customers can use the
CalculationRule. |
OPTCOUNTER | SMALLINT NOT NULL DEFAULT 0 | 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> | MBRGRP_ID+CALRULE_ID | Primary Key |
I0000507 | CALRULE_ID | Non-Unique Index |
Constrained By Parent Tables:
Constraint | Columns | Parent Table | Parent Columns | Type |
F_173 | MBRGRP_ID | MBRGRP | MBRGRP_ID | Cascade |
F_174 | CALRULE_ID | CALRULE | CALRULE_ID | Cascade |