---
schema_version: "1"
id: e4f8b974d2f8dd59872153d059fd0bdd9858fe851e0e788d9c9a5f86d5895e88
title: AccountPlanObjMeasCalcCond
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_accountplanobjmeascalccond.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_accountplanobjmeascalccond.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: d6d23d698b2627df6d861e9658e1e5351ff03f004b3f85e79bd4da67088fbf56
description: Represents a field and value combination for filtering records to include in the calculation of a sales account plan objective measure’s current value. This object is available in API version 63.0 and later.
---
# AccountPlanObjMeasCalcCond

Represents a field and value combination for filtering records to include in the calculation of a sales account plan objective measure’s current value. This object is available in API version 63.0 and later.

## Supported Calls

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

## Special Access Rules

This object is available if sales account plans are turned on.

## Fields

| Field | Details |
| --- | --- |
| AccountPlanObjMeasCalcDefId | 
Type

reference

Properties

Create, Filter, Group, Sort

Description

The account plan objective measure calculation definition where this criteria is used.

This field is a relationship field.

Relationship Name

AccountPlanObjMeasCalcDef

Relationship Type

Master-detail

Refers To

AccountPlanObjMeasCalcDef



 |
| FieldName | 

Type

picklist

Properties

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

Description

A field on the calculation definition’s TargetObject that you want to filter by. Fields on the Campaign, Case, Contact, or Opportunity objects are supported.



 |
| Operation | 

Type

picklist

Properties

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

Description

The logical operator for matching records with the specified field value.

Possible values are:

- Contains
- Equals
- GreaterOrEqual
- GreaterThan
- LessOrEqual
- LessThan
- NotContain
- NotEqual
- StartsWith





 |
| Value | 

Type

string

Properties

Create, Filter, Group, Nillable, Sort, Update

Description

The value to match for the specified field.



 |

## Usage

Let’s say that a calculation definition tracks the currency amount on Closed Won opportunities. The calculation definition’s TargetObject is Opportunity, and the condition further specifies these values.

- FieldName is StageName.
- Operation is Equals.
- Value is ClosedWon.