ServiceResourceCapacity
Represents the maximum number of scheduled hours or number of service appointments that a capacity-based service resource can complete within a specific time period.
Introduced in API version 38.0.
create(), delete(), describeLayout(), getDeleted(), getUpdated(), query(), retrieve(), search(), update(), upsert()
- Field Service must be enabled.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Description: The number of hours that the resource can work per time period. You must fill out this field, the
CapacityInWorkItemsfield, or both.
- Type: int
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The total number of service appointments that the resource can complete per time period. You must fill out this field, the
CapacityInHoursfield, or both.
- Type: string
- Properties: Autonumber, Defaulted on create, Filter, idLookup, Sort
- Description: (Read only) An auto-generated number identifying the capacity record.
- Type: date
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Description: The date the capacity ends; for example, the end date of a contract.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 65.0
- Type: reference
- Properties: Create, Filter, Group, Sort
- Description: The associated service resource. You can set multiple capacities for a resource as long as their start and end dates do not overlap.
- Relationship name: ServiceResource
- Relationship type: masterdetail
- Refers to: ServiceResource
- Type: date
- Properties: Create, Filter, Group, Sort, Update
- Description: The date the capacity goes into effect.
- Type: picklist
- Properties: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- Description: Days, Hours, or Months. For example, if a resource can work 80 hours per month, the capacity’s
Time Periodwould beMonthandHours per Time Periodwould be80.
- Type: double
- Properties: Create, Filter, Nillable, Sort, Update
- Introduced: API version 65.0
Service resources who are capacity-based can only work a certain number of hours or complete a certain number of service appointments within a specified time period. Contractors tend to be capacity-based. To indicate that a service resource is capacity-based, select Capacity-Based on the service resource record, then create a capacity record for the service resource.
You must fill out at least one of these fields: CapacityInWorkItems and CapacityInHours. If you’re using the Field Service managed package and would like to measure capacity both in hours and in number of work items, enter a value for both. The resource is considered to reach their capacity based on whichever term is met first—hours or number of work items.
If you aren’t using the Field Service managed package, capacity serves more as a suggestion than a rule. Resources can still be as scheduled beyond their capacity, and you aren’t notified when a resource exceeds their capacity.
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.
-
ServiceResourceCapacityChangeEvent: Introduced in API version 54.0.