My Oracle Support Banner

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

Last updated on FEBRUARY 22, 2019

Applies to:

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


-- 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.




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

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