Refund Granted Twice When Param Keep_cancelled_products_or_discounts Is Enabled (Doc ID 1390897.1)

Last updated on APRIL 02, 2012

Applies to:

Oracle Communications Billing and Revenue Management - Version: 7.2.1.0.0 to 7.2.1.0.1 - Release: 7.2.1 to 7.2.1
Information in this document applies to any platform.

Symptoms

Refund from canceled discount A on cycle forward fee is granted twice: first, after canceling the discount A, second, after purchasing another discount B.

Steps to reproduce:

Setup :
#- fm_bill config_billing_delay 0
- fm_cust_pol actg_dom 9
- fm_subscription_pol keep_cancelled_products_or_discounts 1
- fm_bill timestamp_rounding 1
- fm_bill enable_30_day_proration 1
Business parameter : sequential_cycle_discounting 1
  1. pvt m1 : 2011/11/27 00:00:09 Create account from CC with dummy plan (/service/telco/gsm/telephony)
  2. pvt m1 : 2011/11/27 00:00:09 Purchase a monthly cycle forward fee from CC.
  3. pvt m1 : 2011/11/29 00:00:09 Purchase first discount on cycle forward fee from CC, that offers 13% discount on cycle fees
  4. pvt m2 : 2012/01/10 - run billing for the account from testnap
  5. pvt m1 : 2012/01/20 00:00:01 - Cancel first discount on cycle forward fee from CC.
  6. pvt m1 : 2012/01/20 00:00:01 - Purchase second (another) discount on cycle forward fee using the following flist from testnap, that offers 10% discount on cycle fees for example:

    # op_subscription_purchase_deal input flist
    # number of field entries allocated 20, used 6
    0 PIN_FLD_POID POID [0] 0.0.0.1 /account 1246789 35
    0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 1249093 8
    0 PIN_FLD_PROGRAM_NAME STR [0] "OFFER_CREATE"
    0 PIN_FLD_END_T TSTAMP [0] (1326997800) Fri Jan 20 00:00:00 2012
    0 PIN_FLD_DEAL_INFO SUBSTRUCT [0] allocated 20, used 7
    1 PIN_FLD_DISCOUNTS ARRAY [0] allocated 20, used 10
    2 PIN_FLD_QUANTITY DECIMAL [0] 1
    2 PIN_FLD_CYCLE_START_T TSTAMP [0] (0) <null>
    2 PIN_FLD_PURCHASE_END_T TSTAMP [0] (0) <null>
    2 PIN_FLD_PURCHASE_START_T TSTAMP [0] (0) <null>
    2 PIN_FLD_STATUS ENUM [0] 1
    2 PIN_FLD_DISCOUNT_OBJ POID [0] 0.0.0.1 /discount 1048652 126
    2 PIN_FLD_DESCR STR [0] "OFFER_INS_NO_201111280004"
    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>
    1 PIN_FLD_NAME STR [0] "DSCNT10P"
    1 PIN_FLD_POID POID [0] 0.0.0.1 /deal 1050700 2
    1 PIN_FLD_END_T TSTAMP [0] (0) <null>
    1 PIN_FLD_START_T TSTAMP [0] (1324319400) Tue Dec 20 00:00:00 2011
    1 PIN_FLD_FLAGS INT [0] 0
    1 PIN_FLD_DESCR STR [0] "DSCNT10P"
    0 PIN_FLD_START_T TSTAMP [0] (1326997800) Fri Jan 20 00:00:00 2012
  7. The following 2 events are generated :
    created_t poid amount poid_type
    --------------------------------------------
    20-JAN-12 00:00:01   270198385457433126    -1.439    /event/billing/product/fee/cycle/cycle_forward_monthly
    20-JAN-12 00:00:01   270198385457433508    1.87       /event/billing/product/fee/cycle/cycle_forward_monthly

Problem :  The second event is not expected. It is an additional refund to the customer.

Note:  When the param keep_cancelled_products_or_discounts is disabled, the additional refund is not generated.

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