PIN_ERR_NOT_FOUND Error While Canceling Product And Discount Inside Same Transaction Block (Doc ID 854373.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.0 and later
Oracle Solaris on SPARC (32-bit)
Sun Solaris SPARC (32-bit)
Checked for relevance on 23-Aug-2011
Checked for relevance on 20-Aug-2015


Symptoms

Unable to cancel product/discount inside same transaction block.

Steps To Reproduce:-

In the CM's pin.conf ensure the following entry:
- fm_subscription_pol keep_cancelled_products_or_discounts 0

=> $PIN_HOME/sys/test

# Create an Account with a Plan (one Deal - including one product and a discount) for a generic
service.
#testnap op_cust_commit_customer.nap

# testnap
nap>r op_trans_open 1
nap>xop PCM_OP_TRANS_OPEN 65536 1
nap>r op_sub_cancel_product.nap 1
nap>xop PCM_OP_SUBSCRIPTION_CANCEL_PRODUCT 0 1
nap>r op_sub_cancel_discount.nap 1
nap>xop PCM_OP_SUBSCRIPTION_CANCEL_DISCOUNT 0 1


It seems the PURCHASED_OFFERINGS cache is not refreshed after the CANCEL PRODUCT within a global transaction and a READ OBJ on the /purchased_product class causes the CANCEL DEAL to fail.


Error in cm.pinlog:

D Tue Jun 23 19:39:43 2009 machine01 cm:15779 fm_subscription_get_purchased_offerings.cpp:1156
1:machine01:testnap:15776:1:3752:1245778783:3
Offering Read Obj input
# number of field entries allocated 20, used 1
0 PIN_FLD_POID POID [0] 0.0.0.1 /purchased_product 597150 1
D Tue Jun 23 19:39:43 2009 machine01 cm:15779 pcm.c(54):862 1:machine01:testnap:15776:1:3752:1245778783:3
pcm_op: cannot retry PCM_OP_READ_OBJ, flags 0x400 - in a transaction - state=2
E Tue Jun 23 19:39:43 2009 machine01 cm:15779 fm_subscription_get_purchased_offerings.cpp:273
1:machine01:testnap:15776:1:3752:1245778783:3
op_subscription_get_purchased_offerings error
<location=PIN_ERRLOC_DM:4 class=PIN_ERRCLASS_APPLICATION:4 errno=PIN_ERR_NOT_FOUND:3>
<field num=PIN_FLD_POID:7,16 recid=0 reserved=30001 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Jun 23 19:39:43 2009 machine01 cm:15779 fm_subscription_get_purchased_offerings.cpp:164
1:machine01:testnap:15776:1:3752:1245778783:3
op_subscription_get_purchased_offerings error
<location=PIN_ERRLOC_DM:4 class=PIN_ERRCLASS_APPLICATION:4 errno=PIN_ERR_NOT_FOUND:3>
<field num=PIN_FLD_POID:7,16 recid=0 reserved=30001 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Jun 23 19:39:43 2009 machine01 cm:15779 fm_subscription_utils.cpp:966
1:machine01:testnap:15776:1:3752:1245778783:3
fm_subs_read_and_filter_instance_data error
<location=PIN_ERRLOC_DM:4 class=PIN_ERRCLASS_APPLICATION:4 errno=PIN_ERR_NOT_FOUND:3>
<field num=PIN_FLD_POID:7,16 recid=0 reserved=30001 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Jun 23 19:39:43 2009 machine01 cm:15779 fm_subscription_cycle_forward.c:1270
1:machine01:testnap:15776:1:3752:1245778783:3
op_subscription_cycle_forward error
<location=PIN_ERRLOC_DM:4 class=PIN_ERRCLASS_APPLICATION:4 errno=PIN_ERR_NOT_FOUND:3>
<field num=PIN_FLD_POID:7,16 recid=0 reserved=30001 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Jun 23 19:39:43 2009 machine01 cm:15779 fm_subscription_cancel_discount.cpp:759
1:machine01:testnap:15776:1:3752:1245778783:3
op_subscription_cancel_discount error

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