---
schema_version: "1"
id: 233566b90c56ad1b8e8dd0f4de1541e80d9675c5cd720a07007d1308725f1619
title: AccountProductForecast
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_accountproductforecast.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_accountproductforecast.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 640fec7d63a817baf319b14535d695b1b236a8ae3d35e5cdd9c09b5b96959c91
description: Represents the cumulative values for planned quantities, opportunities, and orders of a sales agreement for a given product across all periods in that rolling time period. This object is available in API version 47.0 and later.
---
# AccountProductForecast

Represents the cumulative values for planned quantities, opportunities, and orders of a sales agreement for a given product across all periods in that rolling time period. This object is available in API version 47.0 and later.

## Supported Calls

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

## Fields

### AccountForecastId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: ID of the account forecast record which the account product is part of.

### IsActive

- **Type**: boolean
- **Properties**: Defaulted on create, Filter, Group, Sort
- **Description**: Indicator of whether the product is active or not.

### IsSystemGenerated

- **Type**: boolean
- **Properties**: Defaulted on create, Filter, Group, Sort
- **Description**: Indicator of whether the record was manually inserted or system-generated.

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

### ProductId

- **Type**: reference
- **Properties**: Filter, Group, Sort
- **Description**: ID of the product.

### TotalAdjustedForecastedQuantity

- **Type**: double
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Total forecasted quantity after manual adjustments are made.

### TotalAdjustedForecastedRevenue

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Total forecasted revenue after manual adjustments are made.

### TotalCurrentOrdersQuantity

- **Type**: double
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Total quantity derived from orders in the current period.

### TotalCurrentOrdersRevenue

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Total revenue derived from orders in the current period.

### TotalForecastedQuantity

- **Type**: double
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Total forecasted quantity before manual adjustments are made.

### TotalForecastedRevenue

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Total forecasted revenue before a manual adjustment is made.

### TotalOpportunityQuantity

- **Type**: double
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Total quantity derived from opportunities in the current period.

### TotalOpportunityRevenue

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Total revenue derived from opportunities in the current period.

### TotalPastOrdersQuantity

- **Type**: double
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Total quantity derived from orders in the last forecast period.

### TotalPastOrdersRevenue

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Total revenue derived from orders in the last forecast period.

### TotalSalesAgreementPlannedQuantity

- **Type**: double
- **Properties**: Filter, Group, Nillable, Sort
- **Description**: Total planned quantity derived from sales agreements in the current period.

### TotalSalesAgreementPlannedRevenue

- **Type**: double
- **Properties**: Filter, Nillable, Sort
- **Description**: Total planned revenue derived from sales agreements in the current period.