Discount Was Calculated Incorrectly When A Call Crossed Peak/Offpeak
Last updated on SEPTEMBER 26, 2016
Applies to:Oracle Communications Billing and Revenue Management - Version: 184.108.40.206.0 to 220.127.116.11.0
This problem can occur on any platform.
Peak time setting: 7AM- 5:59PM peak time; 6:00PM - 6:59AM offpeak time
0 PIN_FLD_START_T TSTAMP  (1196700925) Mon Dec 03 10:55:25 2007
0 PIN_FLD_END_T TSTAMP  (1196729425) Mon Dec 03 18:50:25 2007
Therefore the usage can be devided into two parts:
Peak time: 425 minutes (25500 seconds)
Offpeak time: 50 minutes (3000 seconds)
One account was granted two free minutes resources:
Resource_id : 1004068, quantity: 25140 seconds
Resource_id : 1006005, quantity: 1200 seconds
For peak time usage 25500s, free resource was used correctly. 25140s of Resource 1004068 plus 360s of Resource 1006005.
After the consumption,
balance of Resource 1004068 = 0
balance of Resource 1006005 = 1200 - 360 = 840
For offpeak time usage, it was supposed to use 840s of Resource 1006005, but it was using 1183s.
Steps To Reproduce:
Discounts on pipeline side:
Discount1: consume free resource 1004068. Cascade.
Discount2: consume free resource 1006005. Cascade
1. Create an account which purchases two products and two discounts (Discount1 and Discount2).
Product1 grants resource 1004068, Product2 grants resource 1006005.
2. Make up usage (CDR) file
3. Run through Pipeline
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