My Oracle Support Banner

PCM_OP_RATE_DISCOUNT_EVENT Not Returning Discounts For Negative Balance Impacts (Doc ID 2774755.1)

Last updated on MAY 12, 2021

Applies to:

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

Goal

On Oracle Communications Billing and Revenue Management (BRM), 12.0.0.3.0 version, Pipeline Manager

Consider a scenario where a system discount is used to charge a fee for the customers which is triggered for all cycle forward events. It is observed that when total amount was zero, discounts were not getting calculated for certain negative charges in the input.

Below is the order of sample balance impacts used, which does not returns the discount for negative charges.

-13.51
-1.99
 13.51
 1.99
   
On further analysis, it is observed that when the order of balance impacts in the input was made such that positive balance impacts were put first and negative balance impacts later, then the discount amount were coming in the output as expected. Below order does returns the discount amount for negative charges.

 13.51
 1.99
-13.51
-1.99

Qn1. Is this an expected behavior from discounting pipeline? Also does the ordering of balance impacts a reliable solution for this issue?  Customer is planning to put a solution where they will pass a parameter to Event Detail Record (EDR) which indicates if charge packet re-ordering has to be done. A custom iScript will read this parameter and sort the charges packet with all positive balances first and negative later. This sorting will be performed before FCT_Discount module. iScript will have a logic to iterate over the charge packets and determine the indices for negative and positive charge packets and then copy the positive charge packets first and then negative charge packets. They would like to know if there are any OOB EDR container function they can perform sorting of charge packets.

 
Qn2.  It is observed that reordering of charge packets with positive balances first and negative balances later doesn't work during cancellation scenario. They also tried reversing the order with negative first and positive later during cancellation. But it didn't work that way also. Their observation is that when PIN_FLD_CYCLE_FEE_FLAGS is set to PIN_RATE_FLG_PRODUCT_CANCEL pipeline isn't calculating the discount for all the charges packets. Is this an expected behavior and is there any way to solve the same? Is there any OOB EDR copy functionality that would allow them to create a duplicate of an entire charge packet rather than having to create a new empty charge packet and then to copy each field therein one-by-one?
 
Note: Here they are not considering 'DiscountMoreThankPossible' as this will be a system wide parameter.  They had tried reordering of the charge packet ( negative first and positive later) but that is not working. They have written the iScript for charge packet reordering by referring to the OOB iScript "./iScriptLib_Standard/ISC_LeastCost.isc" and it looks to be working fine. This solution would need change in the discount configuration and hence they are not considering as of now.
 

Solution

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.