Payinfo Issue For Incorrect Account Poid In BRM (Doc ID 1908058.1)

Last updated on AUGUST 07, 2014

Applies to:

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

Symptoms

The user was trying to create a /payinfo/invoice type using opcocde PCM_OP_CUST_SET_PAYINFO, with incorrect account poid and incorrect billinfo poid. It throwed error which is fine, but it still created /payinfo/invoice object in BRM database.

Below are the steps to reproduce the issue:

1. Create an Account
2. Run the opcode PCM_OP_CUST_SET_PAYINFO with the flist as below:

# number of field entries allocated 20, used 5
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 5678 0
0 PIN_FLD_BILLINFO_OBJ POID [0] 0.0.0.1 /billinfo 1234 0
0 PIN_FLD_INV_FLAGS INT [0] 1
0 PIN_FLD_PROGRAM_NAME STR [0] "DM_04/23/2014"
0 PIN_FLD_PAYINFO ARRAY [1] allocated 20, used 3
1     PIN_FLD_POID POID [0] 0.0.0.1 /payinfo/invoice -1 0
1     PIN_FLD_INHERITED_INFO SUBSTRUCT [0] allocated 20, used 1
2         PIN_FLD_INV_INFO ARRAY [0] allocated 20, used 1
3             PIN_FLD_INV_TERMS ENUM [0] 0
1     PIN_FLD_PAY_TYPE ENUM [0] 1
nap(4442)> r create_payinfo 1
nap(4442)> xop PCM_OP_CUST_SET_PAYINFO 0 1
xop: opcode 77, flags 0
XOP "77" failed: err 3:PIN_ERR_NOT_FOUND, field 0/0:0,
  loc 4:PIN_ERRLOC_DM, errclass 0:UNKNOWN, rec_id 0, resvd 0
# number of field entries allocated 20, used 11
0 PIN_FLD_POID POID [0] 0.0.0.1 /payinfo -1 0
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 5678 0
0 PIN_FLD_INVOICE_OBJ POID [0] 0.0.0.1 /invoice -1 0
0 PIN_FLD_PAYMENT_TERM ENUM [0] 0
0 PIN_FLD_PAYMENT_OFFSET INT [0] -1
0 PIN_FLD_RELATIVE_DUE_T TSTAMP [0] (2592000) Sat Jan 31 00:00:00 1970
0 PIN_FLD_DUE_DOM INT [0] 0
0 PIN_FLD_NAME STR [0] "PIN Payinfo Object"
0 PIN_FLD_INV_TYPE ENUM [0] 0
0 PIN_FLD_RESULTS ARRAY [0] allocated 20, used 1
1     PIN_FLD_POID POID [0] 0.0.0.1 /payinfo 2326244 0
0 PIN_FLD_ERR_BUF ERR [0]

  3. Check the object that has been created:

nap(4442)> robj - $DB /payinfo 2326244
# number of field entries allocated 20, used 14
0 PIN_FLD_POID POID [0] 0.0.0.1 /payinfo 2326244 0
0 PIN_FLD_CREATED_T TSTAMP [0] (1411601760) Wed Sep 24 23:36:00 2014
0 PIN_FLD_MOD_T TSTAMP [0] (1411601760) Wed Sep 24 23:36:00 2014
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 5678 0
0 PIN_FLD_ACH INT [0] 0
0 PIN_FLD_DUE_DOM INT [0] 0
0 PIN_FLD_INVOICE_OBJ POID [0] 0.0.0.1 /invoice -1 0
0 PIN_FLD_INV_TYPE ENUM [0] 0
0 PIN_FLD_NAME STR [0] "PIN Payinfo Object"
0 PIN_FLD_PAYMENT_OFFSET INT [0] -1
0 PIN_FLD_PAYMENT_TERM ENUM [0] 0
0 PIN_FLD_RELATIVE_DUE_T TSTAMP [0] (2592000) Sat Jan 31 00:00:00 1970

4. Check the return flist in cm.pinlog:

D Wed Sep 24 23:36:02 2014 cepinsol2.us.oracle.com cm:4445 fm_cust_payinfo.cpp:261 1:cepinsol2.us.oracle.com:testnap:4442:1:77:1399369760:1
  op_cust_set_payinfo return flist
# number of field entries allocated 20, used 10
0 PIN_FLD_POID POID [0] 0.0.0.1 /payinfo -1 0
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 5678 0
0 PIN_FLD_INVOICE_OBJ POID [0] 0.0.0.1 /invoice -1 0
0 PIN_FLD_PAYMENT_TERM ENUM [0] 0
0 PIN_FLD_PAYMENT_OFFSET INT [0] -1
0 PIN_FLD_RELATIVE_DUE_T TSTAMP [0] (2592000) Sat Jan 31 00:00:00 1970
0 PIN_FLD_DUE_DOM INT [0] 0
0 PIN_FLD_NAME STR [0] "PIN Payinfo Object"
0 PIN_FLD_INV_TYPE ENUM [0] 0
0 PIN_FLD_RESULTS ARRAY [0] allocated 20, used 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