---
schema_version: "1"
id: 1146f1f852a9f3981d3cdfaa619384789ed81a9922679d35898552e3146c7bee
title: wkfsl__Facility_Plan__c
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/workdotcom_dev/guides/wkfsl-sforce-api-objects-wkfsl__facility-plan__c.md
canonical_url: https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wkfsl-sforce-api-objects-wkfsl__facility-plan__c.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9cd42f1e785bca73c5cb6c5f02b877d96a33a6b1b86785060eb8bd02c14a8cf6
products:
  - Work.com Developer Guide
  - Service Cloud Developer Content
---

# wkfsl\_\_Facility_Plan\_\_c

Represents the facility plan to help you manage your sites and buildings. This object has information such as maximum occupancy, arrival window start and end times, and arrival interval information for a location. This object is installed as a part of the Shift Management managed package. This object is available in API version 48.0 and later.

## Supported Calls

`create()`, `delete()`, `describeLayout()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `search()`, `undelete()`, `update()`, `upsert()`

## Fields

| Field                                         | Type          | Properties                                                                 | Description                                                                                                                                                                                                                                                         |
| --------------------------------------------- | ------------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| wkfsl\_\_AvailabilityRequestsSentDate\_\_c    | dateTime      | Create, Filter, Nillable, Sort, Update                                     | The date when the workplace manager sends availability notifications to employees. This field is available in managed package version 3.0 and later.                                                                                                                |
| Name                                          | string        | Autonumber, Defaulted on create, Filter, idLookup, Sort                    | The name of the facility plan.                                                                                                                                                                                                                                      |
| wkfsl\_\_Capacity_Overide\_\_c                | boolean       | Create, Defaulted on create, Filter, Group, Sort, Update                   | Indicates whether to override the planned occupancy for this facility plan.                                                                                                                                                                                         |
| wkfsl\_\_Capacity\_\_c                        | double        | Create, Filter, Nillable, Sort, Update                                     | The maximum allowed occupancy for this facility plan. This field is calculated from the facility's maximum occupancy and the reduced occupancy percentage.                                                                                                          |
| wkfsl\_\_Completion_Date\_\_c                 | date          | Create, Filter, Group, Nillable, Sort, Update                              | The response due date for employees to submit availability. Before the due date, employees can edit availability for the facility plan. After this date, employees can view any scheduled shifts. This field is available in managed package version 3.0 and later. |
| wkfsl\_\_Days_of_the_week\_\_c                | multipicklist | Create, Defaulted on create, Filter, Nillable, Restricted picklist, Update | The days of the week used by this facility.Possible values are: <ul><li>`Monday`</li><li>`Tuesday`</li><li>`Wednesday`</li><li>`Thursday`</li><li>`Friday`</li><li>`Saturday`</li><li>`Sunday`</li></ul>                                                            |
| wkfsl\_\_End_Date\_\_c                        | date          | Create, Filter, Group, Nillable, Sort, Update                              | The end date for this facility plan.                                                                                                                                                                                                                                |
| wkfsl\_\_Generate_Shift\_\_c                  | boolean       | Create, Defaulted on create, Filter, Group, Sort, Update                   | Indicates whether shifts are calculated for this service territory location. The system sets this field to `true` for the lowest-level service territories.                                                                                                         |
| wkfsl\_\_Max_Number_Of_Allowed_Employees\_\_c | double        | Create, Filter, Nillable, Sort, Update                                     | The occupancy per interval when employee arrivals are staggered.                                                                                                                                                                                                    |
| wkfsl\_\_Percentage_Allocation\_\_c           | percent       | Create, Filter, Nillable, Sort, Update                                     | The reduced occupancy percentage. This value is used to calculate the planned occupancy from the maximum occupancy.                                                                                                                                                 |
| wkfsl\_\_Related_Top_Level_Territory\_\_c     | reference     | Create, Filter, Group, Nillable, Sort, Update                              | The top-level service territory associated with the facility plan's service territory. This field is available in package version 1.73 and later.                                                                                                                   |
| wkfsl\_\_Service_Territory\_\_c               | reference     | Create, Filter, Group, Sort                                                | The service territory associated with this plan.                                                                                                                                                                                                                    |
| wkfsl\_\_Shifts_Were_Generated\_\_c           | boolean       | Create, Defaulted on create, Filter, Group, Sort, Update                   | Indicates whether the shifts for a facility plan were generated. If the generation of shifts fails, this value is still true.                                                                                                                                       |
| wkfsl\_\_Stagger_End_Time\_\_c                | time          | Create, Filter, Nillable, Sort, Update                                     | End time for the stagger period.                                                                                                                                                                                                                                    |
| wkfsl\_\_Stagger_Start_Time\_\_c              | time          | Create, Filter, Nillable, Sort, Update                                     | Start time for the stagger period.                                                                                                                                                                                                                                  |
| wkfsl\_\_Start_Date\_\_c                      | date          | Create, Filter, Group, Nillable, Sort, Update                              | The start date for this shift.                                                                                                                                                                                                                                      |
| wkfsl\_\_Time_Interval\_\_c                   | double        | Create, Filter, Nillable, Sort, Update                                     | The length of the arrival time slot in minutes.                                                                                                                                                                                                                     |
| wkfsl\_\_Time_To_Stagger\_\_c                 | time          | Create, Filter, Nillable, Sort, Update                                     | The time when the scheduled job to calculate staggering starts running.                                                                                                                                                                                             |
| wkfsl\_\_Timezone\_\_c                        | string        | Create, Filter, Group, Nillable, Sort, Update                              | The time zone for the service territory linked to this facility plan.                                                                                                                                                                                               |
| wkfsl\_\_Work_Type\_\_c                       | reference     | Create, Filter, Group, Nillable, Sort, Update                              | The custom work type associated with this plan. This field is available in package version 1.73 and later.                                                                                                                                                          |
