Rerating Not Applying Resource In Correct Order (Doc ID 987798.1)

Last updated on SEPTEMBER 21, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.2.1.0.0 - Release: 7.2.1
Information in this document applies to any platform.

Symptoms

-- Problem Statement:
When re-rating happens after an activation of an account the resources do not get applied back until after the events have been re-rated.
The order in which the events/ resource get re-rated after an activate is not correct.

There is no error thrown for this problem. The issue is with rerating where it is not applying the free resource CF in the correct order therefore causing a usage to be rated against $ but should have been rated against the free resource. Below is the high level timeline.

1) account has CF free resource applied
2) usage is generated and rated correctly against free resource
3) account is inactivated
4) account is reactivated the next day
5) account is rerated on the same date as reactivation and usage is rated against $ since no free resource was available in the account when usage is rerated.

From the cm.pinlog, the rerate code searched out all the /events to be rerated.

It rerated the CF /event first and applied the negative adjustment to zero out the free resource which is correct. Then it went on to rerate the usage, negative it and then rerating it but since no free resource is available at this point, it rates it against $. Then finally after rerating other /events, it goes back and reapplies the free resource of the CF /event.

It should rerate the usage event first then the CF /event.


Cause

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