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

MOSC Banner

FDMEE Import Script Function round(float(strField),0) Returns Incorrect Value (Doc ID 2106083.1)

edited Apr 3, 2019 7:45AM in Hyperion Financial Data Quality Management (FDM/FDMEE) (MOSC) 5 commentsAnswered ✓

Hi all

I wanted to introduce a rounding in a FDMEE EPM to EPM (HFM to HFM) transfer and have applied the script below which I found on the Knowledge base on the Doc ID 2106083.1:

import java.math.BigDecimal

     def rounding(strField, strRecord) :

     strField = BigDecimal (strField) .setScale (0, BidDecimal.ROUND_HALF_UP)

     return strField

However when I applied this script, it throws a Syntax Error:  ("mismatched input " expecting EOF ('<string>' 11,  1,  'def rounding(strField, strRecord) : \n'))

Is there anybody who experienced something similar?

Note that when I apply the "normal" round script (which rounds amounts wrongly when there are more than 12 digits before the decimal place) then the import runs through without any issues (apart the 12 digit issue).

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