---
schema_version: "1"
id: 8c0346f373be0f2489c9d1d5c890bfdc4d62adfa3242441b65bca60c9db0939f
title: WorkOrderLineItemStatus
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_workorderlineitemstatus.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workorderlineitemstatus.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 91f18d56ce00a2555bbabdc62c356c924e63be3e7dcf45ae22a5e4426df93870
description: Represents a possible status of a work order line item in field service.
---
# WorkOrderLineItemStatus

Represents a possible status of a work order line item in field service.

## Supported Calls

describeSObjects(), query(), retrieve()

## Special Access Rules

Field Service must be enabled.

## Fields

| Field Name | Details |
| --- | --- |
| ApiName | 
Type

string

Properties

Filter, Group, idLookup, Sort

Description

The API name of the status value.



 |
| IsDefault | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates that the status value is the default status on work orders. Only one status value can be the default.



 |
| MasterLabel | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The label for the picklist value that appears in the UI.



 |
| SortOrder | 

Type

int

Properties

Filter, Group, Nillable, Sort

Description

The value’s position in the drop-down list of values in the UI.



 |
| StatusCode | 

Type

picklist

Properties

Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort

Description

The status category that the value corresponds to. The Status Category field has seven values which are identical to the default Status values.



 |

## Usage

The Status field on work order line items comes with the following values:

- New—Line item was created, but there hasn’t yet been any activity.
- In Progress—Work has begun.
- On Hold—Work is paused.
- Completed—Work is complete.
- Cannot Complete—Work could not be completed.
- Closed—All work and associated activity is complete.
- Canceled—Work is canceled, typically before any work began.

The WorkOrderLineItemStatus object corresponds to the Status field. Adding a value to the Status field—for example, Canceled By Customer—creates a work order line item status record, and vice versa.

![Note](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/images/icon_note.png)

#### Note

Work order line items also come with a StatusCategory field whose values are identical to the default Status values. If you create custom Status values, you must indicate which category it belongs to. For example, if you create a Customer Absent value, you may decide that it belongs in the Cannot Complete category. To learn which processes reference StatusCategory, see [How are Status Categories Used?](https://help.salesforce.com/articleView?id=fs_status_categories.htm&language=en_US)