Plan Transition Fails With Credit Limit Exceeded On Certain Days Of The Month Due To Incorrect Proration Calculation (Doc ID 2102788.1)

Last updated on JULY 28, 2017

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.5.0.0.0 to 7.5.0.0.0 [Release 7.5.0]
Information in this document applies to any platform.

Symptoms

On : 7.5.0.11.0 version, Subscription Management


Plan transition fails with credit limit exceeded on certain days of the month due to incorrect proration calculation.

Test scenario:
For resource id : 1000834 (free mins), Credit limit is set to 0 and Rounding is r_mode nearest and 0 round.
5 Free Minutes configured on a product. After consuming full bucket and perform the transition plan on same product (or different product with same resource id)  BRM does following proration calculation during purchase.

Number of days: 31
Days remaining: say 22
Total seconds: 300
Scale is calculated as: 0.709677419354838
Bracket After division is coming as: 1.000455 and rounded amount is > 0

It is giving credit limit error.

This happens only when 31 days in calendar month and if the amount is ab.xy and x > 5.

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