Forum Stats

  • 3,840,090 Users
  • 2,262,565 Discussions
  • 7,901,149 Comments

Discussions

Jython HFM API

Mikkis
Mikkis Member Posts: 223 Blue Ribbon
edited Jan 23, 2020 5:35PM in Financial Data Management

Hi

I wrote simple code in FDMEE jython using HFM API to read hfm data cell (plan is to ultimately get the review level and history info at some point) and managed to get the result as expected but couldn't figure out a way to read just value. Below is my code that reads data using DataOM class

# Read the data

dataOM = DataOM(hfmsession)

povs = []

povs.append(pov)

result = []

result.append(dataOM.getCellsInfo(povs))

fdmAPI.logInfo(str(result))

the result I am getting is below.

[[CellInfo(processUnit:Actual,2020,Jan,America,USD, povDetail:NetEarn,[ICP None],AllCustom1,AllCustom2,AllCustom3,AllCustom4, view:YTD, processGroup:3, processPhase:3, cellStatus:537305088, processFlowState:PROCESS_FLOW_STATE_FIRST_PASS, displayedData:-10,000, fullResData:-10,000.00000, storedData:-10000.00000, accountCalcAttr: , defaultNumDecPlaces:0, defaultScale:0, errorDetail:)]]

How do I read just the Stored Data, for example, from above array using Jython?

Thanks in advance

Mikki

Tagged:

Answers