---
schema_version: "1"
id: 9eb3b9b93c4dc376f2c3a01ffcbe58c87ab95edd6683414fb409a26b33331e0f
title: ActionPlanTemplateVersion
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/lsc_sforce_api_objects_actionplantemplateversion_pec.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/lsc_sforce_api_objects_actionplantemplateversion_pec.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 64ecd83a76115094b1ad701a0ae7597909b61363abed3ea2469c7c160126980d
description: Represents the version of an action plan template.
---
# ActionPlanTemplateVersion

Represents the version of an action plan template.

The ActionPlanTemplateVersion object and its fields are used by the Key Account Management and the Provider Engagement Compliance feature areas. This topic only lists the fields used in Provider Engagement Compliance. To learn about the fields that are used in Key Account Management, see the ActionPlanTemplateVersion object documentation in the Key Account Management section.

## Supported Calls

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

## Fields

### ActionPlanTemplateId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort
- **Description**: The ID of the compliance program template that the action plan template version represents.
    
    This field is a relationship field.
- **Relationship Name**: ActionPlanTemplate
- **Relationship Type**: Master-detail
- **Refers To**: ActionPlanTemplate (the master object)

### ActivationDateTime

- **Type**: dateTime
- **Properties**: Create, Filter, Nillable, Sort
- **Description**: The date when the provider engagement compliance template becomes active.

### 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 is not 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 action plan template version.