My Oracle Support Banner

Wrong Charge After Rerating With CALC_ONLY Flag (Doc ID 2943362.1)

Last updated on APRIL 19, 2023

Applies to:

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


On : version, Rerating/Rebilling

Rerating an account (PCM_OP_SUBSCRIPTION_RERATE_REBILL) with the CALC_ONLY flag removes the CYCLE_FEES array from /purchased_product.
This results in an incorrect charge (from the product installation date) during the next billing.

CYCLE_FEES array from /purchased_product shouldn't remove and next bill should show correct results.

The issue can be reproduced at will with the following steps:
1. PVT=24th Jan 2023: Created the chargeoffer with MCF with 10$ with all default values, created bundle, package and added to package list via PDC.
2. Create account by purchasing the package created above with DOM 1.
 so MCF event create with 12.58$ and billing cycle is 24th Jan to 1st May 2023
3. PVT=1st March 2013 12:00.ran the billing "pin_bill_accts -file abc.xml"
  Bill created with 22.58$, which is having MCF 1st March to 1st April.
4. PVT=1st April 2013 12:00. ran the billing "pin_bill_accts -file abc.xml"
  Bill created with 10$, which is having MCF 1st April to 1st May.
5. PVT=2nd April 2013 12:00. called rerating opcode PCM_OP_SUBSCRIPTION_RERATE_REBILL with CALC_ONLY flag with start date 1st April 00:00 via testnap
Here the input flist and opcode code with parameter with CALC_ONLY flag

6. PVT=1st May 2013 12:00 ran the billing "pin_bill_accts -file abc.xml" . New MCF created for 24th Jan to 1st June with 42.58$ (INCORRECT).
EXPECTED: MFC created for 1st May to 1st June with 10$.
The system incorrectly billed again from the date of product installation (24th Jan 2023) - for 4 periods




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.