---
schema_version: "1"
id: e97d312a3f15ca10c9ebda8ee019f7ad87a391d7164aa47fecf28c951cafefc9
title: ServiceResourceCapacity Custom Fields
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/field-service-dev/guides/field-service/source-files/objects/fsl-custom-fields-object-serviceresourcecapacity.md
canonical_url: https://developer.salesforce.com/docs/service/field-service-dev/guide/fsl-custom-fields-object-serviceresourcecapacity.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a2115254c4edda01a912e7245553920f6a9bf3e08d7d280368b184f28f434f05
products:
  - Field Service Developer Guide
  - Service Cloud Developer Content
---

# ServiceResourceCapacity Custom Fields

Custom fields associated with the maximum number of scheduled hours or number of service appointments that a capacity-based service resource can complete within a specific time period.

The standard fields are documented in the [ServiceResourceCapacity](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceresourcecapacity.htm) object reference.

## Supported Calls

`create()`, `delete()`, `describeLayout()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `search()`, `update()`, `upsert()`

## Special Access Rules

Field Service managed package must be installed.

**See Also**  


-   [Salesforce Object Reference: ServiceResourceCapacity](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_serviceresourcecapacity.htm)

## Fields

### FSL__HoursInUse__c

-   **Type**: double
-   **Properties**: Filter, Nillable, Sort
-   **Description**: The total number of hours of scheduled services occupied by the service resource. This is used by the Field Service dispatcher console to show how much resource capacity is used up and by the scheduler to prevent offering resources whose capacity is full. This field is updated when the scheduler runs and updates the `FSL__MinutesUsed__c` field. This is a calculated field.
-   **Formula**:

    ```nolang
    FSL__MinutesUsed__c / 60
    ```


### FSL__Last_Updated_Epoch__c

-   **Type**: double
-   **Properties**: Create, Filter, Nillable, Sort, Update
-   **Description**: The date and time, in Epoch format, that the Capacity object was last updated. The Capacity object is updated when a service is scheduled on a capacity-based resource. This field is used by the Field Service dispatcher console.

### FSL__MinutesUsed__c

-   **Type**: double
-   **Properties**: Create, Filter, Nillable, Sort, Update
-   **Description**: The total number of minutes of scheduled services occupies by the service resource. This is used by the Field Service dispatcher console to show how much resource capacity is used up and by the scheduler to prevent offering resources whose capacity is full.

### FSL__Work_Items_Allocated__c

-   **Type**: double
-   **Properties**: Create, Filter, Nillable, Sort, Update
-   **Description**: The number of scheduled service appointments that fill the capacity. This is used by the Field Service dispatcher console to show how much resource capacity is used up.

