You must create or assign a rule to the corresponding entity if you want to use the dynamic options provided by BRFplus.
For more information, see Application Usage.
Procedure:
Navigate to the Product Modeling for Utilities
overview page for the product required and switch to the editing mode.
In the case of hierarchical products, select the corresponding entity to be used for the rule from the attributes tree.
From the assignment group that corresponds to the rule name, choose New
to create a new rule.
Make the settings required for the new rule on the dialog box that appears.
Attribute |
Description |
---|---|
Function Name |
Technical name of the function This cannot be modified and is defined as follows: UT+Application usage_ Attribute name_Creation date Example of possible entries for attribute ATTR1: UTCV_ATTR1_01012013 |
Function Description |
Description of the function Default value is Application usage + Product + Attribute |
Top Expression |
This defines whether a top expression is created. Selection Options:
|
Application Name |
Name of the application in which the new function is generated. For more information, see General Procedure for Using BRFplus. |
Indicator |
This indicates whether a function can be used for all products or for a specfic product only. The default value here is |
Choose Create
to create the rule and to return to product modeling or choose Create and Navigate to Object
to carry on working in the BRFplus editor directly.
Model your business logic in the rule, and save and activate it.
Navigate back to the Product Modeling for Utilities
overview page and save your changes.
Examples
Dynamic Value Help for an Attribute
Structure a product using attributes:
Product
Attribute
Duration
Your product has a numerical attribute Duration
for the contract runtime. You want to define a value help for the current product, which delivers the admissible values 2, 4, 6, 12 and 24 months. The value help is defined using a BRFplus rule.
Follow the steps described in the Procedure
section and in step 2, choose the attribute Duration
as the entity and in step 3, Dynamic Value Help
as the rule type. The decision table
rule type is used as the top expression type in step 4.
Insert a new row with the number of months for each value required.
Dynamic Value Determination for an Attribute
Structure a product using attributes:
Product
Attributes
Duration
VIP
Discount
Your product has a numerical attribute Duration
for the contract runtime and an additional indicator VIP
for certain selected customers. You want to define a dynamic value determination for the current product, which determines a customer-specific discount for the Discount
attribute according to the duration and VIP indicator. This determination is defined using a BRFplus decision table.
Follow the steps described in the Procedure section and in step 2, choose the attribute Duration
as the entity and in step 3, Dynamic Value Determination
as the rule type. The decision table
rule type is used as the top expression type in step 4.
Product List in Package
Structure a product using attributes and package components:
Utilities Package
Attributes:
Divisions
Postal code
Product Components:
Gas
Electricity
External electricity
Your product has the attributes Postal Code
and Division
.
According to the postal code, in addition to the gas product, you are also offered an electricity product in your own postal code area 69190
with the component Electricity
and the component External Electricity
in all other postal codes. However, this is only the case, if you have selected Electricity and Gas
in the division field.
Follow the steps described in the Procedure section and in step 2, choose the attribute Product
as the entity and in step 3, Product List
as the rule type. The decision table
rule type is used as the top expression type in step 4.
Choose the Postal Code
and Division
attributes as the context parameters for the new rule Product List Type
.