|Bookshelf Home | Contents | Index | PDF|
Resources keep track of configuration variables that increase or decrease as the user configures a customizable product. For example, suppose you are defining a desktop computer customizable product. The product includes several types of chassis. Each chassis has a different number of slots for expansion cards. Allowable configurations also include several types of expansion cards, such as disk controllers, and graphics cards.
You do not know in advance which chassis the customer will select or how many expansion cards. However, you do know that you must keep track of the number of slots during the configuration process to make sure that the customer configures the computer correctly.
When the user selects a chassis, a provide rule adds the amount of the chassis' slots-provided attribute to the slots-resource. When the user selects an expansion card, a consume rule subtracts the amount of the card's slots-required attribute (1) from the slots-resource. In this fashion, the slots-resource keeps track of available slots in the computer chassis.
Once you define a resource, the definition is saved to a picklist and you can add the resource definition to other customizable products. Resources definitions have the data type Number. This means that they can only have numeric, integer, or floating point values.
|Product Administration Guide|