---
schema_version: "1"
id: c8074d876c6988c3f4dda2fd442de804324f0628978b3ffdfee81c12dc957580
title: EventPlan
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_eventplan.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_eventplan.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 23d85d4eb79062ea8f34e431f38a23d80c8fffe000b305736269471bfc02d92c
description: Represents the plan for an event type. This object is available in API version 67.0 and later.
---
# EventPlan

Represents the plan for an event type. 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

### Category

- **Type**: picklist
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: Specifies the category of event plan.

### CountryId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The country that the event plan is for.
    
    This field is a relationship field.
- **Relationship Name**: Country
- **Refers To**: GeoCountry

### Description

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The description of the event plan, including the objectives for the plan.

### EndDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The end date and time of the event plan.

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

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the owner of this record.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Refers To**: Group, User

### PrimaryOwnerId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The user who is the primary owner of the event plan.
    
    This field is a relationship field.
- **Relationship Name**: PrimaryOwner
- **Refers To**: User

### StartDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The start date and time of the event plan.

### Status

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Required. Specifies the status of the event plan.
- **Possible values**:
    - Active
    - Archived
    - Draft

### UsageType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Required. Specifies the type of business process that the record is for.
- **Possible values**:
    - ManagedEvent—Managed Event

### VersionNumber

- **Type**: int
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The version number of the event plan.

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

EventPlanFeed

Feed tracking is available for the object.

EventPlanHistory

History is available for tracked fields of the object.

EventPlanShare

Sharing is available for the object.