Getting An Error While Posting The Payment Having PIN_FLD_CURRENCY In The Input Flist (Doc ID 757020.1)

Last updated on SEPTEMBER 26, 2016

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.
Checked for relevance on 04-Oct-2010
Checked for relevance on 12-Apr-2012
Checked for relevance on 22-Jul-2014


Symptoms

-- Problem Statement:

PCM_OP_PYMT_COLLECT opcode fails when PIN_FLD_CURRENCY is passed in the input flist. It is picking the conversion rates from the  /config/currency/conversion_rates object and it is failing while trying to create an event. 

--Steps to reproduce

Create a price plan in USD Currency and try to make a payment in some other currency (say in this case is PIN_FLD_CURRENCY 250) using PCM_OP_PYMT_COLLECT, it's failing.

--Flist

nap(15237)> d 1 
# number of field entries allocated 20, used 5 
0 PIN_FLD_POID           POID [0] 0.0.0.1 /account 211103 0 
0 PIN_FLD_PROGRAM_NAME    STR [0] "pymt" 
0 PIN_FLD_DESCR           STR [0] "pymt thru testnap" 
0 PIN_FLD_CHARGES       ARRAY [0] allocated 20, used 8 
1     PIN_FLD_BILLINFO_OBJ   POID [0] 0.0.0.1 /billinfo 209567 6 
1     PIN_FLD_AMOUNT       DECIMAL [0] 40 
1     PIN_FLD_ACCOUNT_OBJ    POID [0] 0.0.0.1 /account 211103 0 
1     PIN_FLD_ACTG_TYPE      ENUM [0] 2 
1     PIN_FLD_COMMAND        ENUM [0] 0 
1     PIN_FLD_CURRENCY        INT [0] 250 
1     PIN_FLD_PAY_TYPE       ENUM [0] 10011 
1     PIN_FLD_PAYMENT      SUBSTRUCT [0] allocated 20, used 1 
2         PIN_FLD_DESCR           STR [0] "" 
0 PIN_FLD_BATCH_INFO    ARRAY [0] allocated 20, used 2 
1     PIN_FLD_BATCH_TOTAL  DECIMAL [0] 40 
1     PIN_FLD_SUBMITTER_ID    STR [0] "root.0.0.0.1" 

nap(15237)> 
nap(15237)> xop PCM_OP_PYMT_COLLECT  o 1 
xop: opcode 113, flags 0 
# number of field entries allocated 20, used 2 
0 PIN_FLD_POID           POID [0] 0.0.0.1 /account 211103 0 
0 PIN_FLD_RESULTS       ARRAY [0] allocated 20, used 7 
1     PIN_FLD_ACCOUNT_OBJ    POID [0] 0.0.0.1 /account 211103 0 
1     PIN_FLD_RESULT         ENUM [0] 0 
1     PIN_FLD_TYPE           ENUM [0] 0 
1     PIN_FLD_DESCR           STR [0] "service unavailable" 
1     PIN_FLD_SELECT_RESULT    INT [0] 0 
1     PIN_FLD_SELECT_STATUS    INT [0] 4 
1     PIN_FLD_ITEM_NO         STR [0] "P1-2"

 

--cm.pinlog

D Tue Dec 8 17:16:22 2009 machine1 cm:15240 pcm.c(54):862 1:machine1:testnap:15237:1:113:1223289177:3
pcm_op: cannot retry PCM_OP_CREATE_OBJ, flags 0x0 - in a transaction - state=2
E Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_utils.c:478 1:machine1:testnap:15237:1:113:1223289177:3
fm_utils_create_alog error
<location=PIN_ERRLOC_DM:4 class="UNKNOWN":0 errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_PAYMENT:10,899 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_utils.c:560 1:machine1:testnap:15237:1:113:1223289177:3
fm_utils_add_result error
<location=PIN_ERRLOC_DM:4 class="UNKNOWN":0 errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_PAYMENT:10,899 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_utils.c:619 1:machine1:testnap:15237:1:113:1223289177:3
fm_utils_create_result error
<location=PIN_ERRLOC_DM:4 class="UNKNOWN":0 errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_PAYMENT:10,899 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_bill_record_event.c:342 1:machine1:testnap:15237:1:113:1223289177:3
fm_bill_record_event error
<location=PIN_ERRLOC_DM:4 class="UNKNOWN":0 errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_PAYMENT:10,899 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_bill_record_event.c:107 1:machine1:testnap:15237:1:113:1223289177:3
op_bill error while recording event
<location=PIN_ERRLOC_DM:4 class="UNKNOWN":0 errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_PAYMENT:10,899 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_act_usage.c:1703 1:machine1:testnap:15237:1:113:1223289177:3
fm_act_event_record error
<location=PIN_ERRLOC_DM:4 class="UNKNOWN":0 errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_PAYMENT:10,899 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
D Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_act_usage.c:683 1:machine1:testnap:15237:1:113:1223289177:3
r_flistp after adding rating info :
NULL flist ptr
E Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_act_usage.c:798 1:machine1:testnap:15237:1:113:1223289177:3
op_act_usage error
<location=PIN_ERRLOC_DM:4 class="UNKNOWN":0 errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_PAYMENT:10,899 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Tue Dec 8 17:16:22 2009 machine1 cm:15240 fm_bill_rcv_payment.c:631 1:machine1:testnap:15237:1:113:1223289177:3
op_bill_rcv_payment error
<location=PIN_ERRLOC_DM:4 class="UNKNOWN":0 errno=PIN_ERR_BAD_ARG:4>
<field num=PIN_FLD_PAYMENT:10,899 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