商談フェーズの完了後に入力規則を使用して商談商品をロックするにはどうすればよいですか?
メモ: このソリューションでは、積み上げ集計項目 1 つと入力規則 2 つ (商談に 1 つ、商談商品に 1 つ) を作成します。
ビジネスケース:
営業マネージャーは、完了したすべての商談の商談品目を変更できないようにしたいと考えています。 積み上げ集計項目 1 つと入力規則 2 つを追加することで、営業マネージャーはこのビジネスポリシーを適用できます。
完了した商談の商談品目を作成・編集できないようにするには
商談商品の入力規則を作成します。
完了した商談の商談品目を削除できないようにするには
商談の入力規則を作成します。
商談オブジェクトに「品目数」というカスタム積み上げ集計項目があり、商談に関連する商談商品レコードの数を計数していると仮定します。
1. 説明: 商談が完了した後に、商談商品を削除できないようにします。 商談に関する次の入力規則例を作成します。この例では、商談の商談商品数を計数するカスタム積み上げ集計項目を使用します。
2. 数式: AND(OR(ISPICKVAL(StageName, "成立"),
ISPICKVAL(StageName, "不成立")),
Number_of_Line_Items__c <
PRIORVALUE(Number_of_Line_Items__c) )
3.エラーメッセージ: 商談は完了しているため、商談品目を削除することはできません。
4.エラー表示場所: ページの最上位
その他の入力規則のサンプルについては、ヘルプ & トレーニングで次の記事を検索してください。
関連情報
入力規則の定義
000385411

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.