My Oracle Support Banner

Multiple Balance Impacts For Single Usage Event When Product Rate Balance Impact Is Fixed Amount (Doc ID 1589994.1)

Last updated on SEPTEMBER 28, 2018

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.4.0.0.0 to 7.5.0.0.0 [Release 7.4.0 to 7.5.0]
Information in this document applies to any platform.

Symptoms

On 7.4PS17, Rating

Issue:

A usage product has a rate balance impact which is configured as "Fixed Amount". When rating is performed through AAA (PCM_OP_TCF_AAA_STOP_ACCOUNTING), it is generating two balance impacts for a single event.

Observed that:

One balance impact is populated “Quantity” with actual rated quantity and “Amount” is Zero:

1 PIN_FLD_QUANTITY DECIMAL [0] 660.00000000   ******
1 PIN_FLD_QUANTITY_FROM DECIMAL [0] 0
1 PIN_FLD_QUANTITY_TO DECIMAL [0] 660.00000000
1 PIN_FLD_PERCENT DECIMAL [0] 1
1 PIN_FLD_AMOUNT DECIMAL [0] 0     ******

 
Second balance impact is populated “Quantity” with zero and “Amount” with actual charged amount:

1 PIN_FLD_QUANTITY DECIMAL [0] 0       ******
1 PIN_FLD_QUANTITY_FROM DECIMAL [0] 0
1 PIN_FLD_QUANTITY_TO DECIMAL [0] 0
1 PIN_FLD_PERCENT DECIMAL [0] NULL pin_decimal_t ptr
1 PIN_FLD_AMOUNT DECIMAL [0] 10 

 
After thorough analysis of the logs, it is due to discount purchased to the account even though the discount is not on an usage event.

Below are the some observations :-
- When any discount is purchased to the account: While rating, PCM_OP_RATE_EVENT opcode is setting 4608 to the PIN_FLD_CHECK_CREDIT_LIMIT.
- When there is no discount purchased to the account: While rating, PCM_OP_RATE_EVENT opcode is setting 4352 to the PIN_FLD_CHECK_CREDIT_LIMIT.

Steps to reproduce:

1. Create an usage product with "Fixed Amount" as the balance impact.
2. Create a discount with any event except the usage event (i.e. purchase fee or Cancel or cycle forward…..etc).
3. Create an account with the above usage product and discount. (Note:- After committing discount, restart WirelessRealtime.reg).
4. Pass the real time usage (PCM_OP_TCF_AAA_STOP_ACCOUNTING).
5. Now check the PIN_FLD_CHECK_CREDIT_LIMIT field value and the balance impacts.

Expected Results:

It should generate single balance impact with "FixedAmount".

Business Impact:

It is impacting the invoice reports where the condition is to get the event balance impacts for which "quantity" is not zero. Due to this behavior, invoice reports are giving incorrect results.

Also, observed that this issue is happening only for "Fixed Amount" ,where as it is not happening for "Scaled Amount" even though the credit limit is checked in Real time Pipeline, when the account is having discount.

Changes

 

Cause

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
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.