About Discounting And Promotional Savings

(Doc ID 953179.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version:
This problem can occur on any platform.


Problem description:
If the promotional_savings mode is enabled, it is possible to have two charge breakdown records (one for the promotional product and another one for the basic product) that can be eligible for discounting.
The FCT_Discount module is applying the discount only to the first qualified charge breakdown.

Why does it not apply iteratively the discount to all the charge breakdown records?
With this behaviour the saving amount is wrong because it is equal to "total_charge(Basic_Product) - total_charge(Promo_Product)", where the total_charge is always equal to "CPs+DPs" (all the charge packets and discount packets) per charge breakdown record.

For example:
Basic_product.CP = 10$
Promo_product.CP = 6$

Current behavior:
Basic_product.DP = (not applied)
Promo_discount.DP = -3$
Saving_amount= 10 - (6-3) = 7$

If the discount is applied also to the Basic_product:
Basic_product.DP = -5$
Promo_discount.DP = -3$
Saving_amount= (10-5) - (6-3) = 2$

Steps To Reproduce:
1.Enable the Least cost rating in the wireless.reg
2.Enable promotional savings mode
3.Enable the Discount_post dump
4.Create a basic product and a promo product
5.Create a discount that gives the 50% discount
6.Create a plan with the above products and discounts
7.Create an account with that plan and process a CDR

Expected Result:
There should be two charge packets (One for basic and other for promo charge) and both should have discounts packet respectively in the dump.


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