Batch Discounting Not Using The Correct Cycle For Balance Impact For Late Usage
Last updated on DECEMBER 05, 2014
Applies to:Oracle Communications Billing and Revenue Management - Version 220.127.116.11.1 to 18.104.22.168.1 [Release 7.2.1]
Information in this document applies to any platform.
On : BRM 7.2.1 version, Pipeline Manager, Rating & Discounting
Batch discounting is not using the correct cycle for balance impact for late (after billing) incoming usage.
Note: the user aggregates usage data every day and rates them on the billing day.
Steps to reproduce:
The product - Monthly Cycle Forward Event, charges $0. The usage is charged through whatever rateplan the customer has subscribed to.
The discount - rule1: A counter (1000999) of which increased 1 by each usage amount $1
- rule2: when the BAL(1000999) > 50, grant 100% discount, impact on the current cycle.
1. On Nov 25, created account with the plan/deal/product/discount as configured.
Initial charge is $0, initial counter is 0.
2. On Nov 29, run billing,
A new counter is created for each cycle, the user does not use Folds.
3. On Dec 2, usage for Nov 26 has a charge of $38
Currency balance updated by $38 ($50 cap has not been reached)
Discount rule1 updates counter (1000999) to 38
Discount rule2 not triggered
4. Stay on Dec 2, usage for Nov 27 has a charge of $103
Discount rule1 is triggered and updating the counter (1000999) to 103, i.e. it is missing the previous usage charge of $38.
Discount rule2 (step 50 - infinity, i.e. step 50 - 103 = 53) is triggered,
Discount currency impact by $53
Discount counter (1000999) by 53, i.e. counter remains at 50, i.e. 103 - 53
Currency balance impact for this EDR = $103 - $53 = $50
Total usage charge is now $38+ $50 = $88 (over the $50 cap for the cycle)
Discount rule1 should be used to update the counter (1000999) to 38 + 103 = 141
Discount rule2 (step 50 - infinity, i.e. step 50 - 141 = 91) should be triggered.
Discount currency impact by $91$
Discount counter (1000999) by 91, i.e. counter remains at 50, i.e. 141 - 91
Currency balance impact for this EDR = $103 - $91 = $12
Total usage charge should be now $38+ $12 = $50
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms