OpportunityShare

Represents a sharing entry on an Opportunity.

Supported Calls

describeSObjects(), query(), retrieve()

Fields

Field Details
IsDeleted
Type
boolean
Properties
Defaulted on create, Filter
Description
Indicates whether the object has been moved to the Recycle Bin (true) or not (false). Label is Deleted.
OpportunityAccessLevel
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
Level of access that the user or group has to the opportunity. The possible values are:
  • Read
  • Edit
  • AllThis value is not valid when creating, updating, or deleting records.
This field must be set to an access level that is higher than the organization’s default access level for opportunities.
OpportunityId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the Opportunity associated with this sharing entry. This field can’t be updated.
RowCause
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
Reason that this sharing entry exists. Read-only. Valid values include:
  • Owner—User is the owner of the opportunity or is in a UserRole above the opportunity owner in the role hierarchy.
  • Manual—User or group has access because a user with “All” access manually shared the opportunity with them.
  • Rule—User or group has access via an opportunity sharing rule.
  • ImplicitChild—User or group has access to the opportunity on the Account associated with this Opportunity.
  • Team—User has access to the opportunity because she or he is on the sales team for the opportunity. The OpportunityTeamMember object for this opportunity sets the access level. See OpportunityTeamMember for more information.
UserOrGroupId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the User or Group that has been given access to the opportunity. This field can’t be updated.

Usage

This object allows you to determine which users and groups can view or edit opportunities owned by other users.

If you attempt to create a record that matches an existing record, any modified fields are updated, the system returns the existing record.

© Copyright 2000–2012 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.