Hyperion Financial Data Quality Management (FDM/FDMEE) (MOSC)

MOSC Banner

FDMEE amount issue - disregarding comma (as decimal separator)

Hello

I have a strange problem with importing a file using FDMEE. The import script is supposed to strip the amount for all except numbers and decimal separator. The script is simple:

def SAPPRO_D1_Amount(strfield, strrec):

   import re

   return float(re.sub("[^0-9^\,]", "", strfield).replace(",","."))/1000

But when the amount is returned the decimal separator is ignored, hence for example the amount: "829 441,46" is returned as 82,944.146  (it should have been 829.44146).

Any suggestions? Anybody experiencing the same issue?

To make it more strange I have performed the same script populating DESC1 column - and this works fine

def test(strfield, strrec):

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center