Cycle Arrear Fees Not Discounted Completely When Discount Is Cancelled and Purchased in Same Cycle
(Doc ID 1336449.1)
Last updated on JUNE 14, 2022
Applies to:
Oracle Communications Billing and Revenue Management - Version 7.3.1.0.0 and laterInformation in this document applies to any platform.
Goal
When cascade discount (on cycle arrear fees) is canceled and purchased in the same cycle, only the first portion of the active period got discounted and the second portion got left out.
Example:
The bill cycle is Mar 5 to Apr 5; cancel discount on Mar 10 and purchase the same discount on the same day; only Mar 5 to Mar 10 got charged ; Mar 10 to Apr 5 got left out.
Configuration:
* create 2 products, one is purchase fee and the other one is cycle arrear (CA) fee
* create a discount, it gives 100% discount on the CA fee
* create a discount with the discount model as created above
* create a deal D1 with the above 2 products and the discount
* create a plan P1 with above D1
* consider DOM=5 , billing_delay=1
Scenario:
* 05March, create account with the above plan P1
The event generated is , e1 = 6.48 (this is the purchase fee)
* 10 March, cancel the discount using input flist (shown below)
* 15 March, purchase the same discount using opcode and flist (shown below)
* 07April, run billing for the account.
Below events are generated :
e2 = 8.03 (this is the cycle arrear charge)
e3 = -1.295 (this is discount for the period 5March to 10March)
Input flists used in the above test :
# op_subscription_cancel_discount input flist 3752
# number of field entries allocated 20, used 4
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 123 11
0 PIN_FLD_PROGRAM_NAME STR [0] "Automatic Account Creation"
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gprs 1972681 6
0 PIN_FLD_DISCOUNTS ARRAY [0] allocated 20, used 3
1 PIN_FLD_DISCOUNT_OBJ POID [0] 0.0.0.1 /discount 1964921 4
1 PIN_FLD_OFFERING_OBJ POID [0] 0.0.0.1 /purchased_discount 1971657 0
1 PIN_FLD_QUANTITY DECIMAL [0] 1
# op_subscription_purchase_deal input flist 108
# number of field entries allocated 20, used 6
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 123 12
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gprs 1234 6
0 PIN_FLD_PROGRAM_NAME STR [0] "Customer Center"
0 PIN_FLD_END_T TSTAMP [0] (1300127400) Tue Mar 15 00:00:00 2011
0 PIN_FLD_START_T TSTAMP [0] (0) <null>
0 PIN_FLD_DEAL_INFO SUBSTRUCT [0] allocated 20, used 6
1 PIN_FLD_NAME STR [0] "100% Disc"
1 PIN_FLD_POID POID [0] 0.0.0.1 /deal -1 0
1 PIN_FLD_END_T TSTAMP [0] (0) <null>
1 PIN_FLD_START_T TSTAMP [0] (0) <null>
1 PIN_FLD_PLAN_OBJ POID [0] 0.0.0.1 /plan -1 0
1 PIN_FLD_DISCOUNTS ARRAY [1] allocated 20, used 9
2 PIN_FLD_DISCOUNT_OBJ POID [0] 0.0.0.1 /discount 1964921 4
2 PIN_FLD_QUANTITY DECIMAL [0] 1
2 PIN_FLD_STATUS ENUM [0] 1
2 PIN_FLD_PURCHASE_END_T TSTAMP [0] (0) <null>
2 PIN_FLD_PURCHASE_START_T TSTAMP [0] (0) <null>
2 PIN_FLD_USAGE_END_T TSTAMP [0] (0) <null>
2 PIN_FLD_USAGE_START_T TSTAMP [0] (0) <null>
2 PIN_FLD_CYCLE_END_T TSTAMP [0] (0) <null>
2 PIN_FLD_CYCLE_START_T TSTAMP [0] (0) <null>
Problem :
Discount for the second portion (15 March to 5 April) got left out.
In the discount trace, there is the message:
"..Ignored packet Id: 1 due to cascading and totalMatchFactor >= 1.."
Could this be the cause of the problem?
Solution
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
Goal |
Solution |