Product Administration Guide > Configuration Rule Template Reference >

Provide and Consume, Simple


The Simple Provide template has the form:

Provides [a value] to [a target]

The Simple Consume template has the form:

Consume [a value] from [a target]

The Simple Provide and Simple Consume templates positively or negatively increment the amount of the target operand. These templates are intended for use as the action portion of a conditional rule. If the condition is true, then a value is provided or consumed from the specified target.

The Simple Provide template contributes a positive amount, that is it increases the amount of the target. The Simple Consume template contributes a negative amount, that is it reduces the amount of the target.

Value

The value operand defines the quantity to be contributed to the target. The Rule Designer provides several methods for determining this quantity:

Target

The target operand is incremented by the amount specified in the value operand. The target can be a product, resource, or product attribute. It cannot be a relationship, a class, or an expression.

Product Target

When the target operand is a product, the quantity of the product is incremented in the solution.

Resource Target

When the target is a resource, the value of the resource is incremented.

Attribute Target

When the target is an attribute, the value of the attribute is incremented. Attribute targets are similar in behavior and use as resource targets. There are several restrictions on using provide and consume rules to manipulate attribute values:


 Product Administration Guide 
 Published: 23 June 2003