ECE Balance Impact is Incorrect for the Subsequent Usage After Modify Bundle Operation
(Doc ID 2998847.1)
Last updated on JANUARY 26, 2024
Applies to:
Oracle Communications BRM - Elastic Charging Engine - Version 12.0.0.4.0 and laterInformation in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
---------------
Balance Impact is incorrect for the subsequent usage after performing Modify Bundle Operation. The modify operation can involves the subscriber deletes/rests balances associated with an existing bundle. Possible scenarios are:
Delete usage i.e. reset allowance, delete topup, delete rollover or any combination of the afore mentioned. There is a wrapper opcode to read the valid balances and perform adjustments according to the input parameters.
Balance cache after CCR-U[3]
([BalanceItemImpl balanceItemId = 54} , currentBalance = 0.00} , balanceItemSpec = BalanceItemSpecImpl{beCode='DA', unit=Occ, creditProfile=CreditProfile{creditFloor=-9223372036854775808, creditCeiling=0, id='180', percentageCreditThresholds=[], fixedCreditThresholds=[0.0, -2.097152E+8]}, consumptionRule=NONE, lastBalanceItemIndex=54} , validity = [1970-01-01T00:00:00Z,2023-12-12T11:38:09Z]} , validityRule = null} , firstUsageCreatedTime = null} , granter = GranterImpl{granterId='30218788'
granterType=CHARGE_OFFERING
}}]),
([BalanceItemImpl balanceItemId = 26} , currentBalance = -1794113536.00} , balanceItemSpec = BalanceItemSpecImpl{beCode='DA', unit=Occ, creditProfile=CreditProfile{creditFloor=-9223372036854775808, creditCeiling=0, id='180', percentageCreditThresholds=[], fixedCreditThresholds=[0.0, -2.097152E+8]}, consumptionRule=NONE, lastBalanceItemIndex=54} , validity = [2023-12-11T23:00:00Z,2023-12-31T23:00:00Z]} , validityRule = null} , firstUsageCreatedTime = null} , granter = GranterImpl{granterId='202536074'
granterType=PURCHASED_CHARGE
}}balanceReservations{(DGW_GPRS_1702380654_SI:null_RG:1 = )([BalanceReservationImpl{reservedBalance=448528384.00},{activeReservation=448528384.00},{consumedReservation=0},{ExpirationTime=1702395603000},{totalConsumedBalance=0},])]),
([BalanceItemImpl balanceItemId = 40} , currentBalance = -2147483648} , balanceItemSpec = BalanceItemSpecImpl{beCode='DA', unit=Occ, creditProfile=CreditProfile{creditFloor=-9223372036854775808, creditCeiling=0, id='180', percentageCreditThresholds=[], fixedCreditThresholds=[0.0, -2.097152E+8]}, consumptionRule=NONE, lastBalanceItemIndex=54} , validity = [2023-12-31T23:00:00Z,2024-01-31T23:00:00Z]} , validityRule = null} , firstUsageCreatedTime = null} , granter = GranterImpl{granterId='202536074'
granterType=PURCHASED_CHARGE
}}]),
([BalanceItemImpl balanceItemId = 1} , currentBalance = 0.00} , balanceItemSpec = BalanceItemSpecImpl{beCode='DA', unit=Occ, creditProfile=CreditProfile{creditFloor=-9223372036854775808, creditCeiling=0, id='180', percentageCreditThresholds=[], fixedCreditThresholds=[0.0, -2.097152E+8]}, consumptionRule=NONE, lastBalanceItemIndex=54} , validity = [2023-12-11T23:00:00Z,+292278994-08-17T07:12:55.807Z]} , validityRule = null} , firstUsageCreatedTime = null} , granter = GranterImpl{granterId='202536074'
granterType=PURCHASED_CHARGE
}}]),
From the above, used units are 405798912 bytes (387MB). However, the consumed reservation is not matching with 387MB.
EXPECTED BEHAVIOR
-----------------------
The consumed reservation should match with 387MB.
STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Check account balance before modifying bundle
2. Modify bundle operation
3. Pass CCR Update Request (CCR-U[3])
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 |
Cause |
Solution |
References |