Pricing Attribute Mapping Function Returns a Wrong Value When Using the European Numeric Format ".,"
Last updated on MARCH 08, 2017
Applies to:Oracle Order Management - Version 12.1.3 and later
Information in this document applies to any platform.
QP Pricing Attribute mapping function returns wrong value du to simple change of numeric character format in user preference 10.000,00
When apply format 10,000.00 in user preference, the API returns the right value but this is not the client format. The needed format is 10.000,00
We changed the ICX profile options and tested with different value but still get the same issue.
Hen we changed NLS database to FRANCE as territory and French as langue and ‘,.’ As numeric format, the same application with ICX profiles, but still the same issue.
The attribute mapping we tested is simple:
Enter value in Sales Order attribute1 like 5,000001 (this mean 5% for user value set is 7 decimal character)
The function should return this value divided by 100
So the expected result is 0,05
But we get instead 50.000.001,00
We modified the SQL function used in the pricing attribute mapping, we set the variable type as varchar2 in US format (to_char(V_HUM_REEL, '90D9999999', 'NLS_NUMERIC_CHARACTERS=''.,''') rather than number type then it gives the right value in Sales Order unit price.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms