Smart View関数HsGetTextについて説明します。
データ・ソース・タイプ: Oracle Hyperion Financial Management
説明
HsGetTextは、ディメンション・メンバー、セル参照、デフォルトのPOV、またはこれら3つの組合せのデータ・ソースからセル・テキストを取得します。
注:
セル・テキストを取得するには、「リフレッシュ」をクリックする必要があります。
構文
プライベート接続:
HsGetText ("PrivateConnectionName","POV","CellTextLabel")
共有接続:
HsGetText ("WSFN|ProviderType|Server|Application|Database","POV","CellTextLabel")
URL接続:
HsGetText ("URLFN|URL|Server|Application|Database","POV","CellTextLabel")
構文情報の詳細は、関数の手動作成を参照してください。
例
次の例では、HsGetText関数でデフォルトのPOVに関してHFM01データ・ソースからセル・テキストを戻します。
プライベート接続:
HsGetText("HFM01","Scenario#Actual;Year#2004;Period#"&B$2&";View# <Scenario View>;Entity#UnitedStates.Connecticut;Value#<Entity Currency>;Account#"&$A3&";ICP#[ICP None];Custom1#GolfBalls;Custom2#Customer2;Custom3#[None],Custom4# Increases")
共有接続:
HsGetText("WSFN|HFM|hfm_svr|HFM01|HFM01","Scenario#Actual;Year#2004;Period#"&B$2&";View# <Scenario View>;Entity#UnitedStates.Connecticut;Value#<Entity Currency>;Account#"&$A3&";ICP#[ICP None];Custom1#GolfBalls;Custom2#Customer2;Custom3#[None],Custom4# Increases")
URL接続:
HsGetText("URLFN|https://<servername:port>/hfmadf/../hfmofficeprovider/OfficeProvider|<servername:port>|HFM01|HFM01","Scenario#Actual;Year#2004;Period#"&B$2&";View# <Scenario View>;Entity#UnitedStates.Connecticut;Value#<Entity Currency>;Account#"&$A3&";ICP#[ICP None];Custom1#GolfBalls;Custom2#Customer2;Custom3#[None],Custom4#Increases")