---
schema_version: "1"
id: 98ca5fcefbf86f8533cce64e2ca2a9684fa3d103dcd8c9047f3e15da48c721bf
title: ProductFaultCode
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/automotive_cloud/sforce_api_objects_productfaultcode.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.automotive_cloud.meta/automotive_cloud/sforce_api_objects_productfaultcode.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f805757d1cefb582664cd4ddd857dc788d2ec38ff0011957b536edc9a6600a67
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()

## Special Access Rules

Automotive and Warranty Lifecycle Management must be enabled.

## 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**: The product family associated with the fault code. Possible value is:

- 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

## 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.

- [ProductFaultCodeFeed](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/sforce_api_associated_objects_feed.htm): Feed tracking is available for the object.
- [ProductFaultCodeHistory](https://developer.salesforce.com/docs/atlas.en-us.264.0.industries_reference.meta/industries_reference/sforce_api_associated_objects_history.htm): History is available for tracked fields of the object.