My Oracle Support Banner

Error Message Displayed Without the Message Description on Bill Generation (Doc ID 2607438.1)

Last updated on NOVEMBER 08, 2019

Applies to:

Oracle Financial Services Revenue Management and Billing - Version 2.6.0.1.0 and later
Information in this document applies to any platform.

Symptoms

On RMB v2.6.0.1.0, Error message displayed without the message description on bill generation.

STEPS:
------------
The issue can be reproduced at will with the following steps:
1) Create Person, Account and contract
2) Add Billable charge
3) Add the split bill algorithm on contract type and create a bill

ACTUAL BEHAVIOR
-----------------------------
Configured Algorithm on the Contract Type to validate and to throw error if there is no product code on the billable charge.

Following custom code has been added for ERROR MESSAGE to be displayed:

public void invoke() {
  if(notNull(billableCharge_Id)){
  BillableCharge billableCharge = billableCharge_Id.getEntity();
  if(notNull(billableCharge) && isNull(billableCharge.getPriceItemCodeId())){
  createToDo(billId);

  addError(CustomMessages.getServerMessage(CustomMessages.GENERIC_MESSAGE, "No
Product Found for BillableChargeId: " + billableCharge_Id.getIdValue()));
  }
  }
  }

However when Generate Bill, algorithm throws the error with blank message, not the message it supposed to display.

EXPECTED BEHAVIOR
-----------------------------------
The Error Message should be "No Product Found for BillableChargeId: "billableCharge_Id", not a blank message. Error encountered in the Algorithm should be handled properly and the error message should be displayed accordingly.

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.