Newer Version Available

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

WorkOrderShare

Represents a sharing entry on a work order. This object is available in API version 36.0 and later.

Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Special Access Rules

Work orders or Field Service must be enabled in your organization. Community users can’t access this object.

Fields

Field Name Details
AccessLevel
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Level of access that the user or group has to the work order. The possible values are:
  • Read
  • Edit
  • All (This value isn’t valid for create or update calls.)
Set to an access level that is at least equal to the organization’s default work order access level.
ParentId
Type
reference
Properties
Create, Filter, Group, Sort
Description

The work order associated with the sharing entry.

RowCause
Type
picklist
Properties
Create, Filter, Group, Nillable, Restricted picklist, Sort
Description
The reason why this sharing entry exists. You can write to this field only when its value is omitted or set to Manual (default). Valid values include:
  • Manual—The User or Group has access because a user with “All” access manually shared the work order.
  • Owner—The User is the owner of the work order.
  • Rule—The User or Group has access via a work order sharing rule.
  • GuestRule—The User or Group has access via a work order guest user sharing rule.
  • LpuImplicit—The User has access to records owned by high-volume community and portal users via a share group.
UserOrGroupId
Type
reference
Properties
Create, Filter, Group, Sort
Description
(Read Only) ID of the user or group that has access to the work order.