WorkType
Represents a type of work to be performed in Field Service and Lightning Scheduler. Work types are templates that can be applied to work order or work order line items. This object is available in API version 38.0 and later.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see WorkType in the Automotive Cloud Developer Guide, Field Service Developer Guide, Object Reference for the Salesforce Platform, and Salesforce Scheduler Developer Guide.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AppointmentCategoryId | Appointment Category ID | reference | 18 | |||
ApptStartTimeIntvlInMin | Appointment Start Time Interval (Min) | int | 9 | |||
AttendeeLimit | Attendee Limit | int | 9 | |||
BlockTimeAfterAppointment | Block Time After Appointment | int | 9 | |||
BlockTimeAfterUnit | Block Time After Unit | picklist | 255 | |||
BlockTimeBeforeAppointment | Block Time Before Appointment | int | 9 | |||
BlockTimeBeforeUnit | Block Time Before Unit | picklist | 255 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataPyTag__c | DataPyTag | double | 4 | 1 | ||
DefaultAppointmentType | Default Appointment Type | picklist | 40 | |||
Description | Description | textarea | 32000 | |||
DurationInMinutes | Duration in Minutes | double | 18 | 2 | ||
DurationType | Duration Type | picklist | 255 | |||
EstimatedDuration | Estimated Duration | double | 18 | 2 | ||
Id | Work Type ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
MinimumCrewSize | Minimum Crew Size | int | 9 | |||
Name | Work Type Name | string | 255 | |||
OperatingHoursId | Operating Hour ID | reference | 18 | |||
OwnerId | Owner ID | reference | 18 | |||
ProductId | Product ID | reference | 18 | |||
RecommendedCrewSize | Recommended Crew Size | int | 9 | |||
ServiceReportTemplateId | Service Report Layout ID | reference | 18 | |||
ShouldAutoCreateSvcAppt | Auto-Create Service Appointment | boolean | ||||
SystemModstamp | System Modstamp | datetime | ||||
TimeFrameEndUnit | Time Frame End Unit | picklist | 255 | |||
TimeFrameStartUnit | Time Frame Start Unit | picklist | 255 | |||
TimeframeEnd | Timeframe End | int | 9 | |||
TimeframeStart | Timeframe Start | int | 9 |
Feed tracking for WorkType.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameFeed in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
BestCommentId | Best Comment ID | reference | 18 | |||
Body | Body | textarea | 10000 | |||
CommentCount | Comment Count | int | 9 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
Id | Feed Item ID | id | 18 | |||
InsertedById | InsertedBy ID | reference | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsRichText | Is Rich Text | boolean | ||||
LastModifiedDate | Last Modified Date | datetime | ||||
LikeCount | Like Count | int | 9 | |||
LinkUrl | Link URL | url | 1000 | |||
NetworkScope | Network Scope | picklist | 40 | |||
ParentId | Parent ID | reference | 18 | |||
RelatedRecordId | Related Record ID | reference | 18 | |||
SystemModstamp | System Modstamp | datetime | ||||
Title | Title | string | 255 | |||
Type | Feed Item Type | picklist | 40 | |||
Visibility | Visibility | picklist | 40 |
History for tracked fields of WorkType.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameHistory in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataType | Datatype | picklist | 40 | |||
Field | Changed Field | picklist | 255 | |||
Id | Work Type History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
WorkTypeId | Work Type ID | reference | 18 |
Sharing for WorkType.
This guide only lists certain information for each object. For more information, including descriptions of the fields, see StandardObjectNameShare in the Object Reference for the Salesforce Platform.
| Field Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AccessLevel | Custom Object Access | picklist | 40 | |||
Id | Custom Object Share ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
ParentId | Parent ID | reference | 18 | |||
RowCause | Row Cause | picklist | 40 | |||
UserOrGroupId | User/Group ID | reference | 18 |