Newer Version Available

This content describes an older version of this product. View Latest

OrderShare

Represents a sharing entry on an Order. This object is available in API version 48.0 and later.

Supported Calls

describeSObjects(), query(), retrieve()

Fields

Field Details
OrderAccessLevel
Type
picklist
Properties
Filter, Group, Restricted picklist, Sort
Description
Level of access that the user or group has to the order.
Possible values are:
  • All—Owner. This value isn’t valid when creating, updating, or deleting records.
  • Edit—Read/Write
  • Read—Read Only
OrderId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the order associated with this sharing entry. This field can't be updated.
This is a relationship field.
Relationship Name
Order
Relationship Type
Lookup
Refers To
Order
RowCause
Type
picklist
Properties
Filter, Group, Nillable, Restricted picklist, Sort
Description
The reason that the user has access to the order.
UserOrGroupId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the user or group that has been given access to the order. This field can't be updated.
This is a polymorphic relationship field.
Relationship Name
UserOrGroup
Relationship Type
Lookup
Refers To
Group, User

Usage

This object allows you to determine which users and groups can view or edit orders 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.