ReIM Reimediinvupload Incorrect Number Value (Non Merch) (Doc ID 2285250.1)

Last updated on JULY 17, 2017

Applies to:

Oracle Retail Invoice Matching - Version 14.0.1 to 14.0.4 [Release 14.0]
Information in this document applies to any platform.

Symptoms

ReIM reimediinvupload Incorrect Number Value (Non Merch)
When reimediinvupload process an amount < $1 (e.g., non-merch amount), the amount loaded does not correctly take into account the precision of the field.
The code in com.retek.reim.batch.BatchUtils appears to incorrectly handle the case when the number length is less than the precision (4):

Examples for number (with precision = 4):

1 => 1 (WRONG - should be 0.0001)
16 => 16 ( WRONG- should be 0.0016)
160 => 160 (WRONG - should be 0.0160)
1600 => .16 (RIGHT)
16000 => 1.6000 (RIGHT)

Changes

 

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