適用於:Planning、Planning 模組、Financial Consolidation and Close、Tax Reporting、Oracle Essbase
描述
HsSetValue 會將工作表中的資料值傳送到檢視點 (POV) 之已選取維度成員的資料來源。在 HsSetValue 中,屬性維度和成員並不受支援。
若要傳送資料至資料來源,您必須要具有適當的載入規則以及資料來源的寫入存取權。
範例 17-3 基本範例
在此範例中,HsSetValue 會將值 123 傳送給 Vision 應用程式 (以 MyVision 連線名稱代表)。
=HSSETVALUE(123, "MyVision","Account#7110: Advertising","Period#x---------x","HSP_View#BaseData","Year#FY19","Scenario#Forecast","Version#Driver","Entity#International Sales","Product#No Product")
範例 17-4 使用文字的範例
在 HsSetValue 的 value
參數中使用文字時,必須使用引號。
HsSetValue("Enter Some Text", "MyVision","Account#7110: Advertising","Period#Jun","HSP_View#BaseData","Year#FY16","Scenario#Plan","Version#Commentary","Entity#International Sales","Product#No Product")