PlanningAnnotations

PlanningAnnotationsは、Planningデータベース接続からセルのPlanningUnitに関連付けられた重要なノートやコメントを取得するテキスト関数です。プランニング・ユニットは、シナリオ、バージョンおよびエンティティの組合せで、グリッド内のセル参照を使用してFinancial Reportingで導出されます。

構文:

<<PlanningAnnotations("GridName", Row, Column, Page, Attributes, Range)>>

<<PlanningAnnotations("GridName", Row, Column, Page, Attributes)>>

引数 説明

GridName

(必須)グリッドの名前。

Row

(必須)グリッドの行番号を表す数値。グリッド内の最初の行のインデックスは1、2番目の行のインデックスは2、これ以降同様に続きます。

Column

(必須)グリッドの列を示す文字。グリッド内の最初の列がインデックスA、2番目の列がインデックスB、以降、順番に続きます。

Page

(必須)グリッドのすべてのページ・ディメンションのメンバーの組合せのインデックスを表す数値。グリッド内の最初のページ・ディメンションにおける組合せのインデックスは1、2番目のページ・ディメンションにおける組合せのインデックスは2、以降、同様に続きます。

Attributes

All、Title、Author、Date、Text、PlanningUnitのいずれかの値。(PlanningUnitは、シナリオ、バージョンおよびエンティティの組合せで、GridNameRowColumnおよびPageから派生します。)

出力の優先順序で属性を調整し、各属性をアンパサンド(&)で区切ります。

Range

All、TopまたはBottomキーワードを使用して、出力の先頭または末尾からの特定の数の注釈、あるいはすべての注釈を選択します。

  • Allは、すべての注釈を戻します

  • Top 5は、先頭の5個の注釈を戻します

  • Bottom 10は、末尾の10個の注釈を戻します

  • Bottom 1は、最後の注釈を戻します

例1:

"All"がRangeパラメータの前提とされています。

<<PlanningAnnotations("Grid Name", 1,a,1,All, All)>>
<<PlanningAnnotations("Grid Name", 100,AB,10,All, All)>>
<<PlanningAnnotations(cur, cur,a,cur,Text & Title & Author, Top 5)>>
<<PlanningAnnotations(cur, 315, AB, 255, Text&Title&Author, Top 5)>>
<<PlanningAnnotations(cur, cur A, Cur, PlanningUnit, Top 5)>>
<<PlanningAnnotations(cur, 123, ABC, 101, PlanningUnit, Top5)>>
<<PlanningAnnotations(Grid1, 1, current, cur, Title & Text, Bottom 10)>>
<<PlanningAnnotations(Grid1, 105, ABC, cur, Title & Text, Bottom 10)>>
<<PlanningAnnotations(Current, 34, BB, cur, All, Top 40)>>
<<PlanningAnnotations(cur, cur, A cur, Text & Title & Author, Top 5)>>
<<PlanningAnnotations(cur, cur, A, cur, Text&Title&Author, bottom15)>>
<<PlanningAnnotations(cur, 1(3), A(B), cur, Title&Author&Date&Text, All)>>
<<PlanningAnnotations(cur, 1(3), A(B), cur, Title&Author&Date&Text, All)>>

例2:

現在のページのグリッドの行1、列Aの注釈テキストを取得します。最後の3個の注釈、およびタイトル、作成者、日付、テキスト、およびプランニング・ユニットなどのその注釈に関連付けられたすべての属性を表示します。

テキスト・セルで次の構文を使用します。

<<PlanningAnnotations(Current, 1, A, Current, All, Bottom 3)

注釈は、日付を基準として降順で戻されます(上から新しい日付の順に並びます)。出力される注釈のテキストは、次のようになります。

Title: Status - Under Review

Author: John Smith

Date: Mar 25, 2003 10:32:49 AM

Planning Unit: Budget, 1st Draft, East

Text: Please review and approve

— — — — — — — — — — — — — — — — —

Title: Status - Not Signed Off

Author: Mary Brown

Date: Mar 21, 2003 2:59:11 PM

Planning Unit: Budget, 1st Draft, West

Text: Sorry, Try Again

— — — — — — — — — — — — — — — — —

Title: Status - Under Review

Author: Admin

Date: Mar 21, 2003 2:54:16 PM

Planning Unit: Budget, 1st Draft, South

Text: Please review and approve budget for 1st draft

注:

PlanningAnnotationsは、テキスト・ボックス・オブジェクト、ヘッダー、フッターなどではなくグリッド・セル内で使用された場合は、Currentキーワードのみをサポートします。テキスト関数でのCurrent/Curキーワードの使用を参照してください。