TimeSheet

Represents a schedule of a service resource’s time in Field Service or Workforce Engagement. This object is available in API version 62.0 and later.

Supported Calls 

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

Fields 

EndDateTime 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The end date and time of a job in the time sheet.

HasShiftEnded 

  • Type: boolean
  • Properties: Create, Defaulted on create, Filter, Group, Sort, Update
  • Description: Indicates whether the field service worker’s shift has ended.
  • Default value: false

PayGradeId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The pay grade associated with the time sheet. This field is a relationship field.
  • Relationship Name: PayGrade
  • Refers To: PayGrade

ServiceCrewMemberId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The service crew member associated with the time sheet. This field is a relationship field.
  • Relationship Name: ServiceCrewMember
  • Refers To: ServiceCrewMember

StartDateTime 

  • Type: dateTime
  • Properties: Create, Filter, Nillable, Sort, Update
  • Description: The start date and time of a job in the time sheet.

Status 

  • Type: picklist

  • Properties: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update

  • Description: The status of the time sheet.

  • Default value: New

  • Possible values:

    • Approval Pending
    • Approved
    • Error
    • New
    • Rejected
    • Reviewed
    • Submitted
    • Validation In Progress

StatusComment 

  • Type: string
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The comment added with a status change to a time sheet.

VehicleDefinitionId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The type of vehicle used by the field service technician. This field is a relationship field.
  • Relationship Name: VehicleDefinition
  • Refers To: VehicleDefinition

VehicleId 

  • Type: reference
  • Properties: Create, Filter, Group, Nillable, Sort, Update
  • Description: The service resource’s vehicle associated with the time sheet. This field is a relationship field.
  • Relationship Name: Vehicle
  • Refers To: Vehicle