Object Reference for the Salesforce Platform
OpportunityTeamMember
See also UserTeamMember, which represents a User who is on the default Opportunity team of another user.
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
Fields
| Field | Details |
|---|---|
| IsDeleted |
An OpportunityTeamMember that is deleted isn’t moved to the Recycle Bin and can’t be undeleted, unless the record was cascade-deleted when deleting a related Opportunity. For directly deleted OpportunityTeamMember records, don't use the isDeleted field to detect deleted records in SOQL queries. Instead, use getDeleted(). Note |
| Name |
|
| OpportunityAccessLevel |
|
| OpportunityId |
|
| PhotoURL |
|
| TeamMemberRole |
|
| Title |
|
| UserId |
|
Usage
If you create a record for this object and the OpportunityId and UserId combination matches an existing record, the system updates any modified fields and returns the existing record.
In the user interface, users can set up an opportunity team for the opportunities they own. The opportunity team includes other users that are working on the opportunity with them. This object is available only in organizations that have enabled team selling.
The behavior for changing ownership of opportunities is different using the user interface when the previous owner is on an opportunity team. For example, when you change the owner of an opportunity using the API, the previous owner's access becomes Read Only or the access specified in your organization-wide default for opportunities, whichever is greater. However, performing this same action in the user interface allows you to select the access level for the previous owner when the previous owner is on an opportunity team.
Note
Associated Objects
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
- OpportunityTeamMemberHistory (API version 59.0)
- History is available for tracked fields of the object.