---
schema_version: "1"
id: cf7245a98e8a8798ef91f6e63e444673fc8f6485269e68432d6fcc351d8adadd
title: FSL__Time_Dependency__c
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_fsl__time_dependency__c.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_fsl__time_dependency__c.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6f41695af8d45c799ccfc70c45edc1a5fe6d538f5bd019dca92c693eb534a802
description: Represents a dependency between two service appointments. This object is used to define scheduling relationships between two appointments. It allows you to determine the order and timing in which dependent appointments should be scheduled.
---
# FSL\_\_Time\_Dependency\_\_c

Represents a dependency between two service appointments. This object is used to define scheduling relationships between two appointments. It allows you to determine the order and timing in which dependent appointments should be scheduled.

## Supported Calls

create(), delete(), describeLayout(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), search(), undelete(), update(), upsert()

## Special Access Rules

This object is available in orgs that have the Field Service managed package installed. Records of this object are subject to standard sharing and security settings.

## Fields

### FSL\_\_Dependency\_\_c

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Sort, Update
- **Description**: The type of the dependency. Possible values are:
    - Immediately Follow
    - Same Start
    - Start After Finish
    - Start After Finish And Same Day
- **Default value**: Same Start

### FSL\_\_Root\_Service\_Appointment\_\_c

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The service appointment that’s the root appointment of the entire dependency chain. The root appointment is the same service appointment for all the dependencies in the chain. This field is automatically populated by the system when creating a dependency. When creating a dependency via API, the API user must have permissions for this field. We recommend leaving this field empty when a dependency is created and avoiding any custom modifications. This field is a relationship field.
- **Relationship Name**: FSL\_\_Root\_Service\_Appointment\_\_r
- **Relationship Type**: Lookup
- **Refers To**: ServiceAppointment

### FSL\_\_Same\_Resource\_\_c

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: An indication of whether the two service appointments that share a dependency should be assigned to the same service resource.
- **Default value**: false

### FSL\_\_Service\_Appointment\_1\_\_c

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The first service appointment on which the second service appointment is dependent. This field is a relationship field.
- **Relationship Name**: FSL\_\_Service\_Appointment\_1\_\_r
- **Relationship Type**: Master-detail
- **Refers To**: ServiceAppointment (the master object)

### FSL\_\_Service\_Appointment\_2\_\_c

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The second service appointment that’s dependent on the first service appointment. This field is a relationship field.
- **Relationship Name**: FSL\_\_Service\_Appointment\_2\_\_r
- **Relationship Type**: Lookup
- **Refers To**: ServiceAppointment

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: An auto-generated unique identifier for the appointment dependency record.