TimeSheetEntry
Represents a span of time that a service resource spends on a field service task.
Time sheets are composed of time sheet entries. Time sheet entries typically track individual tasks like travel or asset repair.
Introduced in API version 40.0.
create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()
- Field Service must be enabled.
- Type: textarea
- Properties: Create, Nillable, Update
- Description: Notes on how the time was spent. For example, “This service took longer than normal because the machine was jammed.”
- Type: int
- Properties: Filter, Group, Nillable, Sort
- Description: Minutes recorded on the time sheet entry.
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date and time the activity finished.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Introduced: API version 50.0
- Description: Time zone of the location where the activity occurred.
- Type: datetime
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The date and time the activity began.
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The status of the time sheet entry. The picklist includes the following values, which can be customized:
- New
- Submitted
- Approved
- Type: string
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: Activity performed; for example, repair, lunch, or travel.
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: An auto-generated number identifying the time sheet entry.
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: The time sheet associated with the time sheet entry.
- Relationship name: TimeSheet
- Relationship type: masterdetail
- Refers to: TimeSheet
-
Type: picklist
-
Properties: Create, Filter, Group, Nillable, Sort, Update
-
Description:
The type of work performed. The picklist includes the following values, which can be customized:
- Direct
- Indirect
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The work order related to the time sheet entry. Work orders are searchable by their content.
- Relationship name: WorkOrder
- Relationship type: relationship
- Refers to: WorkOrder
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The work order line item related to the time sheet entry. Work order line items are searchable by their content.
- Relationship name: WorkOrderLineItem
- Relationship type: relationship
- Refers to: WorkOrderLineItem
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.
-
TimeSheetEntryChangeEvent: Introduced in API version 48.0.