Patch 6667496 Does Not Prorate A Prorateable Product

(Doc ID 601477.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.2.1
This problem can occur on any platform.

Symptoms

Applying patch  6664796 is causing proration to stop happening. It seems that the new fm_rate.so
(patch version) is causing this problem. Reverting fm_rate.so to older version does not give the same problem.

Steps To Reproduce:
1. March 28 - Account created with /service/ip. DOM = 1.
2. Run billing for 2 months. ie, April 01 and May 01.
3. On May 10 - Add another service say /service/email (purchase a new plan).
    The new product will be charging $9.95/month (inside 9.95, 9.13 is not prorateable, 0.82 is prorateable).  The prorateable charge $0.82 is not prorated after the purchase.

The rate has 3 tiers for the product purchased on Step 3. It's defined as
following:
Tier1: 
    Resource1: fixed amount -1.00
Tier2:
   Resource2:  fixed amount 0.83 (proratable)
Tier3:
   USD: fixed amount $9.13 (non proratable)
   Resource2: fixed amount -9.13
   USD: fixed amount 0.82 (proratable)

In the plan, Resource1 and Resource2 have credit limit 0. They are non-currency resources. When the plan/deal is purchased, the 3rd tier is picked up.

Expected. - The $0.82 should be prorated to $0.58 and $9.71 (9.13+0.58) is to be charged.
Observed: - $0.82 is not prorated and charged $9.95.

Log file shows:

D Wed Mar 10 10:00:00 2004 myhost cm:21687 fm_rate_rate.c:1386 1:myhost:bs_signupd:21683:1:10075:1206549090:39
      bal_scale is: 1.000000
D Wed Mar 10 10:00:00 2004 myhost cm:21687 fm_rate_rate.c:1998
1:myhost:bs_signupd:21683:1:10075:1206549090:39 
      scaled amount of this bal_impact : 0.000000
D Wed Mar 10 10:00:00 2004 myhost cm:21687 fm_rate_rate.c:2062
1:myhost:bs_signupd:21683:1:10075:1206549090:39 
      amount is : 0.000000
D Wed Mar 10 10:00:00 2004 myhost cm:21687 fm_rate_rate.c:1411
1:myhost:bs_signupd:21683:1:10075:1206549090:39 
      Scaled amount : 0.000000
D Wed Mar 10 10:00:00 2004 myhost cm:21687 fm_rate_rate.c:1413
1:myhost:bs_signupd:21683:1:10075:1206549090:39 
      Fixed amount : 0.820000
D Wed Mar 10 10:00:00 2004 myhost cm:21687 fm_rate_rate.c:2257
1:myhost:bs_signupd:21683:1:10075:1206549090:39 
      discount amount is : -9999999999.990000
D Wed Mar 10 10:00:00 2004 myhost cm:21687 fm_rate_rate.c:2271
1:myhost:bs_signupd:21683:1:10075:1206549090:39 
      applied amount is : 0.820000




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