End Dates Incorrectly Populated after Patch 26076186 Installation

(Doc ID 2321931.1)

Last updated on NOVEMBER 06, 2017

Applies to:

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

Symptoms

On Oracle Communications Billing and Revenue Management (BRM) 7.5 patchset 16, when subscribing a discount offer to a customer with set start and end dates, the end dates were populated incorrectly and therefore discount charges were not generated by billing.

To sum up, CYCLE_END_T, PURCHASED_END_T, and USAGE_END_T in /purchased_discount were set to discount's START_DATE, so no discount charge was ever generated.

Expected Behavior

The end_t date should be set to 01.08.2017 (in this scenario) in order for the discount to be applied.

Steps to Reproduce
1. Set Pin Virtual Time (PVT) = May 01, 2017 00:00
    Create Billing Account with Billing Day of the Month (BDOM) set to 1
    Create Charge Offer A and Discount Offer B (that applies discount charge in amount of 50%)
    Charge Offer A START_T = May 01, 2017
                             END_T = Jan 01, 2038
    Discount Offer B START_T = May 01, 2017
                             END_T = infinite (not set)

2. PVT = May 01, 2017 02:00
    Run opening billing to generate charges

3. PVT = May 02, 2017 0:00
    Run closing billing to finalize bill (opening billing date + delay period which is 1 day)
 
4. PVT = May 31, 2017 09:30
    Create Discount Offer C  START_T = Jun 01, 2017
                                              END_T = Aug 01, 2017  
    As a result,  end dates (CYCLE_END_T = PURCHASED_END_T = USAGE_END_T) in /purchased_discount were incorrectly set to Jun 01, 2017.
    i.e. The end date of the discount has been set to its start date; therefore, the discount seems to be invalid

    Set end date for discount offer B to Jun 01, 2017

5. PVT = Jun 01, 2017 00:30
    Set status of the Discount Offer B as cancelled
    Run opening billing to generate charges
    As a result, the discount was not applied in balance impacts since no valid discount presenting; therefore, the customer got charged with full amount

6. PVT = Jun 02, 2017 00:30
    Run closing billing to finalize bill (opening billings date + delay period which is 1 day)


Changes

Installation of Patch 26076186.

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