---
schema_version: "1"
id: 8f3bc4deb276e9d13bd28931b494a506388a5120ef211f69225b8fd0591897e0
title: EventPlanProduct
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_eventplanproduct.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_eventplanproduct.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 9d427a7b762dce46ad22e39fecae9210417e48b1ec7ff41a87d0217072e809da
description: Represents a junction between an event plan and a product or category that's part of the event plan. This object is available in API version 67.0 and later.
---
# EventPlanProduct

Represents a junction between an event plan and a product or category that's part of the event plan. This object is available in API version 67.0 and later.

## Supported Calls

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

## Fields

### CurrentEventCount

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The number of events that the product or category has currently been a part of.

### CurrentTotalSpendAmount

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The amount that has spent across on the product or category across all events.

### EventPlanId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Required. The event plan that the related product or category is a part of.
    
    This field is a relationship field.
- **Relationship Name**: EventPlan
- **Relationship Type**: Master-detail
- **Refers To**: EventPlan (the master object)

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

### MaxEventLimit

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The maximum number of events the product or category can be a part of.

### MaxSpendAmtLimit

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The maximum amount that can be spent for the product or category across all events.

### MaxSpendAmtLimitPerEvent

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The maximum amount that can be spent on the product or category for an event.

### Name

- **Type**: string
- **Properties**: Autonumber, Defaulted on create, Filter, idLookup, Sort
- **Description**: The autogenerated number of the event plan product.

### ProductCategoryId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The category associated with the event plan product.
    
    This field is a relationship field.
- **Relationship Name**: ProductCategory
- **Refers To**: ProductCategory

### ProductId

- **Type**: reference
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: The product associated with the event plan product.
    
    This field is a relationship field.
- **Relationship Name**: Product
- **Refers To**: Product2

### ProductReferenceId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Required. The product or category that is part of the event plan.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: ProductReference
- **Refers To**: Product2, ProductCategory

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

EventPlanProductFeed

Feed tracking is available for the object.

EventPlanProductHistory

History is available for tracked fields of the object.