OP_AR_BILL_ADJUSTMENT Does Not Return DESCR Field In Output Flist

(Doc ID 1493003.1)

Last updated on OCTOBER 22, 2012

Applies to:

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

Symptoms

Setup:

AIA 2.5

BRM 74 PS13

Here is how BRMARServiceresponse is sent back to AIA:

<Invoke_Bill_PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_OutputVariable>
 <part name="PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_outputFlist" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <brm:PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_outputFlist xmlns:brm="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes">
         <brm:POID>0.0.0.1 /bill 4917258305 0</brm:POID>
         <brm:RESULT>1</brm:RESULT>
         <brm:RESULTS elem="0">
             <brm:EVENT_OBJ>0.0.0.1 /event/billing/adjustment/item 272907587025892481 0</brm:EVENT_OBJ>
             <brm:POID>0.0.0.1 /item/cycle_arrear 4917257281 6</brm:POID>
         </brm:RESULTS>
     </brm:PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_outputFlist>
 </part>
</Invoke_Bill_PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_OutputVariable>

This is how it should be:

<Invoke_Bill_PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_OutputVariable>
 <part name="PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_outputFlist" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
     <brm:PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_outputFlist xmlns:brm="http://xmlns.oracle.com/BRM/schemas/BusinessOpcodes">
         <brm:DESCR>Success</brm:DESCR>                     ------------------> see this. Its not there in the previous response.
         <brm:POID>0.0.0.1 /bill 4917258305 0</brm:POID>
         <brm:RESULT>1</brm:RESULT>
         <brm:RESULTS elem="0">
             <brm:EVENT_OBJ>0.0.0.1 /event/billing/adjustment/item 272907587025892481 0</brm:EVENT_OBJ>
             <brm:POID>0.0.0.1 /item/cycle_arrear 4917257281 6</brm:POID>
         </brm:RESULTS>
     </brm:PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_outputFlist>
 </part>
</Invoke_Bill_PCM_OP_CUSTOM_AR_BILL_ADJUSTMENT_OutputVariable>

  

It seems that the DESCR field is not returned in the following two cases ( input flists specified ):

input flist 1
==========
      op_ar_bill_adjustment input flist
# number of field entries allocated 20, used 8
0 PIN_FLD_POID           POID [0] 0.0.0.1 /bill 1335322 5
0 PIN_FLD_AMOUNT       DECIMAL [0] 0
0 PIN_FLD_PROGRAM_NAME    STR [0] "Customer Center"
0 PIN_FLD_PERCENT      DECIMAL [0] -100.00
0 PIN_FLD_FLAGS           INT [0] 1
0 PIN_FLD_REASON_ID       INT [0] 1
0 PIN_FLD_REASON_DOMAIN_ID    INT [0] 23
0 PIN_FLD_DESCR           STR [0] "[Customer not satisfied with the service] qaz"

input flist 2
==========
#      op_ar_bill_adjustment input flist
# number of field entries allocated 20, used 8
 0 PIN_FLD_POID           POID [0] 0.0.0.1 /bill 1387363 4
 0 PIN_FLD_AMOUNT       DECIMAL [0] -85.00
 0 PIN_FLD_PROGRAM_NAME    STR [0] "Customer Center"
 0 PIN_FLD_PERCENT      DECIMAL [0] -100.00
 0 PIN_FLD_FLAGS           INT [0] 2
 0 PIN_FLD_DESCR           STR [0] "[Customer not satisfied with the service] qqqq"
 0 PIN_FLD_REASON_ID       INT [0] 1
 0 PIN_FLD_REASON_DOMAIN_ID    INT [0] 23

Steps to reproduce :

- create an account with any MCF product, say 15$
- pvt to billing date and execute billing
- bill B1-123 is produced for example, with due of 30$
- from balance tab of CC, select the bill and perform a Bill Adjustment --> Credit adjustment of 100%. This covers "input flist 1"
- notice the output flist :

       op_ar_bill_adjustment return flist
# number of field entries allocated 20, used 3
0 PIN_FLD_POID           POID [0] 0.0.0.1 /bill 1335322 5
0 PIN_FLD_RESULT         ENUM [0] 1
0 PIN_FLD_RESULTS       ARRAY [0] allocated 20, used 2
1     PIN_FLD_POID           POID [0] 0.0.0.1 /item/cycle_forward 1390370 1
1     PIN_FLD_EVENT_OBJ      POID [0] 0.0.0.1 /event/billing/adjustment/item 274033482015242319 0

- there is no DESCR field in the o/p flist

- now pvt to next billing date and execute billing for the same account
- bill B1-124 is produced for example, with due of 15$
- from testnap, execute opcode op_ar_bill_adjustment with below input flist ( this is the customers use case , see file "cm.pinlog.teste"). This covers "input flist 2"

 #      op_ar_bill_adjustment input flist
 # number of field entries allocated 20, used 8
  0 PIN_FLD_POID           POID [0] 0.0.0.1 /bill 1387363 4
  0 PIN_FLD_AMOUNT       DECIMAL [0] -85.00
  0 PIN_FLD_PROGRAM_NAME    STR [0] "Customer Center"
  0 PIN_FLD_PERCENT      DECIMAL [0] -100.00
  0 PIN_FLD_FLAGS           INT [0] 2
  0 PIN_FLD_DESCR           STR [0] "[Customer not satisfied with the service] qqqq"
  0 PIN_FLD_REASON_ID       INT [0] 1
  0 PIN_FLD_REASON_DOMAIN_ID    INT [0] 23

- the return flist will be same as shown previously, that is, without DESCR field.

-  now pvt to next billing date and execute billing
-  bill B1-125 is produced for example, with 15$ due
-  from balance tab of CC, perform Bill adjustment of 10% credit for example
-  notice the output flist , it has the DESCR field :

# number of field entries allocated 20, used 4
0 PIN_FLD_POID           POID [0] 0.0.0.1 /bill 1372533 4
0 PIN_FLD_RESULTS       ARRAY [0] allocated 20, used 2
1     PIN_FLD_POID           POID [0] 0.0.0.1 /item/cycle_forward 1373429 3
1     PIN_FLD_EVENT_OBJ      POID [0] 0.0.0.1 /event/billing/adjustment/item 274033482015243055 0
0 PIN_FLD_RESULT         ENUM [0] 1
0 PIN_FLD_DESCR           STR [0] "Success"

-  the above flist is just to show that the DESCR field is returned in other situations

 

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