PCM_OP_CUST_SET_STATUS To Close An Account Errors Out With PIN_ERR_NOT_FOUND (Doc ID 796255.1)

Last updated on SEPTEMBER 26, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.1.0.0 and later
Information in this document applies to any platform.
***Checked for relevance on 21-May-2013***

Symptoms

When the PCM_OP_CUST_SET_STATUS is called to close an account, it errors out with the following
error in cm.pinlog:

W Tue Jan 20 12:17:35 2009 xxx.com cm:15556 cm_utils.c(115):1621
1:<machine>:<program>:0:0:0:0:0
   CM DM->FM opcode PCM_OP_READ_OBJ, opflags=0x400
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.1 /purchased_product 194744598 1
0 PIN_FLD_ERR_BUF ERR [0]
   <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>



dm_oracle.pinlog shows

W Tue Jan 20 12:17:35 2009 xxx.com dm:10715 dm_do_ops.c(73):2371
1:<machine>:<program>:0:0:0:0:0
   NOTICE OP_ROBJ: do_sql_select() NOTHING FOUND ("/purchased_product", 194744598)
D Tue Jan 20 12:17:35 2009 xxx.com dm:10715 dm_if_oracle.c(110):5477
1:<machine>:<program>:0:0:0:0:0
   End of opcode PCM_OP_READ_OBJ
D Tue Jan 20 12:17:35 2009 xxx.com dm:10715 dm_if_oracle.c(110):5479
1:<machine>:<program>:0:0:0:0:0
   audsession-id: 7097; Time taken by PCM_OP_READ_OBJ = 3.005981 milliseconds
E Tue Jan 20 12:17:35 2009 xxx.com dm:10715 dm_back.c(25):1389
1:<machine>:<program>:0:0:0:0:0
   DMbe #0: process_op: op 3, err 3


But when using testnap to read the same /purchased_product using the same opcode flag 1024
(0x400), it can be retrieved.

nap(15513)> xop PCM_OP_READ_OBJ 1024 1
xop: opcode 3, flags 1024
# number of field entries allocated 45, used 44
0 PIN_FLD_POID POID [0] 0.0.0.1 /purchased_product 194744598 1
0 PIN_FLD_CREATED_T TSTAMP [0] (1232037528) Thu Jan 15 16:38:48 2009
0 PIN_FLD_MOD_T TSTAMP [0] (1232037528) Thu Jan 15 16:38:48 2009
0 PIN_FLD_READ_ACCESS STR [0] "L"
0 PIN_FLD_WRITE_ACCESS STR [0] "L"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 194745062 9
...


-- Steps To Reproduce:
1) Create an account and purchase a plan
2) Forward the pin_virtual_time a few days
3) Attempt to close the account


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