Adjustment Failures Not Showing Proper Error Message In Customer Center (Doc ID 1673043.1)

Last updated on MAY 30, 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

On :  BRM 7.5.0.4.0 version, Customer Center

While performing adjustments using Customer Center (CC), when there is a custom error as per policy file, CC does not show the expected error message, instead it show generic error message for most of cases, like "Error Occured. Please refer log file for details"
 

GUI error :

       "Error Occured. Please refer log file for details"


Test Scenario:

Below is a detailed test scenario to verify this issue:

  1. cd $PIN_HOME/source/sys/fm_bill_pol/
  2. vi fm_bill_pol_valid_adjustment.c

    Add below mentioned lines (Just to set custom error message) in the end just before Results section :

           pin_set_err(ebufp, PIN_ERRLOC_FM, PIN_ERRCLASS_SYSTEM_DETERMINATE,PIN_ERR_BAD_VALUE, 0, 0, 0);
           PIN_ERR_LOG_EBUF(PIN_ERR_LEVEL_ERROR, "Custom Error from adjustment policy", ebufp);

  3. vi fm_bill_pol_config.c  and un-comment the above mentioned policy :

    { PCM_OP_BILL_POL_VALID_ADJUSTMENT, "op_bill_pol_valid_adjustment" },

  4. run below commands :
    make clean
    make build
    stop cm

    4a) copied the resultant fm-bill_pol_custom.so to lib folder
    4b) added an entry in cm pin conf right after the original entry for fm_bill_pol :
    - cm fm_module ${PIN_HOME}/lib/fm_bill_pol_custom${LIBRARYEXTENSION} fm_bill_pol_custom_config fm_bill_pol_init pin.
  5. start cm
  6. Open Customer Center--> open any existing account --> browse any existing bill --> and provide item level adjustment..
  7. cm.pinlog will show custom error message but customer center will display as below:
               "Error Occured. Please refer log files for more details"
  8. cm pinlog snippet:
     
  9. notice in above snippet that message id is correct in output of "op_ar_item_adjustment error" but see that  "op_ar_item_adjustment return flist"  contains a different DESCR for the return error message, looks like a hard coded message.


Expected result:

In step 6 and 9 , CC should display the custom error message.



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