Newer Version Available

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

ServiceAppointmentCapacityUsage

Represents a relationship between a service appointment and a work capacity usage record. These records help you determine which and how many service appointments were counted against a work capacity limit. This object is available in API version 46.0 and later.

Supported Calls

describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

Special Access Rules

Field Service Lightning must be enabled.

For the Summer ’19 release, service appointment capacity usage records cannot be generated without Apex customization.

Important

Fields

Field Name Details
EstimatedUsageInMinutes
Type
double
Properties
Filter, Nillable, Sort
Description
The estimated appointment length in minutes, which is the difference between the Scheduled Start and Scheduled End.
LastReferencedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the record was last modified. Its label in the user interface is Last Modified Date.
LastViewedDate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The date when the record was last viewed by the current user.
ServiceAppointmentCapacityUsageAutonumber
Type
string
Properties
Autonumber, Defaulted on create, Filter, idLookup, Sort
Description
Autogenerated number identifying the service appointment capacity usage.
ServiceAppointmentId
Type
reference
Properties
Filter, Group, Sort
Description
The related service appointment that counts against the work capacity limit.
UsageDate
Type
date
Properties
Filter, Group, Nillable, Sort
Description
The date of the related service appointment, equal to the appointment’s Scheduled Start.
WorkCapacityUsageId
Type
reference
Properties
Filter, Group, Sort
Description
The related work capacity usage record.