Allowance Property Introducer Operator

As of SP04, SAP Convergent Charging 4.0 features the Allowance Property Introducer Operator allowing you to retrieve the property values of a set of allowances and save them in generated properties that are available for the next components of the decision tree.

Use

You use the Allowance Property Introducer Operator when:

Example

You want to retrieve the lowest and greatest credit values from the following set of allowances but only through the “USER” scope:

Allowance ID

Start Date

End Date

Credit (counter)

Scope (parameter)

1234

20xx-01-01

20xx-02-01

10

USER

1235

20xx-01-15

20xx-02-15

250

COMPANY

1236

20xx-01-28

20xx-02-28

300

USER

1238

20xx-02-01

20xx-03-01

120

COMPANY

1240

20xx-03-15

20xx-03-15

50

USER

To do that, you configure an Allowance Property Introducer Operator to select the allowances whose property named 'Scope' is equal to 'USER', and you create two generated properties named 'LowestValue' and 'GreatestValue' to save the values of the 'Scope' properties.

From the previous set of allowance properties, the Allowance Property Introducer Operator thus selects the allowances whose ID are 1234, 1236, and 1240:

Allowance ID

Start Date

End Date

Credit (counter)

Scope (parameter)

1234

20xx-01-01

20xx-02-01

10

USER

1236

20xx-01-28

20xx-02-28

300

USER

1240

20xx-03-15

20xx-03-15

50

USER

The Allowance Property Introducer Operator then creates a generated property named 'LowestValue' with the value of 10 (the allowance whose ID is 1234) and a generated property named 'GreatestValue' with the value of 300 (the allowance whose ID is 1236).

Identification Area

Name: Type the name of the component (mandatory).

Description: Allows you to type the description of the component (optional).

Definition Tab

This tab includes two tables:

Allowance Selection Criteria

This table defines the conditions for selecting the allowances of a provider contract.

: Adds a row to the table

: Deletes a row from the table

Property Name: Select the name of the allowance property, which can be:

Type: Displays the type of the allowance property (Date, Number, or String)

Operator: Provides the list of comparison operators. Select an operator:

Comparison Value: Type a value or select a rating context property (a parameter or a counter).

Notes:

  • Because you can apply different selection criteria to the same allowance property, you must check that the selection criteria are coherent.

  • If you have defined no selection criteria for selecting allowances, this means that all the allowances of the provider contract must be selected.

  • Only non-expired allowances can be selected.

Generated Properties

This table allows you to create generated properties which are initialized with the result of operators. You need to select an operator that is applied to the selected allowance properties. The generated properties are then available as computed properties in the rating context.

Allowance Count Property Name: Type the name of the generated property that represents the count of selected allowances.

: Adds a row to the table

: Deletes a row from the table

Property name: Select the name of the allowance property.

Type: Displays the type of the allowance property: Date or Number

Operator: Select one of the following operators to initialize the generated properties:

Generated Property name: Type the name of the generated property.

Note: You can give the name of an allowance property to any generated property.

Scope Tab

Extend the scope to the parent contract allowances: If you select this option, the selected allowances include the allowances of the parent provider contract and the allowances of the current provider contract; otherwise, the selected allowances only include the allowances of the current provider contract.