---
schema_version: "1"
id: 6fc83c1c1346ae3bb3c62b21fcfe5f4bd1f80523b3f41f44ac6655a87b55c37a
title: ActivityPlan
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/sforce_api_objects_activityplan.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_objects_activityplan.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7f6857f93486edd92f5a24a3af1c47687ac92f69a0c3c4325792d398245723e5
description: Represents the user's activity goals for the cycle. This object is available in API version 65.0 and later.
---
# ActivityPlan

Represents the user's activity goals for the cycle. This object is available in API version 65.0 and later.

## Supported Calls

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

## Fields

### ActivityChgRvwThresholdPct

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The maximum percentage by which an account's overall activity goal can be changed during the review of a future activity plan.

### AssigneeDueDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The due date for the activity plan assignee to review the activity plan.

### AssigneePlanAdjEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date by which the assignee must complete the activity plan adjustments.

### AssigneePlanAdjStartDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date when the assignee can start making adjustments to the activity plan.

### Comment

- **Type**: textarea
- **Properties**: Create, Nillable, Update
- **Description**: Stores the comments or observations on the activity plan.

### IsActive

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Determines whether the activity plan is active (true) or not (false).
- **Default value**: false

### IsCalculationEnabled

- **Type**: boolean
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: Determines whether plan calculations are enabled for this activity plan (true) or not (false).
- **Default value**: false

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: 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**: Timestamp when the current user last viewed the 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 activity plan.

### OwnerId

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

### ParentRecordId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The parent activity plan for this activity plan.
    
    This field is a relationship field.
- **Relationship Name**: ParentRecord
- **Refers To**: ActivityPlan

### ReviewerDueDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The due date for the activity plan reviewer to approve any changes made by the assignee.

### ReviewerPlanAdjEndDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date by which the approver must complete approving the assignee's activity plan adjustments.

### ReviewerPlanAdjStartDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The date when the reviewer can start approving the assignee's activity plan adjustments.

### SourceSystemIdentifier

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

### SourceSystemName

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The name of the system from which data is loaded into this object.

### Status

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: The status of the activity plan.
- **Possible values**:
    - AdminReview—Admin Review
    - Approved
    - EmployeeReview—Employee Review
    - InProgress—In Progress
    - ManagerReview—Manager Review
    - Rejected
    - Submitted

### TerritoryList

- **Type**: string
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: A list of territories included in this activity plan.

### TimePeriodId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The period of the activity plan, for example, FY 2024.
    
    This field is a relationship field.
- **Relationship Name**: Period
- **Refers To**: Period

### TotalAcctAdjThresholdPct

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The maximum percentage by which the total number of accounts in an active activity plan can be changed during the adjustment phase.

### TotalAcctChgThresholdPct

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The maximum percentage by which the total number of accounts in the activity plan can be changed during the review of a future activity plan.

### TotalActvtyChgThresholdPct

- **Type**: percent
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The maximum percentage by which the combined overall goals of all accounts can be changed during the review of a future activity plan.

### TotalAllowAdjRequestCount

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The total number of approved plan adjustment requests allowed for an active activity plan.

### Type

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Indicates the type of the activity plan.
- **Possible values**:
    - AccountGoal—Account Goal
    - AccountGoalShared—Account Goal Shared
    - WeightedTerritoryGoals—Weighted Territory Goals

### UsageType

- **Type**: picklist
- **Properties**: Create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: Indicates the usage type of the activity plan.
- **Possible values**:
    - ProviderPlanCycle—Provider Plan Cycle

### WorkingDayCount

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The number of working days available for the activity 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.

[ActivityPlanFeed](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_feed.htm "StandardObjectNameFeed is the model for all feed objects associated with standard objects. These objects represent the posts and feed-tracked changes of a standard object.")

Feed tracking is available for the object.

[ActivityPlanHistory](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_history.htm "StandardObjectNameHistory is the model for all history objects associated with standard objects. These objects represent the history of changes to the values in the fields of a standard object.")

History is available for tracked fields of the object.

[ActivityPlanShare](https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/sforce_api_associated_objects_share.htm "StandardObjectNameShare is the model for all share objects associated with standard objects. These objects represent a sharing entry on the standard object.")

Sharing is available for the object.