---
schema_version: "1"
id: 11ec61f4f002fa60f48b0fed8d9e152797d3fef1c6e9cb5396e69547b1f0bdc7
title: ProductRequestLineItem
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_productrequestlineitem.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_productrequestlineitem.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 09acf73f5b5f4b00b6a5377668fa9d2065d1549b816d7c52af020432702b395c
description: Represents a request for a part in field service. Product request line items are components of product requests.
---
# ProductRequestLineItem

Represents a request for a part in field service. Product request line items are components of product requests.

## Supported Calls

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

## Special Access Rules

Field Service must be enabled. You can't use product request line item as a master in an master detail relationship (through a custom field) with a custom object with data.

## Fields

| Field Name | Details |
| --- | --- |
| AccountId | 
Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The account associated with the product request line item.

This is a relationship field.

Relationship Name

Account

Relationship Type

Lookup

Refers To

Account



 |
| CareProgramEnrolleeId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The ID of the care program enrollee associated with the product request line item. This field is available from API version 49.0 and later.

This is a relationship field.

Relationship Name

CareProgramEnrollee

Relationship Type

Lookup

Refers To

CareProgramEnrollee



 |
| CaseId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The case associated with the product request line item.

This is a relationship field.

Relationship Name

Case

Relationship Type

Lookup

Refers To

Case



 |
| Description | 

Type

textarea

Properties

Create, Nillable, Update

Description

Details not recorded in the provided fields.





 |
| DestinationLocationId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Where the product is delivered.

This is a relationship field.

Relationship Name

DestinationLocation

Relationship Type

Lookup

Refers To

Location



 |
| LastReferencedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last interacted with this record, directly or indirectly.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The timestamp when the current user last viewed this record or list view. If this value is null, it’s possible that the user only accessed this record or list view (LastReferencedDate), but not viewed it.



 |
| NeedByDate | 

Type

dateTime

Properties

Create, Filter, Nillable, Sort, Update

Description

Date the product must be delivered by.



 |
| ParentId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The product request that the line item belongs to.

This is a relationship field.

Relationship Name

Parent

Relationship Type

Lookup

Refers To

ProductRequest



 |
| Product2Id | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The product associated with the product request line item.

This is a relationship field.

Relationship Name

Product2

Relationship Type

Lookup

Refers To

Product2



 |
| ProductRequestLineItemNumber | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

(Read Only) An auto-assigned number that identifies the product request line item.



 |
| QuantityRequested | 

Type

double

Properties

Create, Filter, Sort, Update

Description

The amount requested.



 |
| QuantityUnitOfMeasure | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Units of the requested product; for example, grams, liters, or units. The picklist values can be customized.



 |
| ShipToAddress | 

Type

address

Properties

Filter, Nillable

Description

The physical address where the product is needed.



 |
| ShipToCity | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The city of the address where the product is needed.



 |
| ShipToCountry | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The country of the address where the product is needed.



 |
| ShipToGeocodeAccuracy | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

Accuracy level of the geocode for the address where the product is needed. See [Compound Field Considerations and Limitations](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/compound_fields_limitations.htm#compound_fields_limitations "Address and geolocation compound fields are convenient and result in more concise, clear code. Here are some things to consider when using them in your apps.") for details on geolocation compound fields. This field is available in the API only.



 |
| ShipToLatitude | 

Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

Used with Longitude to specify the precise geolocation of the address where the product is needed. Acceptable values are numbers between –90 and 90 with up to 15 decimal places. See [Compound Field Considerations and Limitations](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/compound_fields_limitations.htm#compound_fields_limitations "Address and geolocation compound fields are convenient and result in more concise, clear code. Here are some things to consider when using them in your apps.") for details on geolocation compound fields. This field is available in the API only.



 |
| ShipToLongitude | 

Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

Used with Latitude to specify the precise geolocation of the address where the product is needed. Acceptable values are numbers between –180 and 180 with up to 15 decimal places. See [Compound Field Considerations and Limitations](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/compound_fields_limitations.htm#compound_fields_limitations "Address and geolocation compound fields are convenient and result in more concise, clear code. Here are some things to consider when using them in your apps.") for details on geolocation compound fields. This field is available in the API only.



 |
| ShipToPostalCode | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The postal code of the address where the product is needed.



 |
| ShipToState | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The state of the address where the product is needed.



 |
| ShipToStreet | 

Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The street of the address where the product is needed.



 |
| ShipmentType | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Sort, Update

Description

The type of shipment. The picklist includes the following values, which can be customized:

- Rush
- Overnight
- Next Business Day
- Pick Up





 |
| SourceLocationId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Where the product is at the time of the request.

This is a relationship field.

Relationship Name

SourceLocation

Relationship Type

Lookup

Refers To

Location



 |
| Status | 

Type

picklist

Properties

Create, Defaulted on create, Filter, Group, Nillable, Sort, Update

Description

The status of the shipment. The picklist includes the following values, which can be customized:

- Draft
- Submitted
- Received





 |
| WorkOrderId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The work order for which the product is needed.

This is a relationship field.

Relationship Name

WorkOrder

Relationship Type

Lookup

Refers To

WorkOrder



 |
| WorkOrderLineItemId | 

Type

reference

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The work order line item for which the product is needed.

This is a relationship field.

Relationship Name

WorkOrderLineItem

Relationship Type

Lookup

Refers To

WorkOrderLineItem



 |

## Associated Objects

This object has the following associated objects. If the API version isn’t specified, they’re available in the same API versions as this object. Otherwise, they’re available in the specified API version and later.

[ProductRequestLineItemChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.") (API version 48.0)

Change events are available for the object.

[ProductRequestLineItemFeed](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[ProductRequestLineItemHistory](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.