Represents a sharing entry on a product request object.
Supported Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Fields
The properties available for some fields depend on the
default organization-wide sharing settings. The properties listed are true for the
default settings of such fields.
| AccessLevel |
- Type
- picklist
- Properties
- Create, Filter, Group, Restricted picklist, Sort, Update
- Description
- Level of access that the User or Group has to the product request.. The possible values are:
- Read
- Edit
-
All This value is not valid when creating or
updating these records.
|
| ParentId |
- Type
- reference
- Properties
- Create, Filter, Group, Sort
- Description
- The ID of the product request associated with the
sharing entry.
|
| RowCause |
- Type
- picklist
- Properties
- Create, Filter, Group, Nillable, Restricted picklist, Sort
- Description
- Reason that this sharing entry exists. You can only
write a value in this field when its value is either
omitted or set to Manual (default).
- Values include:
-
Manual—The User or Group has access because a user with
“All” access manually shared the Lead with them.
-
Owner—The User is the owner of the Lead.
-
Rule—The User or Group has access via a Lead sharing rule.
|
| UserOrGroupId |
- Type
- reference
- Properties
- Create, Filter, Group, Sort
- Description
- ID of the User or Group that has been given access to the product request.
This field can’t be updated.
|
Usage
This object allows you to determine which users and groups can view or edit product
requests owned by other users.
If you attempt to create a record that matches an existing record, the existing
record is returned.