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 Name | Field Label | Type | Digits | Length | Precision | Scale |
|---|---|---|---|---|---|---|
AppointmentCategoryId | Appointment Category ID | reference | 18 | |||
BackgroundColor | Background Color | string | 7 | |||
CreatedById | Created By ID | reference | 18 | |||
CreatedDate | Created Date | datetime | ||||
DataPyRef__c | DataPyRef | string | 50 | |||
DataPyTag__c | DataPyTag | double | 4 | 1 | ||
EndTime | End Time | datetime | ||||
Id | Shift ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
IsHolidayShift | Holiday Shift | boolean | ||||
IsNonStandard | Non-Standard | boolean | ||||
JobProfileId | Job Profile ID | reference | 18 | |||
Label | Label | string | 255 | |||
LastModifiedById | Last Modified By ID | reference | 18 | |||
LastModifiedDate | Last Modified Date | datetime | ||||
LastReferencedDate | Last Referenced Date | datetime | ||||
LastViewedDate | Last Viewed Date | datetime | ||||
OwnerId | Owner ID | reference | 18 | |||
RecordsetFilterCriteriaId | Recordset Filter Criteria ID | reference | 18 | |||
RecurrenceEndDate | Recurrence End Date | date | ||||
RecurrencePattern | Recurrence Pattern | string | 255 | |||
RecurrenceStartDate | Recurrence Start Date | date | ||||
ServiceResourceId | Service Resource ID | reference | 18 | |||
ServiceTerritoryId | Service Territory ID | reference | 18 | |||
ShiftNumber | Shift Number | string | 255 | |||
ShiftTemplateId | Shift Template ID | reference | 18 | |||
StartTime | Start Time | datetime | ||||
Status | Status | picklist | 40 | |||
StatusCategory | Status Category | picklist | 255 | |||
SystemModstamp | System Modstamp | datetime | ||||
TimeSlotType | Time Slot Type | picklist | 255 | |||
Type | Type | picklist | 255 | |||
WorkTypeGroupId | Work Type Group ID | reference | 18 | |||
WorkTypeId | Work Type ID | reference | 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 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 |
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 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 | Shift History ID | id | 18 | |||
IsDeleted | Deleted | boolean | ||||
NewValue | New Value | anyType | 255 | |||
OldValue | Old Value | anyType | 255 | |||
ShiftId | Shift ID | reference | 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 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 |