Discount Getting Prorated When Passing End Time In Date Range As Month End.
(Doc ID 3050213.1)
Last updated on OCTOBER 01, 2024
Applies to:
Oracle Communications Billing and Revenue Management - Version 15.0.1.0.0 and laterInformation in this document applies to any platform.
Symptoms
On environment running Oracle Communications Billing and Revenue Management (BRM) 15.0.1.0, given following problematic scenario:
- with virtual time set as 19-sep-2024, two deals are purchased for existing account (/account 461146) which has BDOM set as 1:
-> a deal containing a product which include a CycleForwardMonthly charge of 300 USD; as a result, a balance impact of 120 USD corresponding to "19-sep 1-oct" interval is created
-> a deal containing a 50% discount to be applied on CycleForwardMonthly charges
- following PIN_FLD_OVERRIDE_DISCOUNTS array is present in op_subscription_purchase_deal input flist
- input flist of op_rate_and_discount_event executed during discount purchase contains PIN_FLD_DISCOUNT_DATA with two entries:
-> one for "19-sep-2024 00:00:00 to 30-sep-2024 00:00:00" (which contains PIN_FLD_PRICE_TAGS ARRAY)
-> 2nd one for "30-sep-2024 00:00:00 to 01-oct-2024 00:00:00" (which DOES NOT contain PIN_FLD_PRICE_TAGS ARRAY)
- in output flist of op_rate_and_discount_event a balance impact of -55 USD applied for a quantity of 110 :
0 PIN_FLD_BAL_IMPACTS ARRAY [1] allocated 20, used 16
...
1 PIN_FLD_OFFERING_OBJ POID [0] 0.0.0.1 /purchased_discount 462921 0
1 PIN_FLD_RUM_ID INT [0] 0
1 PIN_FLD_RESOURCE_ID INT [0] 840
1 PIN_FLD_AMOUNT DECIMAL [0] -55
1 PIN_FLD_PERCENT DECIMAL [0] 0.4
1 PIN_FLD_AMOUNT_DEFERRED DECIMAL [0] 0.000000000000000
1 PIN_FLD_QUANTITY DECIMAL [0] 110.000000000004
1 PIN_FLD_IMPACT_TYPE ENUM [0] 128
It is expected a total discount of 60 USD will be applied, as this is correct value of 50% from 120 USD.
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 |