2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Event、TaskオブジェクトのAccountId項目のまとめ

Last updated at Posted at 2015-06-02

SalesforceのEvent、TaskオブジェクトのAccountIdの挙動についてまとめます。

AccountIdに値が入る条件は以下になります。

No 名前(WhoId) 関連先(WhatId) AccountId
1 リード - -
2 取引先責任者 - 取引先責任者の取引先ID
3 - 取引先 取引先ID
4 取引先責任者 取引先 取引先ID
5 取引先責任者 商談 取引先責任者の取引先ID
6 - 商談 -

AccountIdに値が入る条件は、上記の表No.2~5になります。
例外として
No.2のように名前(WhoId)が取引先責任者の場合は、AccountIdに取引先責任者の取引先IDが入るが、
No.4のように名前(WhoId)が取引先責任者でかつ、関連先に「取引先」が設定されている場合のみ
AccountIdは関連先の取引先IDによって上書きされます。

※上記の条件以外にAccountIdが上書きされるケースがある場合は、ご指摘頂けると幸いです。

2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?