Shift

Represents a shift for service resource scheduling. Available in API versions 46.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see Shift in the Consumer Goods Cloud Developer Guide, Emergency Response Management Object Reference, Emergency Response Management for Public Health Developer Guide, Field Service Developer Guide, Object Reference for the Salesforce Platform, Salesforce Scheduler Developer Guide, and Work.com Developer Guide.

Field NameField LabelTypeDigitsLengthPrecisionScale
AppointmentCategoryIdAppointment Category IDreference 18  
BackgroundColorBackground Colorstring 7  
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataPyRef__cDataPyRefstring 50  
DataPyTag__cDataPyTagdouble  41
EndTimeEnd Timedatetime    
IdShift IDid 18  
IsDeletedDeletedboolean    
IsHolidayShiftHoliday Shiftboolean    
IsNonStandardNon-Standardboolean    
JobProfileIdJob Profile IDreference 18  
LabelLabelstring 255  
LastModifiedByIdLast Modified By IDreference 18  
LastModifiedDateLast Modified Datedatetime    
LastReferencedDateLast Referenced Datedatetime    
LastViewedDateLast Viewed Datedatetime    
OwnerIdOwner IDreference 18  
RecordsetFilterCriteriaIdRecordset Filter Criteria IDreference 18  
RecurrenceEndDateRecurrence End Datedate    
RecurrencePatternRecurrence Patternstring 255  
RecurrenceStartDateRecurrence Start Datedate    
ServiceResourceIdService Resource IDreference 18  
ServiceTerritoryIdService Territory IDreference 18  
ShiftNumberShift Numberstring 255  
ShiftTemplateIdShift Template IDreference 18  
StartTimeStart Timedatetime    
StatusStatuspicklist 40  
StatusCategoryStatus Categorypicklist 255  
SystemModstampSystem Modstampdatetime    
TimeSlotTypeTime Slot Typepicklist 255  
TypeTypepicklist 255  
WorkTypeGroupIdWork Type Group IDreference 18  
WorkTypeIdWork Type IDreference 18  

Feed tracking for Shift.

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  

Represents the history of changes made to tracked fields on a time sheet. Available in API versions 46.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see ShiftHistory in the Object Reference for the Salesforce Platform.

Field NameField LabelTypeDigitsLengthPrecisionScale
CreatedByIdCreated By IDreference 18  
CreatedDateCreated Datedatetime    
DataTypeDatatypepicklist 40  
FieldChanged Fieldpicklist 255  
IdShift History IDid 18  
IsDeletedDeletedboolean    
NewValueNew ValueanyType 255  
OldValueOld ValueanyType 255  
ShiftIdShift IDreference 18  

Represents a sharing entry on a field service shift. Available in API versions 46.0 and later.

This guide only lists certain information for each object. For more information, including descriptions of the fields, see ShiftShare 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