Represents a sharing entry on an Opportunity.
create(), update(), delete(), describeSObjects(), query(), retrieve()
| Field | Field Type | Field Properties | Description |
|---|---|---|---|
| IsDeleted | boolean | Defaulted on create | Indicates whether the record has been moved to the Recycle Bin (true) or not (false). Label is Deleted. |
| OpportunityAccessLevel | picklist | Create | Level of access that the user or group has to the opportunity.
The possible values are:
|
| OpportunityId | reference | Create | ID of the Opportunity associated with this sharing entry. This field cannot be updated. For information on IDs, see ID Field Type. |
| RowCause | picklist | Filter | Reason that this sharing entry exists. Read-only. Valid values
include:
|
| UserOrGroupId | reference | Create | ID of the User or Group that has been given access to the opportunity. This field cannot be updated. |
This object allows you to determine which users and groups can view or edit opportunities owned by other users. For more information, see Sharing.
If you attempt to create a record that matches an existing record, the create() call updates any modified fields and returns the existing record.