Loading
Salesforce Help 사이트 “Help Agent powered by Fin” 도입 안내더 많이 읽기
Tableau 고객 대상: Tableau를 이용하는 고객이 Help 사이트에서 사례(케이스)를 등록할 수 없는 경우의 대체 수단더 많이 읽기
Slack 관련 문의처가 Salesforce Help로 통합 및 변경됩니다.더 많이 읽기

Retaining Salesforce Account Team When Changing Account Owner

게시 일자: Oct 26, 2026
상세 설명

Key Definitions:

  • API (Application Programming Interface)

  • Apex (Salesforce programming language)

  • WSDL (Web Services Description Language)

Outbound Message Monitor: 

The Outbound Messaging Monitor in Salesforce allows you to track and manage outbound messages that are queued for delivery or have failed.

Root Cause:

Beginning in the Spring ’19 release (API version 45.0), an API option was introduced that allowed the account team to be either retained or deleted when changing the account’s owner. The default value of the KeepAccountTeam option was false, meaning the account team would be deleted. However, this behavior had a bug in which only the account sharing records were deleted but the account team member records were retained. This bug was resolved in the Winter ’21 release. 

 

솔루션

Resolution:

After the Winter ’21 release, when changing an account’s owner via API or Apex , both the account team members and their account sharing records are deleted by default. In order to retain the account team members and their related sharing records, do one of the following:
 

  • Change the record’s owner in the Lightning UI, selecting the option to Keep Account Team.
  • In API  version 45.0 or greater, use the OwnerChangeOption header to set KeepAccountTeam to true.
  • Create a trigger to reinsert the account team after changing the owner.
  • Manually reinsert the account team; for example, using the Lightning UI or Data Loader. For more information, see Add or Remove Account Teams with Data Loader.
  • Use the Enterprise WSDL to specify the OwnerChangeOption of KeepAccountTeam = true, when changing the account’s owner via Apex.


 
추가 자원

See Also:
Data Loader installation procedure   

 

Related Video 

Knowledge 기사 번호

000390190

 
로드 중
Salesforce Help | Article