Bookshelf Home | Contents | Index | Search | PDF |
Product Administration Guide > Customizable Product Rule Designer >
Understanding Class-Product Rule Inheritance
You can designate a customizable product as a class-product and then add it to a product class. When you do this, all products belonging to the class and its subclasses inherit the class-product's structure and its configuration rules. For example you define the following rule in a class-product and name the rule Rule 1:
Any item from Relationship A requires selection of any item of Relationship B
You can control how this rule is inherited by other customizable products you add to the class containing the class-product. You do this by inserting a rule in these products that has the same name as the one in the class-product.
For example, you have a product class containing a class-product. The class-product contains Rule 1, as shown above. The class also contains three customizable products, CP1, CP2, and CP3. Table 21 shows how inheritance of Rule 1 from the class-product works.
You can use named rules to control how rules are inherited from class-products.
- If you want a customizable product to inherit a named rule from a class-product, the customizable product must not contain a rule of the same name.
- If you want only some customizable products to inherit a named rule from a class product, define a blank named rule with the same name in the customizable products where you do not want inheritance to occur.
- If a rule in a class-product has no name, it cannot be overridden by a rule in a customizable product that inherits the structure of the class product.
Bookshelf Home | Contents | Index | Search | PDF |
Product Administration Guide, Version 7.5 Published: 18 April 2003 |