Wrong Valid_from For Sub-Balance Created For Resources To Be Initialized With 0
Last updated on SEPTEMBER 19, 2016
Applies to:Oracle Communications Billing and Revenue Management - Version 220.127.116.11.0 to 18.104.22.168.0 [Release 7.3.0]
Information in this document applies to any platform.
Checked for relevance on 14-Aug-2012.
-- Problem Statement:
In order to grant a monthly free resource and initialize to 0 a monthly counter, we use a Monthly Cycle Forward fee impacting 2 resources.
The free resource (1000095 = "Free Seconds" in our tests) has a negative impact.
The counter resource (1000091 = "Loyalty Points" in our tests) has a 0 impact.
For both impacts, the flags "Proratable" and "Grantable" are set.
For both impacts, the validity interval is set to "1 event cycle".
The sub-balance for the free resource has been created as expected with valid_from = purchase date and valid_to = end of the cycle.
However the sub-balance for the counter resource has been created with valid_from = start of the cycle (in this case it is the date in which the account was created) and valid_to = end of the cycle. This is not correct.
It looks like the logic for calculating the validity interval for the sub-balance is partly skipped when the impact is 0.
-- Steps To Reproduce:
1) Create an account with Customer Center using plan "Empty" (please refer to the attached IPL).
2) Move the pin_virtual_time a few days ahead.
In our tests, we moved the pin_virtual_time from 20-Jun-2008 to 25-Jun-2008.
3) Purchase plan "Double Resource" creating a new service (please refer to the attached IPL).
4) Check the validity of the 2 sub-balances created when purchasing the plan "Double Resource".
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