---
schema_version: "1"
id: 7b95c2085b2d29e2a4ed1be8bc8faf3268d0f2ff3ed94cc15c7b7b03051948c8
title: WorkOrderLineItemHistory
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_workorderlineitemhistory.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_workorderlineitemhistory.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 44bc31b0a1fd0737eafb648b1c0466c415367a1bf902a24cfde193a593b9fadb
description: Represents the history of changes made to tracked fields on a work order line item. This object is available in API version 36.0 and later.
---
# WorkOrderLineItemHistory

Represents the history of changes made to tracked fields on a work order line item. This object is available in API version 36.0 and later.

## Supported Calls

describeSObjects(), getDeleted(), getUpdated(), query(), retrieve()

You can also enable delete() in API version 42.0 and later. See [Enable delete of Field History and Field History Archive](https://help.salesforce.com/articleView?id=000321814&type=1&mode=1&language=en_US "HTML (New Window)").

## Special Access Rules

Work orders or Field Service must be enabled in your organization, and field tracking for work order line item fields must be configured.

## Fields

| Field Name | Details |
| --- | --- |
| DataType | 
Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Data type of the field that was changed.



 |
| Field | 

Type

picklist

Properties

Filter, Group, Restricted picklist, Sort

Description

The name of the field that was changed.



 |
| NewValue | 

Type

anyType

Properties

Nillable, Sort

Description

The new value of the field that was changed.



 |
| OldValue | 

Type

anyType

Properties

Nillable, Sort

Description

The value of the field before it was changed.



 |
| WorkOrderLineItemId | 

Type

reference

Properties

Filter, Group, Sort

Description

ID of the work order line item being tracked. The history is displayed on the detail page for this record.

This is a relationship field.

Relationship Name

WorkOrderLineItem

Relationship Type

Lookup

Refers To

WorkOrderLineItem



 |