---
schema_version: "1"
id: d82795e35231c371bf956682ce5fb37c6d447dfd970cba3e63c794de135dd2ce
title: ProductRequired
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_productrequired.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_productrequired.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7c91e32d4dadf550947ae3b6f3d97536abe1ac494f4193eac0e1c4ae95280389
description: Represents a product that is needed to complete a work order or work order line item in field service.
---
# ProductRequired

Represents a product that is needed to complete a work order or work order line item in field service.

## Supported Calls

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

## Special Access Rules

Field Service must be enabled.

## Fields

| Field Name | Details |
| --- | --- |
| LastReferencedDate | 
Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the product required was last modified. Its label in the user interface is Last Modified Date.



 |
| LastViewedDate | 

Type

dateTime

Properties

Filter, Nillable, Sort

Description

The date when the product required was last viewed.



 |
| ParentRecordId | 

Type

reference

Properties

Create, Filter, Group, Sort

Description

The work order or work order line item that the product is required for.

This is a polymorphic relationship field.

Relationship Name

ParentRecord

Relationship Type

Lookup

Refers To

Visit, WorkOrder, WorkOrderLineItem, WorkType



 |
| ParentRecordType | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

Indicates whether the parent record is a work order or a work order line item.



 |
| Product2Id | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The required product.

This is a relationship field.

Relationship Name

Product2

Relationship Type

Lookup

Refers To

Product2



 |
| ProductName | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The name of the product required.



 |
| ProductRequiredNumber | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

(Read only) Auto-generated number identifying the product required.



 |
| QuantityRequired | 

Type

double

Properties

Create, Filter, Nillable, Sort, Update

Description

Quantity required of the product.



 |
| QuantityUnitOfMeasure | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

Units of the required product; for example, kilograms or liters. Quantity Unit of Measure picklist values are inherited from the Quantity Unit of Measure field on products.



 |

## Usage

Required products can be added to work types, work orders, and work order line items to ensure that the assigned service resource arrives with the right equipment.

Adding required products to work types saves you time and keeps your business processes consistent. Work orders and work order line items inherit their work type’s required products. For example, if all light bulb replacement jobs require a ladder and a light bulb, add the ladder and light bulb as required products to your Light Bulb Replacement work type. When it’s time to create a work order for a customer’s light bulb replacement, applying that work type to the work order adds the required products.

## Associated Objects

This object has the following associated objects. Unless noted, they are available in the same API version as this object.

[ProductRequiredChangeEvent](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.")

Change events are available for the object.

[ProductRequiredFeed](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.

[ProductRequiredHistory](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.