Discount Filter Is Not Getting Evaluated with IMPACT_CATEGORY for Real-Time Rating

(Doc ID 2315606.1)

Last updated on OCTOBER 13, 2017

Applies to:

Oracle Communications BRM - Elastic Charging Engine - Version 11.3.0.0.0 and later
Information in this document applies to any platform.

Goal

On :  11.3.0.1.0 version, Rating business logic

Scenario:
======
A customer had a requirement to have discounts based on the impact category. To fulfill this, they have implemented discount filter with condition to use impact category as mentioned below steps. However, this impact category value was not available/populated during rating and the discount filter was not getting evaluated.

Steps to reproduce:
=============

1) In the GENERIC SELECTOR, based on the event information, a lookup has been made to derive the impact category (<resultName>Sverige</resultName>).

<genericSelector xmlns:pdc="http://xmlns.oracle.com/communications/platform/model/pricing">
<name>Mobile Roaming Data</name>
<description>Generic Selector for Mobile Roaming Data</description>
<pricingProfileName>Convergent Usage</pricingProfileName>
<priceListName>Default</priceListName>
<stereoType>GENERIC_SELECTOR</stereoType>
<productSpecName>TelcoGsm</productSpecName>
<eventSpecName>EventDelayedSessionTelcoGprs</eventSpecName>
<validityPeriod>
<validFrom>0</validFrom>
<rule>
<name>24001-217.214.245.X</name>
<result>
<resultName>Sverige</resultName>
</result>
<fieldToValueExpression>
<operation>REGEX</operation>
<seperator>;</seperator>
<fieldName>EventDelayedSessionTelcoGprs.GPRS_INFO.SGSN_PLMN_ID</fieldName>
<fieldValue>24001</fieldValue>
<fieldKind>EVENT_SPEC_FIELD</fieldKind>
</fieldToValueExpression>
<fieldToValueExpression>
<operation>REGEX</operation>
<seperator>;</seperator>
<fieldName>EventDelayedSessionTelcoGprs.GPRS_INFO.SGSN_ADDRESS</fieldName>
<fieldValue>217.214.245.*</fieldValue>
<fieldKind>EVENT_SPEC_FIELD</fieldKind>
</fieldToValueExpression>
</rule>

2) This IMPACT_CATEGORY (resultName) was used in discount filter.

<chargeSelectorSpec xmlns:pdc="http://xmlns.oracle.com/communications/platform/model/pricing">
<name>Discount Filter B2B Mobile Data</name>
<description>Discount Filter B2B Mobile Data</description>
<internalId>40e42b22-e31b-4f2c-a1b6-e84959327998</internalId>
<pricingProfileName>Standard Discount</pricingProfileName>
<priceListName>Default</priceListName>
<validFrom>0</validFrom>
<validTo>INF</validTo>
<zoneResult>Sverige</zoneResult>
<balanceElementNumCode>752</balanceElementNumCode>
</chargeSelectorSpec>

3) With this configuration, the discount filter was not getting evaluated.
     As noticed, the IMPACT_CATEGORY has not been assigned in the rating period, although this was getting mapped in the final output.

Are there any config changes required to achieve this requirement?

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms