My Oracle Support Banner

PCM_OP_PYMT_COLLECTION Opcode Create Item Even When It Fails (Doc ID 1599346.1)

Last updated on AUGUST 10, 2018

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

On BRM 7.5 ,When attempting to do a payment refund through Payment Tool (by calling PCM_OP_PYMT_COLLECT), when an error occurs, the refund item was created even if the pymt_collect opcode was failed.

ACTUAL BEHAVIOR
----------------------
/item/refund was created even there was an error and it has changed account due.

EXPECTED BEHAVIOR
------------------------
All objects created by this opcode are rollbacked and leave customer due unchanged.


STEPS:
--------
1. Try to create a refund batch (with one refund) from Payment Tool for a custom pay type. Skip one of the mandatory fields that is mandatory for the refund
2. Submit the refund.
3. An error will occur, but the /item/refund was created even with the error.

Sample input flist for PCM_OP_PYMT_COLLECT:

op_pymt_collect input flist

# number of field entries allocated 20, used 5
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 1 0
0 PIN_FLD_PROGRAM_NAME STR [0] "Payment Tool"
0 PIN_FLD_DESCR STR [0] "Payment Batch:: Number of Refunds in Batch:1"
0 PIN_FLD_BATCH_INFO ARRAY [0] allocated 20, used 3
1 PIN_FLD_CURRENCY INT [0] 826
1 PIN_FLD_BATCH_TOTAL DECIMAL [0] 500.00
1 PIN_FLD_SUBMITTER_ID STR [0] "root.0.0.0.1"
0 PIN_FLD_CHARGES ARRAY [0] allocated 20, used 6
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 999060803 10
1 PIN_FLD_COMMAND ENUM [0] 0
1 PIN_FLD_PAY_TYPE ENUM [0] 10105
1 PIN_FLD_PAYMENT SUBSTRUCT [0] allocated 20, used 2
2 PIN_FLD_DESCR STR [0] ""
2 PIN_FLD_INHERITED_INFO SUBSTRUCT [0] allocated 20, used 1
3 PIN_FLD_DD_INFO ARRAY [0] allocated 20, used 1
4 PIN_FLD_AUTH_CODE STR [0] ""
1 PIN_FLD_CURRENCY INT [0] 826
1 PIN_FLD_AMOUNT DECIMAL [0] -500.00

 

 

Error Snippet:

-------

W Thu Aug  1 01:17:38 2013  cm:18962  cm_utils.c(135):1787 1::<no_name>:2600:6096:113:1377097889:118
CM DM->FM opcode PCM_OP_CREATE_OBJ, opflags=0x800100
# number of field entries allocated 20, used 2
0 PIN_FLD_POID           POID [0] 0.0.0.1 /event/billing/refund/vf_dd -1 0
0 PIN_FLD_ERR_BUF         ERR [0]
<location=PIN_ERRLOC_DM:4 class="PIN_ERRCLASS_SYSTEM_DETERMINATE":1 errno=PIN_ERR_MISSING_ARG:13>
<field num=PIN_FLD_DD_INFO:9,143 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>
E Thu Aug  1 01:17:38 2013    cm:18962  fm_utils.c:507 1::<no_name>:2600:6096:113:1377097889:118
fm_utils_create_alog error
<location=PIN_ERRLOC_DM:4 class="PIN_ERRCLASS_SYSTEM_DETERMINATE":1 errno=PIN_ERR_MISSING_ARG:13>
<field num=PIN_FLD_DD_INFO:9,143 recid=0 reserved=0 reserved2=0 time(sec:usec)=0:0>
<facility=0 msg_id=0 version=0>

  




Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.