The Usage Discount Is Not Applied For Discount With End Dates In Boundary Case (Doc ID 1061350.1)

Last updated on SEPTEMBER 24, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.1 to 7.3.1.0.1 [Release 7.3.1]
Information in this document applies to any platform.
***Checked for relevance on 25-Sep-2012***

Symptoms

The usage discount gives 10% discount on usage during rating time. 
The customer purchases this discount. The start and end date is 10th Oct 2009 00:00 to 10th Nov 2009 00:00.

When a CDR is processed with date as 2009 09th Nov 23:00 with duration as 20 minutes, the discount is applied as the start and end time of CDR falls between the discount validity time.

When a CDR is processed with date as 2009 09th NOV 23:00 with duration as 120 minutes, then the discount is not applied as the end time of CDR crosses the discount validity time.

Ideally discount should have applied for the first 60 minutes of the call and no discount for the rest of 60 minutes.

-- Steps To Reproduce:
1. Create a account with usage product and discount.
2. The purchased discount start date and end date be 10th Oct 2009 00:00 to 10th Nov 2009 00:00.
3. Process a CDR with date as 2009 09th Nov 23:00 with duration as 20 minutes, the discount is applied as the start and end time of cdr falls between the discount validity time.
4. Process a CDR with date as 2009 09th NOV 23:00 with duration as 120 mins, then the discount is not applied as the end time of CDR crosses the discount validity time.

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