---
schema_version: "1"
id: fae9a931ae8ad2bf64dc9835454c2f7ad8c9cedd2a54f3facd357c51744b558a
title: WorkOrderLineItem 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-workorderlineitem.md
canonical_url: https://developer.salesforce.com/docs/service/field-service-dev/guide/fsl-custom-fields-object-workorderlineitem.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c489045398de1cd04b6389984b80e57b952ceaec647d9e1ef393a96685653f26
products:
  - Field Service Developer Guide
  - Service Cloud Developer Content
---

# WorkOrderLineItem Custom Fields

Custom fields associated with a subtask on a work order in field service.

The standard fields are documented in the [WorkOrderLineItem](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workorderlineitem.htm) object reference.

## Supported Calls

`create()`, `delete()`, `describeLayout()`, `describeSObjects()`, `getDeleted()`, `getUpdated()`, `query()`, `retrieve()`, `search()`, `undelete()`, `update()`, `upsert()`

## Special Access Rules

Field Service managed package must be installed.

**See Also**  


-   [Salesforce Object Reference: WorkOrderLineItem](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workorderlineitem.htm)
-   [Salesforce Help: Fill Schedule Gaps](https://help.salesforce.com/articleView?id=service.pfs_fill_schedule.htm&type=5)
-   [Salesforce Help: Work Rule Type: Service Appointment Visiting Hours](https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules_visiting_hours.htm&type=5)

## Fields

### FSL__IsFillInCandidate__c

-   **Type**: boolean
-   **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
-   **Description**: Determines if this work order line item is considered as a candidate when filling in a schedule with the Fill-In Schedule feature. If a service appointment’s parent record is a work order line item, this field must also be set to true for the appointment to be a candidate. Alternatively, you can create a custom checkbox field through the Field Service Settings page, instead of using this field, to evaluate whether this appointment is considered as a candidate. The custom checkbox field includes formula fields.

    For more info, view the [Fill Schedule Gaps](https://help.salesforce.com/articleView?id=service.pfs_fill_schedule.htm&type=5) Help article.

-   **Default value**: `true`

### FSL__VisitingHours__c

-   **Type**: reference
-   **Properties**: Create, Filter, Group, Nillable, Sort, Update
-   **Description**: The visiting hours that define when service appointments associated with the work order line item can be scheduled. Visiting hours are enforced only if the Visiting Hours work rule is part of the scheduling policy.

    For more info, view the [Work Rule Type: Service Appointment Visiting Hours](https://help.salesforce.com/s/articleView?id=service.pfs_optimization_theory_work_rules_visiting_hours.htm&type=5) Help article.

    This is a relationship field.

-   **Relationship Name**: FSL__VisitingHours__r
-   **Relationship Type**: Lookup
-   **Refers To**: OperatingHours

