My Oracle Support Banner

BI Publisher: xdoxslt:toCheckNumber/to_check_number is outputting incorrectly for specific numbers. (Doc ID 2488814.1)

Last updated on FEBRUARY 08, 2019

Applies to:

BI Publisher (formerly XML Publisher) - Version 12.0 and later
Information in this document applies to any platform.

Symptoms

On : 12.0 version, Designing Layout Templates

ACTUAL BEHAVIOR
---------------
When a user inputs a value of '4052' into the RTF Template which makes use of function 'xdoxsIt:toCheckNumber', the value will execute incorrectly, or as relayed in the example, as a negative value.

EXPECTED BEHAVIOR
-----------------------
Use of any value, using function 'xdoxsIt:toCheckNumber', should result in the numeric value being written out correctly, and for the numeric amount expected.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Open and login to BI Publisher application
2. Attempt to use RTF Template that makes use of function 'xdoxsIt:toCheckNumber', which writes out check amounts
3. Note that when the value '4052' is used, the amount will be a negative number ,such as '-85,100.00'.

Other variations:
If the value begins with a 2-, 40, or 60 AND ends with a 2 before the decimal it doesn't work. All other scenarios seem to work. So 4052, 2002, and 6062 for example won't work. 4053, 2102 or 7062 do work. There may be possible variants as well.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users are not able to use the specific value of '4052' in their RTF Template

Changes

 

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
Changes
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.