---
schema_version: "1"
id: b79b53820d8cdcfb8d4230f716f2650cebba90bfa75797b2d6bfb5f59d994cf0
title: ProductFaultCode
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_productfaultcode.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_productfaultcode.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 37c777fe92a7cf53e6f75f93203e539d7bb1eb67ea035265bbd330af033f51e7
description: Represents a relationship between a product or product family and the fault code. This object is available in API version 58.0 and later.
---
# ProductFaultCode

Represents a relationship between a product or product family and the fault code. This object is available in API version 58.0 and later.

## Supported Calls

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

## Fields

### FaultCodeId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The fault code associated with the product or product family.
    
    This field is a relationship field.
- **Relationship Name**: FaultCode
- **Relationship Type**: Lookup
- **Refers To**: CodeSet

### 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 is not null, the user accessed this record or list view indirectly.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The auto-generated number for the name of the product fault code.

### ProductFamily

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the product family associated with the fault code.
- **Possible values**:
    - None

### ProductId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The ID of the product associated with the fault code.
    
    This field is a relationship field.
- **Relationship Name**: Product
- **Refers To**: Product2