Smart View関数HsSetTextについて説明します。
データ・ソース・タイプ: Oracle Hyperion Financial Management
説明
HsSetTextは、セル・テキストをデータ・ソースに送信します。すべてのディメンション・メンバー、セル参照、デフォルトのPOVを使用できます。また、これらすべてを組み合せて使用することもできます。
注:
セル・テキストを保存するには、「データの送信」をクリックする必要があります。
構文
プライベート接続:
HsSetText("CellTextComments","PrivateConnectionName","POV","CellTextLabel")
共有接続:
HsSetText("CellTextComments","WSFN|ProviderType|Server|Application|Database","POV","CellTextLabel")
URL接続:
HsSetText("CellTextComments","URLFN|URL|Server|Application|Database","POV","CellTextLabel")
構文情報の詳細は、関数の手動作成を参照してください。
例
次の例では、HsSetTextでセルH3からHFM01アプリケーションにテキストを送信します。
プライベート接続:
HsSetText("H3","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")
共有接続:
HsSetText("H3","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接続:
HsSetText("H3","URLFN|https://<servername:port>/hfmadf/../hfmofficeprovider/OfficeProvider|<servername:port>|<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")