---
schema_version: "1"
id: 5f640fd2939d0b36977af64bf20e074ded8970ffb38f9d340afd55142c8e8ec5
title: AccountPlanObjMeasCalcDef
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_tooling/tooling_api_objects_accountplanobjmeascalcdef.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/tooling_api_objects_accountplanobjmeascalcdef.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f5d657c139a0b7d00d5583c84f06432cdef531c8a6ced426f9bc32a0be1118b0
description: Represents the metadata associated with an account plan objective measure calculation definition. An account plan objective measure calculation definition contains a target object, rollup field, and logic for calculating the current value of a sales account plan objective measure. This object is available in API version 63.0 and later.
---
# AccountPlanObjMeasCalcDef

Represents the metadata associated with an account plan objective measure calculation definition. An account plan objective measure calculation definition contains a target object, rollup field, and logic for calculating the current value of a sales account plan objective measure. This object is available in API version 63.0 and later.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_tooling.meta/api_tooling/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

## Supported SOAP API Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

## Supported REST API Methods

DELETE, GET, HEAD, PATCH, POST, Query

## Special Access Rules

To access AccountPlanObjMeasCalcDef components, enable account plans.

## Fields

| Field | Details |
| --- | --- |
| Description | 
Type

textarea

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

A summary of the calculation definition that’s visible to users when they select the definition for an account plan objective measure.



 |
| DeveloperName | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object’s name in a managed package and the changes are reflected in a subscriber’s organization. Label is **Record Type Name**.



 |
| ManageableState | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Type

ManageableState enumerated list

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

Indicates the manageable state of the specified component that is contained in a package:

- beta
- deleted
- deprecated
- deprecatedEditable
- installed
- installedEditable
- released
- unmanaged









 |
| MasterLabel | 

Type

string

Properties

Create, Filter, Group, Sort, Update

Description

Label for the AccountPlanObjMeasCalcDef object. In the UI, this field is Label.



 |
| NamespacePrefix | 

Type

string

Properties

Filter, Group, Nillable, Sort

Description

The namespace prefix associated with this object. Each Developer Edition organization that creates a managed package has a unique namespace prefix. Limit: 15 characters. You can refer to a component in a managed package by using the namespacePrefix\_\_componentName notation.

The namespace prefix can have one of the following values:

- In Developer Edition organizations, the namespace prefix is set to the namespace prefix of the organization for all objects that support it. There is an exception if an object is in an installed managed package. In that case, the object has the namespace prefix of the installed managed package. This field’s value is the namespace prefix of the Developer Edition organization of the package developer.
- In organizations that are not Developer Edition organizations, NamespacePrefix is only set for objects that are part of an installed managed package. There is no namespace prefix for all other objects.





 |
| RollupType | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

The method for calculating the account plan objective measure’s current value from records that match the calculation definition and any optional conditions.

Possible values are:

- Count
- Max—Maximum
- Min—Minimum
- Sum





 |
| Status | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort, Update

Description

Specifies the status of the calculation definition. Only active calculation definitions are available for users to select when they specify an account plan objective measure.

Possible values are:

- Active
- Draft
- Inactive





 |
| TargetField | 

Type

picklist

Properties

Create, Filter, Group, Nillable, Restricted picklist, Sort, Update

Description

The field on TargetObject to use for calculating the account plan objective measure’s current value. Rollup fields on the Campaign, Case, Contact, or Opportunity object are supported.

In Setup, this field’s label is Rollup Field.



 |
| TargetObject | 

Type

picklist

Properties

Create, Filter, Group, Restricted picklist, Sort

Description

The object to use for calculating the account plan objective measure’s current value.

Possible values are:

- Campaign
- Case
- Contact
- Opportunity





 |
| ValueType | 

Type

picklist

Properties

Filter, Group, Nillable, Restricted picklist, Sort

Description

The data type for calculating the account plan objective measure’s current value.

Possible values are:

- Currency
- Number
- Percent





 |