Cascading Discount did not Work Correctly

(Doc ID 2174714.1)

Last updated on AUGUST 30, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version and later
Information in this document applies to any platform.


On : version, Pipeline Manager

There are 2 discounts configured to apply for usage event of the following ways:
1- Discount to grant free minutes: this is a usage discount that applied while the customer has available resources.
2- Aggregation counter: this is an usage discount that must increment with additional minutes consumed by the customer. Increment only when the customer doesn't have available resources.

When the EDR has an event higher than available resources, it is expected that both discounts should be applied. The first should consume available resources, and the second should increase the aggregation counter with the part of non-discounted of the event.

For example :
event: 660 seconds
available resources: 275 seconds

first discount must apply 275 seconds
second discount must increase 385 seconds

The issue can be reproduced at will with the following steps:

1- Create a product with a resource of free minutes and an aggregation counter (initialized in 0)
2- create an usage discount that consumes free minutes
3- create an aggregation counter discount that increases the second resource
4- create an account and purchase the product and 2 discounts of the items 1, 2 and 3
5- rate several events that consume most of free minutes
6- rate one event with quantity higher than the resource
7- verify that consume the total of free seconds and increased the aggregation counter only with the remnant




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