OpportunityShare
Controls sharing settings for opportunity records, defining user access levels.
Columns
| Name | Type | ReadOnly | References | Description |
| Id [KEY] | String | True |
Unique identifier of the opportunity share record. | |
| OpportunityId | String | False |
Opportunity.Id |
Reference to the opportunity being shared. |
| UserOrGroupId | String | False |
ID of the user or group granted access to the opportunity. | |
| UserOrGroupIdType | String | False |
Specifies the type of the 'UserOrGroupId' polymorphic field to use in the statement. | |
| UserOrGroupIdExternalFieldName | String | False |
Specifies the external field name of the 'UserOrGroupId' polymorphic field to use in an INSERT/UPDATE/UPSERT statement | |
| OpportunityAccessLevel | String | False |
Level of access granted to the user or group for the opportunity, such as Read or Edit. | |
| RowCause | String | False |
Reason why access to the opportunity was granted, such as rule or manual sharing. | |
| LastModifiedById | String | True |
User.Id |
ID of the user who last modified the opportunity share record. |
| IsDeleted | Bool | True |
Indicates whether the opportunity share record has been deleted. | |
| SOQL | String | False |
Specifies the SOQL query to execute against the Salesforce servers. If this pseudo column is set from the WHERE clause it will take precedence over the original query. | |
| ExternalIdColumn | String | False |
Specifies the external Id column to use if performing an insert. If this value is specified, upsert will be used when the INSERT command is called. | |
| FilterScope | String | False |
Optional scope to limit the records returned from queries. This property can take one of these values: Delegated, Everything, Mine, MineAndMyGroups, My_Territory, My_Team_Territory, or Team. | |
| LastModifiedDate | Datetime | True |
Date and time when the opportunity share record was last modified. |