TimeSheetEntry
Represents a span of time that a service resource spends on a field service task. 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
Category
Type : picklist
Properties : Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
Description : The time sheet entry category associated with a work order, work order line item, or a time sheet record.
Default value : WorkTime
Possible values :
BreakTime—Break Time
DriveTime—Drive Time
IdleTime—Idle Time
MealTime—Meal Time
MeetingTime—Meeting Time
OtherAuto—Other-Auto
OtherManual—Other-Manual
SpreadTime—Spread Time
WorkTime—Work Time
Mandatory Break Time
Bereavement Leave
Family Leave
Unpaid Time Between Shifts
Vacation
Unpaid Vacation
CostCenterId
Type : reference
Properties : Create, Filter, Group, Nillable, Sort, Update
Description : The cost center associated with the time sheet entry, if work order and work order line items are not available. This field is a relationship field.
Relationship Name : CostCenter
Refers To : CostCenter
JobExpenseTypeId
Type : reference
Properties : Create, Filter, Group, Nillable, Sort, Update
Description : The job expense type associated with the time sheet entry. This field is a relationship field.
Relationship Name : JobExpenseType
Refers To : JobExpenseType
UnavailableReason
Type : picklist
Properties : Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description : Specifies the reason that the service resource is unavailable.
Possible values :
Lunch
Meeting
Other
Sickness
VacationType
Type : picklist
Properties : Create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description : Specifies the type of vacation time.
Possible values :
VehicleDefinitionId
Type : reference
Properties : Create, Filter, Group, Nillable, Sort, Update
Description : The type of vehicle used by the field service technician, if it is different from the one in the Time Sheet record. 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 entry. This field is a relationship field.
Relationship Name : Vehicle
Refers To : Vehicle
Status
Type : picklist
Properties : Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
Description :
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 entry.
TimeBlockSequence
Type : int
Properties : Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
Description : The order number of the time sheet entry relative to other time sheet entries, determining the sequence in which the entries are processed or displayed.