Prices From Pricelist Truncated When French Locale Used (Doc ID 1372987.1)

Last updated on SEPTEMBER 24, 2016

Applies to:

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

Symptoms

When loading the priceList via the WeberviceManager, the prices are truncated when converting the xml pricelist into pcm java objects.
The java code is using a library (ws.jar) created from classes contains in the OOTB infranetwebsvc.war.

Here is the sample java code used :

// this log of xml pricelist we can see the prices with correct double precision
logWS.info("<processOOBOpCode><result>\n" + opCodeRes + "</result></processOOBOpCode>");

// Here we are using the class in ws.jar
BRMXMLToFlist util = BRMXMLToFlist.getInstance(opCode.getOpcodeName() + "_outputFlist");
StringReader sr = new StringReader(opCodeRes);
util.convert(new InputSource(sr));
result = util.getFList();

// this log of the java flist the prices have lost the double precision
logWS.info("<processOOBOpCode><result>\n" + result.asString() + "</result></processOOBOpCode>");

The issue only occurs when locale are set to French.
To reproduce the problem on Windows environment, you have to modify in "config panel "/ "regional options" / "Standards and formats" / list of language has to be set to "French (France)".

When the locale is English, it works fine.

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