No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
AccountPartner
この参照のみのオブジェクトは、2 つの Account オブジェクト間のパートナー関係を表します。2 つの取引先間のパートナー関係に Partner オブジェクトが作成されると、このオブジェクトが自動的に作成されます。
サポートされているコール
describeSObjects()、query()、retrieve()
項目
| 項目 | 詳細 |
|---|---|
| AccountFromId |
|
| AccountToId |
|
| IsDeleted |
|
| IsPrimary |
|
| OpportunityId |
|
| Role |
|
取引先間のパートナー関係の作成
2 つの取引先間にパートナー関係を作成する場合 (Partner オブジェクトを作成して AccountFromId を指定する場合)、API は自動的に 2 つの AccountPartner オブジェクトを作成します。一方は主取引先から見た順方��の関係、もう一方はパートナー取引先から見た逆方向の関係となります。たとえば、「Acme, Inc.」を AccountFromId として、「Acme Consulting」を AccountToId として作成すると、API は自動的に次のような 2 つの AccountPartner オブジェクトを自動的に作成します。
- 「Acme, Inc.」を AccountFromId、「Acme Consulting」を AccountToId とする順方向の AccountPartner。
- 「Acme Consulting」を AccountFromId、「Acme, Inc.」を AccountToId とする逆方向の AccountPartner。
- 逆方向の AccountPartner の Role 項目の値は、順方向の AccountPartner の Role 項目の値に関連付けられた PartnerRole オブジェクトの ReverseRole 値に設定されます。
この対応付けにより、API は、オブジェクトとオブジェクトのリレーションを効率的に管理できます。