WorkType
Represents a type of work to be performed for a dealer location. Work types are templates that associate a work group to a service territory. This object is available in API version 58.0 and later.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
Automotive and Automotive Scheduler must be enabled.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specify the time interval in minutes between appointment start times.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specify the after buffer time for the service appointment.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: Specify the unit of time for BlockTimeAfterAppointment. Possible values are: The default value is
Minutes. -
Hours—Hour(s) -
Minutes—Minute(s)
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specify the before buffer time for the service appointment.
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: Specify the unit of time for BlockTimeBeforeAppointment. Possible values are: The default value is
Minutes. -
Hours—Hour(s) -
Minutes—Minute(s)
- Type: textarea
- Properties: Create, Nillable, Update
- Description: The description of the work type.
- Type: double
- Properties: Filter, Nillable, Sort
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- Description: The unit of the Estimated Duration: Minutes or Hours. Possible values are: The default value is
Hours.Hours, orMinutes.
- Type: double
- Properties: Create, Filter, Sort, Update
- Description: The estimated length of the work. The estimated duration is in minutes or hours based on the value selected in the Duration Type field.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The date when the work type was last modified.
- Type: dateTime
- Properties: Filter, Nillable, Sort
- Description: The date when the work type was last viewed by the current user.
- Type: string
- Properties: Create, Filter, Group, idLookup, Sort, Update
- Description: The name of the work type.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The ID of the operating hours that’s assigned to the work type. If a service resource needs special operating hours, create them in Setup and select them in the Operating Hours lookup field on the member’s detail page. This field is a relationship field.
- Relationship Name: OperatingHours
- Relationship Type: Lookup
- Refers To: OperatingHours
- Type: reference
- Properties: Create, Defaulted on create, Filter, Group, Sort, Update
- Description: The work type’s owner. This field is a polymorphic relationship field.
- Relationship Name: Owner
- Relationship Type: Lookup
- Refers To: Group, User
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: Specify the unit of time for TimeFrame End. Possible values are: The default value is
Days. -
Days—Day(s) -
Hours—Hour(s)
-
Type: picklist
-
Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
-
Description: Specify the unit of time for TimeFrame Start. Possible values are: The default value is
Days. -
Days—Day(s) -
Hours—Hour(s)
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specify the timeframe end to show only time slots that end before the duration that is set in Timeframe End.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Specify the timeframe start to show only time slots that start after the duration that is set in Timeframe Start.
This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.
- WorkTypeChangeEvent: Change events are available for the object.
- WorkTypeFeed: Feed tracking is available for the object.
- WorkTypeHistory: History is available for tracked fields of the object.
- WorkTypeOwnerSharingRule: Sharing rules are available for the object.
- WorkTypeShare: Sharing is available for the object.