Missing Prorate Fee After Product Dates Change (Doc ID 1526537.1)

Last updated on AUGUST 24, 2016

Applies to:

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

Symptoms

There is missing fee after changing product dates with opcode PCM_OP_SUBSCRIPTION_SET_PRODINFO

Steps to Reproduce:

  1. Create account
  2. Create service
  3. Purchase deal (PCM_OP_SUBSCRIPTION_PURCHASE_DEAL: purchase_end_t = 0)
  balance impacts in DB:
  /event/billing/product/fee/purchase 100
  /event/billing/product/fee/cycle/cycle_forward_monthly 80.49
 
  move date to: Sat Jan  5 23:00:03 2013
  4. PCM_OP_SUBSCRIPTION_SET_PRODINFO
  0 PIN_FLD_POID           POID [0] 0.0.0.2 /account 2146926 0
  0 PIN_FLD_ACCOUNT_OBJ    POID [0] 0.0.0.2 /account 2146926 0
  0 PIN_FLD_SERVICE_OBJ    POID [0] 0.0.0.2 /service/telco/sms   2150996 0
  0 PIN_FLD_PROGRAM_NAME    STR [0] "pinunit"
  0 PIN_FLD_END_T        TSTAMP [0] (1357423203) Sat Jan  5 23:00:03 2013
  0 PIN_FLD_PRODUCTS      ARRAY [0] allocated 20, used 5
  1     PIN_FLD_PRODUCT_OBJ    POID [0] 0.0.0.2 /product 285276 5
  1     PIN_FLD_OFFERING_OBJ   POID [0] 0.0.0.2 /purchased_product 2150836 0
  1     PIN_FLD_PURCHASE_END_T TSTAMP [0] (1357772400) Thu Jan 10 00:00:00 2013
  1     PIN_FLD_CYCLE_END_T  TSTAMP [0] (1357772400) Thu Jan 10 00:00:00 2013
  1     PIN_FLD_USAGE_END_T  TSTAMP [0] (1357772400) Thu Jan 10 00:00:00 2013
 
  Now prorate is generated:
  /event/billing/product/fee/cycle/cycle_forward_monthly -59.02
 
  5. Again PCM_OP_SUBSCRIPTION_SET_PRODINFO
  0 PIN_FLD_POID           POID [0] 0.0.0.2 /account 2146926 0
  0 PIN_FLD_ACCOUNT_OBJ    POID [0] 0.0.0.2 /account 2146926 0
  0 PIN_FLD_SERVICE_OBJ    POID [0] 0.0.0.2 /service/telco/sms 2150996 0
  0 PIN_FLD_PROGRAM_NAME    STR [0] "pinunit"
  0 PIN_FLD_END_T        TSTAMP [0] (1357423203) Sat Jan  5 23:00:03 2013
  0 PIN_FLD_PRODUCTS      ARRAY [0] allocated 20, used 5
  1     PIN_FLD_PRODUCT_OBJ    POID [0] 0.0.0.2 /product 285276 5
  1     PIN_FLD_OFFERING_OBJ   POID [0] 0.0.0.2 /purchased_product 2150836 0
  1     PIN_FLD_PURCHASE_END_T TSTAMP [0] (0) <null>
  1     PIN_FLD_CYCLE_END_T  TSTAMP [0] (0) <null>
  1     PIN_FLD_USAGE_END_T  TSTAMP [0] (0) <null>
 
  Why this time fee is not prorated?
  We suspect that this time there will be event:
        /event/billing/product/fee/cycle/cycle_forward_monthly 59.02



Changes

 

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