---
schema_version: "1"
id: 493ee461ea9362f99a24b70efaee5858b60790c439fa5740079f275d3b92e96d
title: ProductRequired
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_productrequired.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_productrequired.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7ceb2f0f36fe5076e9e6997e813e3ce4c57eb675480d2da8030c67c7f17dc6da
description: Represents a product that is needed to complete a work order or work order line item. This object is available in API version 60.0 and later.
---
# ProductRequired

Represents a product that is needed to complete a work order or work order line item. This object is available in API version 60.0 and later.

## Supported Calls

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

## Fields

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### 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, and LastReferenceDate isn’t null, the user accessed this record or list view indirectly.

### ParentRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The work order or work order line item for which the product is required.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: ParentRecord
- **Relationship Type**: Lookup
- **Refers To**: Visit, WorkOrder, WorkOrderLineItem

### ParentRecordType

- **Type**: string
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Specifies 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**: The 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 values are inherited from the Quantity Unit of Measure field on products.
- **Possible values**:
    - Each