---
schema_version: "1"
id: cad76310088bb8c3cdf9df9fb84a36441edf3f852739041b65115d00e6c7251f
title: AccountForecast
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_accountforecast.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_accountforecast.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 1097ddc91552f3b8a257be8b2c80682d69fdcd86aadb11bcac7a1eb5febf2413
description: Represents the rolling forecast record of a particular account. The forecast is prepared using data directly from sales agreements, orders, and opportunities. This object is available in API version 47.0 and later.
---
# AccountForecast

Represents the rolling forecast record of a particular account. The forecast is prepared using data directly from sales agreements, orders, and opportunities. This object is available in API version 47.0 and later.

## Supported Calls

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

## Fields

### AccountId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: ID of the account for which forecast is generated.

### DefaultAccountGrowthPercentage

- **Type**: percent
- **Properties**: Filter, Nillable, Sort
- **Description**: Default value of the account growth metric used to calculate forecast for the first time.
- **Default value**: zero

### DefaultMarketGrowthPercentage

- **Type**: percent
- **Properties**: Filter, Nillable, Sort
- **Description**: Default value of the market growth metric used to calculate forecast for the first time.
- **Default value**: zero

### EndDate

- **Type**: date
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Date till which forecast is generated and displayed for this account.

![Note](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/images/icon_note.png)

#### Note

- End Date of an active account forecast must be null.
- End Date can not be updated.

### LastCalculatedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: Date on which forecast was last calculated, either automatically or manually.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which this record was referenced.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The most recent date on which this record was viewed.

### Name

- **Type**: string
- **Properties**: Filter, Group, idLookup, Sort
- **Description**: Name of the account forecast record.

### OwnerId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: Owner of the account.
    
    ![Note](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/images/icon_note.png)
    
    #### Note
    
    Only the account owner can create the account forecast record.

### StartDate

- **Type**: date
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Date from which forecast is generated and displayed for this account. It is automatically created in active status.

### Status

- **Type**: picklist
- **Properties**: Defaulted on create, Filter, Group, Restricted picklist, Sort
- **Description**: Status of the forecast record.
    
    ![Note](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/images/icon_note.png)
    
    #### Note
    
    - There can be only 1 active account forecast at any time.
    - An existing account forecast must be expired before creating a new one.
    - Active account forecast records must be expired before deleting them.
    - You can’t change status from Expired to Active.
- **Possible values**:
    - Active
    - Expired

### TotalAdjustedRevenue

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Total revenue after manual adjustments are made to the auto-calculated forecast value.

### TotalRevenue

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Total revenue as calculated by the application based on forecast calculations.

## Associated Object

This object has the following associated object. Unless noted, it is available in the same API version as this object.

**[AccountForecastChangeEvent](https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/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.") (API Version 62.0):** Change events are available for the object.