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 NameField LabelTypeDigitsLengthPrecisionScale
AppointmentCategoryIdAppointment Category IDreference 18  
ApptStartTimeIntvlInMinAppointment Start Time Interval (Min)int9   
AttendeeLimitAttendee Limitint9   
BlockTimeAfterAppointmentBlock Time After Appointmentint9   
BlockTimeAfterUnitBlock Time After Unitpicklist 255  
BlockTimeBeforeAppointmentBlock Time Before Appointmentint9   
BlockTimeBeforeUnitBlock Time Before Unitpicklist 255  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataPyTag__cDataPyTagdouble  41
DefaultAppointmentTypeDefault Appointment Typepicklist 40  
DescriptionDescriptiontextarea 32000  
DurationInMinutesDuration in Minutesdouble  182
DurationTypeDuration Typepicklist 255  
EstimatedDurationEstimated Durationdouble  182
IdWork Type IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
MinimumCrewSizeMinimum Crew Sizeint9   
NameWork Type Namestring 255  
OperatingHoursIdOperating Hour IDreference 18  
OwnerIdOwner IDreference 18  
ProductIdProduct IDreference 18  
RecommendedCrewSizeRecommended Crew Sizeint9   
ServiceReportTemplateIdService Report Layout IDreference 18  
ShouldAutoCreateSvcApptAuto-Create Service Appointmentboolean    
SystemModstampSystem Modstampdatetime    
TimeFrameEndUnitTime Frame End Unitpicklist 255  
TimeFrameStartUnitTime Frame Start Unitpicklist 255  
TimeframeEndTimeframe Endint9   
TimeframeStartTimeframe Startint9   

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 NameField LabelTypeDigitsLengthPrecisionScale
BestCommentIdBest Comment IDreference 18  
BodyBodytextarea 10000  
CommentCountComment Countint9   
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
IdFeed Item IDid 18  
InsertedByIdInsertedBy IDreference 18  
IsDeletedDeletedboolean    
IsRichTextIs Rich Textboolean    
LastModifiedDateLast Modified Datedatetime    
LikeCountLike Countint9   
LinkUrlLink URLurl 1000  
NetworkScopeNetwork Scopepicklist 40  
ParentIdParent IDreference 18  
RelatedRecordIdRelated Record IDreference 18  
SystemModstampSystem Modstampdatetime    
TitleTitlestring 255  
TypeFeed Item Typepicklist 40  
VisibilityVisibilitypicklist 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 NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdWork Type History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
WorkTypeIdWork Type IDreference 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 NameField LabelTypeDigitsLengthPrecisionScale
AccessLevelCustom Object Accesspicklist 40  
IdCustom Object Share IDid 18  
IsDeletedDeletedboolean    
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
ParentIdParent IDreference 18  
RowCauseRow Causepicklist 40  
UserOrGroupIdUser/Group IDreference 18