---
schema_version: "1"
id: 567dd7aafca089b7fefc64b820b789b9fc3250a439ed4d441f4948c03307527c
title: EventPlanSubject
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_eventplansubject.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_eventplansubject.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: fc11843368251dfc698b4291773980df6a0c40b115196804d7bf9f43489b9059
description: Represents a junction between an event plan and a subject that's part of the event plan. This object is available in API version 67.0 and later.
---
# EventPlanSubject

Represents a junction between an event plan and a subject 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 subject has currently been a part of.

### CurrentTotalSpendAmount

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

### EventPlanId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: Required. The event plan that the related subject 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 subject can be a part of.

### MaxSpendAmtLimit

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

### MaxSpendAmtLimitPerEvent

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

### Name

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

### SubjectId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: Required. The subject that is part of the event plan.
    
    This field is a relationship field.
- **Relationship Name**: Subject
- **Refers To**: Subject

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

EventPlanSubjectFeed

Feed tracking is available for the object.

EventPlanSubjectHistory

History is available for tracked fields of the object.