---
schema_version: "1"
id: 13a0b39518b2df4aaa3ae86b3f2bf1403fabc436697dc23887c862865362fcd2
title: SubjectProduct
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_subjectproduct.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_subjectproduct.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 784d27efb4a1c6809dfff67a8797dc255674eb37a48f85a17e29060fa47a8672
description: Represents a junction between a managed event subject and the product that the subject belongs to. This object is available in API version 67.0 and later.
---
# SubjectProduct

Represents a junction between a managed event subject and the product that the subject belongs to. This object is available in API version 67.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.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the subject product.

### ProductReferenceRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Required. The ID of the product or category associated with the subject product.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: ProductReferenceRecord
- **Refers To**: LifeSciMarketableProduct, Product2, ProductCategory

### SourceSystem

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The name of the external system that generated the record.

### SourceSystemIdentifier

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Nillable, Sort, Update
- **Description**: The ID of the record in the external system.

### SubjectId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The ID of the subject associated with the subject product.
    
    This field is a relationship field.
- **Relationship Name**: Subject
- **Relationship Type**: Master-detail
- **Refers To**: Subject (the master object)

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

SubjectProductFeed

Feed tracking is available for the object.

SubjectProductHistory

History is available for tracked fields of the object.