Newer Version Available

This content describes an older version of this product. View Latest

TimeSheet

Represents a schedule of a service resource’s time in field service.

Time sheets are composed of time sheet entries, which typically track individual tasks like travel or asset repair.

Supported Calls

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

Special Access Rules

Field Service Lightning must be enabled.

Fields

Field Name Details
CurrencyIsoCode
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
Available only if the multicurrency feature is enabled. Contains the ISO code for any currency allowed by the organization. The label in the user interface is Currency ISO Code.
EndDate
Type
date
Properties
Create, Filter, Group, Sort, Update
Description
The last day the time sheet covers.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed a record related to this record.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The timestamp for when the current user last viewed this record. If this value is null, this record might only have been referenced (LastReferencedDate) and not viewed.
OwnerId
Type
reference
Properties
Create, Defaulted on create, Filter, Group, Sort, Update
Description
The owner of the time sheet.
ServiceResourceId
Type
reference
Properties
Create, Filter, Group, Sort, Update
Description
The service resource whose time is being tracked with the time sheet.
StartDate
Type
date
Properties
Create, Filter, Group, Sort, Update
Description
The first day the time sheet covers.
Status
Type
picklist
Properties
Create, Defaulted on 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
TimeSheetEntryCount
Type
int
Properties
Filter, Group, Nillable, Sort
Description
(Read Only) The number of related time sheet entries.
TimeSheetNumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, Sort
Description
An auto-generated number identifying the time sheet.