Pipeline Is Consuming Bundles From Previous Bucket If The CDR Is At Midnight

(Doc ID 746862.1)

Last updated on MARCH 12, 2011

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.0.0.0.0 and later   [Release: 7.0.0 and later ]
Information in this document applies to any platform.
Checked for relevance on 12th March 2011

Symptoms

-- Problem Statement:
If there are two month buckets for a bundle and CDR falls at midnight of the current month bucket
then CDR is consuming bundle from previous bucket.

Rec id valid from valid to current bal
2    2008/01/01 2008/02/01 -3600
4    2008/02/01 2008/03/01 0

When there is a CDR with start time 20080201000000, ideally the CDR should not be discounted since
there is no balance in bucket from Feb to March, but CDR is consuming bundle from Jan to Feb bucket.

-- Steps To Reproduce:
NOTE: Delay period is set to 2 days and In SIMPLESAMPLE_v1_InMap.dsc file, xx.UTC_TIME_OFFSET has been changed from "+0100" to "+0000".


1. Create a account with telephony service, rating product for telephony, a bundle product and a discount to consume the bundle.
2. Move the pvt to delay period, Bill the account, this will create bundle for next month.
3. Now send a CDRs to consume all bundle in current bucket.
4. Pass a semaphore "ifw.DataPool.BalanceDataModule.Module.DataFileName=cust.data" and double check that the current bucket value are consumed and also note the validFrom and valilTo for the current bucket.
-----------------------
Balance Element: ResourceId: 1000095
SubBalances:
recId | validFrom | validTo | balance | delayedBal | nextBal | contributor | rolloverData
4 | 2008/02/01 00:00:00 | 2008/03/01 00:00:00 | 0 | 0.0 | 0.0 | | 1073807360
2 | 2008/01/01 00:00:00 | 2008/02/01 00:00:00 | -3600 | 0.0 | 0.0 | | 1073807360
-----------------------------------

5. Now Send CDR with start time which is equal to valid_from of the current bucket.

Actually results:
This CDR will consume bundle from previous month.

Expected result:
This CDR shouldn't consume bundle from previous month, but it should get rated.

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