TimeSheet

Represents a schedule of a service resource’s time in Field Service or Workforce Engagement.

Time sheets are composed of time sheet entries, which 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 or Workforce Engagement must be enabled.
  • Type: date
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The last day the time sheet covers.
  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The service resource whose time is being tracked with the time sheet.
  • Relationship name: ServiceResource
  • Relationship type: relationship
  • Refers to: ServiceResource
  • Type: date
  • Properties: Create, Filter, Group, Sort, Update
  • Description: The first day the time sheet covers.
  • Type: picklist

  • Properties: Create, Filter, Group, Nillable, Sort, Update

  • Description:

    The status of the time sheet. The picklist includes the following values, which can be customized:

    • New
    • Submitted
    • Approved
  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Description: (Read Only) The number of related time sheet entries.
  • Type: string
  • Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
  • Description: An auto-generated number identifying the time sheet.
  • Type: double
  • Properties: Filter, Nillable, Sort
  • Introduced: API version 47.0
  • Description: Represents the sum total of the duration field of all the time sheet entries related to the time sheet object in hours.
  • Type: int
  • Properties: Filter, Group, Nillable, Sort
  • Introduced: API version 47.0
  • Description: Represents the sum total of the duration field of all the time sheet entries related to the time sheet object in minutes.

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.