This table can be used by the shipping
CalculationRuleQualifyMethod to choose a
CalculationRule based on
ShippingMode and FulfillmentCenter. It is used when
the shipping address matches one of the
ShippingJurisdictions in a particular
ShippingJurisdictionGroup.
Column Descriptions:
| Name | Type | Description |
| CALRULE_ID | INTEGER NOT NULL | The CalculationRule. |
| SHPJCRULE_ID | INTEGER NOT NULL | Generated unique key. |
| FFMCENTER_ID | INTEGER | The FulfillmentCenter. If this is NULL then this
row applies to all FulfillmentCenters. |
| JURSTGROUP_ID | INTEGER | The ShippingJurisdictionGroup. If this is NULL,
then this row applies to all ShippingJurisdictionGroups. |
| PRECEDENCE | DOUBLE NOT NULL DEFAULT 0 | When a shipping address falls within more than
one of the specified ShippingJurisdictionGroups, for the same
FulfillmentCenter and ShippingMode, only the CalculationRule with
the highest SHPJCRULE.PRECEDENCE value qualifies. |
| SHIPMODE_ID | INTEGER | The ShippingMode. |
| 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> | SHPJCRULE_ID | Primary Key |
| I0000230 |
FFMCENTER_ID+SHIPMODE_ID+JURSTGROUP_ID+CALRULE_ID | Unique Index |
| I0000767 | SHIPMODE_ID | Non-Unique Index |
| I0000768 | JURSTGROUP_ID | Non-Unique Index |
| I0000769 | CALRULE_ID | Non-Unique Index |
Constrained By Parent Tables:
| Constraint | Columns | Parent Table | Parent Columns | Type |
| F_751 | CALRULE_ID | CALRULE | CALRULE_ID | Cascade |
| F_752 | JURSTGROUP_ID | JURSTGROUP | JURSTGROUP_ID | Cascade |
| F_753 | SHIPMODE_ID | SHIPMODE | SHIPMODE_ID | Cascade |
| F_754 | FFMCENTER_ID | FFMCENTER | FFMCENTER_ID | Cascade |