OP_SUBSCRIPTION_SET_PRODINFO Errors Out When The Product Has PRORATE_FIRST="FULL" And PRORATE_LAST="FULL" (Doc ID 1082256.1)

Last updated on MARCH 19, 2013

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.0 to 7.3.1.0.1 [Release 7.3.1]
Information in this document applies to any platform.

Symptoms

PCM_OP_SUBSCRIPTION_SET_PRODINFO returns error when the users set end dates (CYCLE_END_T, USAGE_END_T) for the purchased products configured with prorate_first="full" and prorate_last="full".

Steps to Reproduce :
1. Create account on 01 Dec
2. Purchase deal (product) which has with this rate type (<rate prorate_first="full" prorate_last="full" step_type="resource_quantity" type="default">)
3. Change pin_virtual_time to 15 days ahead for example , 15 Dec
4. Call SUBSCRIPTION_SET_PRODINFO opcode to cancel the product with end_dates as today. Flist below:

0 PIN_FLD_PRODUCTS ARRAY [0] allocated 20, used 5
1 PIN_FLD_PRODUCT_OBJ POID [0] 0.0.0.1 /product 123456 0
1 PIN_FLD_OFFERING_OBJ POID [0] 0.0.0.1 /purchased_product 234567 1
1 PIN_FLD_PURCHASE_END_T TSTAMP [0] (1260815401) Tue Dec 15 00:00:01 2009
1 PIN_FLD_CYCLE_END_T TSTAMP [0] (1260815401) Tue Dec 15 00:00:01 2009
1 PIN_FLD_USAGE_END_T TSTAMP [0] (1260815401) Tue Dec 15 00:00:01 2009
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 345678 14
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.0 0 0
0 PIN_FLD_PROGRAM_NAME STR [0] "CHANGE_SUBSCRIPTION_PRODUCTS"
0 PIN_FLD_END_T TSTAMP [0] (1260815401) Tue Dec 15 00:00:01 2009


5. Error in cm pinlog :

E Tue Dec 15 00:04:56 2009 test_box cm:13563 pin_flist(63):26181:test_box:cm:13411:1:1301:1259949613:3
Bad flist ptr in pini_flist_get
E Tue Dec 15 00:04:56 2009 test_box cm:13563
fm_subscription_apply_rate.c:1148 1:test_box:cm:13411:1:1301:1259949613:3
op_subscription_apply_rate error
<location=PIN_ERRLOC_FLIST:6 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1
errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_CYCLE_FEE_END_T:8,2347 recid=0 reserved=0 reserved2=0
time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Dec 15 00:04:56 2009 test_box cm:13563
fm_subscription_cycle_utils.c:8635 1:test_box:cm:13411:1:1301:1259949613:3
fm_subs_call_apply_rate error
<location=PIN_ERRLOC_FLIST:6 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1
errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_CYCLE_FEE_END_T:8,2347 recid=0 reserved=0 reserved2=0
time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
D Tue Dec 15 00:04:56 2009 test_box cm:13563
fm_subscription_cycle_arrears.c:667 1:test_box:cm:13411:1:1301:1259949613:3
rcflags=0
E Tue Dec 15 00:04:56 2009 test_box cm:13563
fm_subscription_cycle_arrears.c:790 1:test_box:cm:13411:1:1301:1259949613:3
op_subscription_cycle_arrears error
<location=PIN_ERRLOC_FLIST:6 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1
errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_CYCLE_FEE_END_T:8,2347 recid=0 reserved=0 reserved2=0
time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Dec 15 00:04:56 2009 test_box cm:13563
fm_subscription_prodinfo.c:1998 1:test_box:cm:13411:1:1301:1259949613:3
fm_subs_prodinfo_apply_cycle_fees error
<location=PIN_ERRLOC_FLIST:6 class=PIN_ERRCLASS_SYSTEM_DETERMINATE:1
errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_CYCLE_FEE_END_T:8,2347 recid=0 reserved=0 reserved2=0
time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>



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