Event Adjustment Incorrect When Event Has Discount Bal Impacts (Doc ID 2135175.1)

Last updated on JULY 19, 2016

Applies to:

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

Symptoms

On :  7.5.0.10.0 version, Accounts Receivable (AR)

The user is doing an event adjustment on an event with total 3 Bal Impacts - the first 2 are from normal rating and the 3rd is from the Cycle Discount.

ACTUAL BEHAVIOR  
-----------------------
When calling event adjustment, the input to act_usage does not have total 3 Bal Impacts. Discount Bal Impacts is missing and is getting adjusted in one of the normal rating Bal Impacts.

EXPECTED BEHAVIOR
---------------------------
It is expected to get 3 Bal Impacts in the input flist to act_usage, the same way as in the main charge event.

STEPS
-----------------------
1. Call customized opcode "op_XXX_srvc_adjust_event" to do the adjustment, which is internally calling PCM_OP_AR_EVENT_ADJUSTMENT.
2. The discount is a normal Cycle discount on cycle_forward_monthly event and which applies 5% discount on the main charge event.

Steps in OOB:
1. Create a product with 2 bal_impacts
    • GLID 102 : 10 USD
    • GLID 104 : 5 USD
2. Create a discount gives 40% discount for GLID 102
3. Create account with IP service plan
4. Purchase the discount and the product
5. Call PCM_OP_AR_EVENT_ADJUSTMENT using this flist:

0 PIN_FLD_POID POID [0] 0.0.0.1 /account 101143
0 PIN_FLD_PROGRAM_NAME STR [0] "Testnap"
0 PIN_FLD_STR_VERSION INT [0] 8
0 PIN_FLD_EVENTS ARRAY [0] allocated 20, used 4
1     PIN_FLD_CATEGORY_ID INT [0] 0
1     PIN_FLD_BOOLEAN INT [0] 0
1     PIN_FLD_POID POID [0] 0.0.0.1 /event/billing/product/fee/cycle/cycle_forward_monthly 291819182104873559
0 PIN_FLD_STRING_ID INT [0] 3
0 PIN_FLD_ADJUSTMENT_INFO ARRAY [0] allocated 20, used 3
1     PIN_FLD_RESOURCE_ID INT [0] 840
1     PIN_FLD_FLAGS INT [0] 8
1     PIN_FLD_PERCENT DECIMAL [0] 100
0 PIN_FLD_DESCR STR [0] "[Debited account by mistake] dd"

Results:
• Cycle event bal_impacts

0 PIN_FLD_EVENT
1     PIN_FLD_BAL_IMPACTS[0]
2         PIN_FLD_AMOUNT      10
2         PIN_FLD_GL_ID              102
1     PIN_FLD_BAL_IMPACTS[1]
2         PIN_FLD_AMOUNT       5
2         PIN_FLD_GL_ID              104
1     PIN_FLD_BAL_IMPACTS[2]
2         PIN_FLD_AMOUNT      -4
2         PIN_FLD_GL_ID              102

• Adjustment event bal_impacts

0 PIN_FLD_EVENT
1     PIN_FLD_BAL_IMPACTS[0]
2         PIN_FLD_AMOUNT      -10
2         PIN_FLD_GL_ID              102
1     PIN_FLD_BAL_IMPACTS[1]                                            
2         PIN_FLD_AMOUNT       -1   (it seems BRM summed up bal_impact[1,2] then adjusted them which wrong as they are under different GLID)
2         PIN_FLD_GL_ID              104

 

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