You may want to create the charges or refill logic that can be used with different mapping tables during the charging or refilling process.
The procedure below describes how to create a charge containing a price plan with a Mapping Table Introducer as Comparator component without specifying the name of the mapping table to be used. The idea is to use a parameter as name of a mapping table and to set this parameter later on at charge plan or provider contract level. You can easily use different mapping tables or subscriber mapping tables.
|
Note: You can use the same procedure in the refill logic. |
Create a charge with a Mapping Table Introducer component (See the primary help of logic components for more information on this price plan component)
Add a parameter with the type string to the charge
Set the visibility External
In the Mapping Table field of the Mapping Table Introducer component, select this parameter as the name of the mapping table
Create a charge plan which contains the previously created charge. Note that the parameter is now assigned the type Mapping Table ID.
Add a parameter to the charge plan
Set the type to Mapping Table ID
Set the visibility External if you want to set the name of the mapping table at provider contract level or from a connected CRM application
Link this parameter to the parameter of the charge
The parameter created in the charge plan can be used to set the name of the mapping table or to make the parameter available at provider contract level (parameter of a contract item).
If the visibility of a parameter in a charge plan is set to External, a CRM application or an external provisioning system can redefine the value of this parameter in a contract item (this contract item enables to activate the charge plan in a provider contract).
The value of the parameter in the contract item can be:
The name of a mapping table from the pricing catalog of the service provider
The name of a subscriber mapping table of the subscriber account
|
Note: You can use the same procedure to dynamically set a value in the mapping table. In that case, use a parameter with the type Mapping Table Key. |