Wrong Cycle And Usage End Date When Transfer A Future Cycle And Usage Start Product

(Doc ID 1236363.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

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

Symptoms

Wrong Purchase, Cycle and Usage end date when transferring a product with future Purchase, Cycle and Usage start date.

The operation was done on BRM 7.4 + PS4 + patch_9727146, or on PS5, with  subscription group (with multiple balances) and sequential discount enabled

Steps to reproduce the problem

0. Create a plan with subscription services. Associate the services with deals that start in relative future date (24 months) for the Purchase, Cycle and Usage start date. Associate a service with service level Balance Group.  The deal includes a product and a discount.
1. Create an account and buy this plan (FromAccount).
2. Then create another account (ToAccount)
3. Transfer the service (which is associated with service level balance group) from the FromAccount to the ToAccount using the flist:

r << XXX 1
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/email 404263
0 PIN_FLD_FROM_OBJ POID [0] 0.0.0.1 /account 403143
0 PIN_FLD_TO_OBJ POID [0] 0.0.0.1 /account 402343
0 PIN_FLD_BILLINFO_OBJ POID [0] 0.0.0.1 /billinfo 401511 -----> ToAccount's billinfo
0 PIN_FLD_PROGRAM_NAME STR [0] "TEST"
XXX
xop PCM_OP_SUBSCRIPTION_TRANSFER_SUBSCRIPTION 0 1


4. Observe in the FromAccount that the Cycle End date and the Usage End Date are less than the Cycle Start date and the Usage Start Date

cm.pinlog has error:

D Mon Sep 13 12:23:59 2010 xxx.com cm:9204 fm_subscription_prodinfo.c:619 1:xxx.com:testnap:9199:-135890720:3763:1284405839:1
   New product flist
# number of field entries allocated 20, used 5
0 PIN_FLD_PRODUCT_OBJ POID [0] 0.0.0.1 /product 409529 0
0 PIN_FLD_OFFERING_OBJ POID [0] 0.0.0.1 /purchased_product 401575 0
0 PIN_FLD_PURCHASE_END_T TSTAMP [0] (1284405839) Mon Sep 13 12:23:59 2010
0 PIN_FLD_CYCLE_END_T TSTAMP [0] (1284405839) Mon Sep 13 12:23:59 2010
0 PIN_FLD_USAGE_END_T TSTAMP [0] (1284405839) Mon Sep 13 12:23:59 2010
E Mon Sep 13 12:23:59 2010 xxx.com cm:9204 fm_subscription_prodinfo.c:672 1:xxx.com:testnap:9199:-135890720:3763:1284405839:1

   purchase_end_t cannot be before the purchase_start_t
   <location=PIN_ERRLOC_FM:5 class=PIN_ERRCLASS_APPLICATION:4 errno=PIN_ERR_BAD_VALUE:46>
   <field num=PIN_FLD_PURCHASE_END_T:8,264 recid=0 reserved=0 reserved2=0 time(sec:usec)=1284405839:337457>
   <facility=0 msg_id=91 version=1>

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