LoginSignup
0
0

More than 1 year has passed since last update.

商談商品にあるステータスの割合を表示する ロールアップサマリーフィールドの活用

Posted at

元の質問Opportunity Status based on Product Status?

商談商品のステータスが完了のものの割合を表示したいらしい。

こんな感じになったらいいのかな?
image.png

さて、とりあえず商談オブジェクトに2つの ロールアップサマリーフィールドを作ります。

1つは商談商品の全件数 (OppLine Count)

image.png

もう一つはステータスが完了になった商談商品の件数 (Status completed)

image.png

最終的にはこの2つのフィールドを使った数式フィールドを作ります。(Rate)

IF(  OppLine_Count__c = 0, 0 ,   Status_completed__c / OppLine_Count__c )

関連リストの表示項目を変更したかったのですが、Opportunity (Sales) Layoutに変更する必要がありました。
Allは意味なし。
image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0