HsGetValue

数据源:Financial Management、Essbase、Planning;Hyperion Enterprise(仅限专用连接)

HsGetValue 在数据源中检索维的选定成员的数据。

当 HsGetValue 未检索到数据时,将使用为 #NoData/Missing 标签替换选项指定的值(请参阅表 12)。

当用户选择“刷新”或“全部刷新”时,将仅调用 HsGetValue。当用户选择“提交”时,将首先调用 HsSetValue,然后只有在 HsSetValue 成功返回时才会调用 HsGetValue。

语法

专用连接:

      HsGetValue("
      PrivateConnectionName
      ","
      POV
      ")

   

共享连接:

      HsGetValue("WSFN|
      ProviderType
      |
      Server
      |
      Application
      |
      Database
      ","
      POV
      ")

   

示例

在本例中,HsGetValue 将从 HFM01 应用程序中返回默认 POV 的值。

专用连接:

      HsGetValue("HFM01";"Scenario#Actual;Year#2004;Period#July;View#YTD;
Entity#UnitedStates.Connecticut;Value#USD;Account#Sales;ICP#[ICP 
None];Custom1#GolfBalls;Custom2#Customer2;Custom3#[None];
Custom4#Increases")
   

共享连接:

      HsGetValue("WSFN|HFM|hfm_svr|HFM01|HFM01”;"Scenario#Actual;Year#2004;Period#July;
View#YTD;Entity#UnitedStates.Connecticut;Value#USD;Account#Sales;ICP#[ICP 
None];Custom1#GolfBalls;Custom2#Customer2;Custom3#[None];Custom4#Increases")