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 and later
Information in this document applies to any platform.


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

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

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() {
  BillableCharge billableCharge = billableCharge_Id.getEntity();
  if(notNull(billableCharge) && isNull(billableCharge.getPriceItemCodeId())){

  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.

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.


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

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