---
schema_version: "1"
id: 22ac198f774cdc62f2fade5946ee614ab03a82241c0a9c091145c985fd440713
title: TodayGoal
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_todaygoal.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_todaygoal.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1471733e1e9acce78393b9f6773fa24376845493ea47d5b5fda3dfd07257473f
description: Sets the quarterly sales goal on the performance chart. This object is available in API version 35.0 and later.
---
# TodayGoal

Sets the quarterly sales goal on the performance chart. This object is available in API version 35.0 and later.

## Supported Calls

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

## Fields

| Field | Details |
| --- | --- |
| IsLocked | 
Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Returns true if the goal is locked, or false if it’s not.

The default value is false.



 |
| MayEdit | 

Type

boolean

Properties

Defaulted on create, Filter, Group, Sort

Description

Indicates whether the goal can be edited (true) or not (false).

The default value is false.



 |
| Name | 

Type

string

Properties

Autonumber, Defaulted on create, Filter, idLookup, Sort

Description

The name of the goal.



 |
| OwnerId | 

Type

reference

Properties

Create, Defaulted on create, Filter, Group, Sort, Update

Description

The ID of the creator of the goal.

This field is a polymorphic relationship field.

Relationship Name

Owner

Refers To

Group, User



 |
| UserId | 

Type

reference

Properties

Create, Filter, Group, Sort, Update

Description

The ID of the user of the goal.

This field is unique within your organization.

This field is a relationship field.

Relationship Name

User

Refers To

User



 |
| Value | 

Type

currency

Properties

Create, Filter, Nillable, Sort, Update

Description

The customizable sales goal for the quarter.



 |

## Usage

This object is specific to the performance chart and has no impact on forecast quotas or any other type of goal. The performance chart is available on the home page when Seller Home is not enabled.

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

[TodayGoalChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_associated_objects_change_event.htm "A ChangeEvent object is available for each object that supports Change Data Capture. You can subscribe to a stream of change events using Change Data Capture to receive data tied to record changes in Salesforce. Changes include record creation, updates to an existing record, deletion of a record, and undeletion of a record. A change event isn’t a Salesforce object—it doesn’t support CRUD operations or queries. It’s included in the object reference so you can discover which Salesforce objects support change events.")

Change events are available for the object.

[TodayGoalShare](https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/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.