---
schema_version: "1"
id: 80b0005ef8e0ed389d2acd0e48636b574cbe87470ec5aeff2838ad000c64e6e7
title: AdvAccountForecastFact
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/mfg_api_devguide/sforce_api_objects_advaccountforecastfact.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.mfg_api_devguide.meta/mfg_api_devguide/sforce_api_objects_advaccountforecastfact.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f8de365233166bd808bb44ade0ab6f32bf81c8b0aa5d4785273ec38bfcdabfe5
description: Represents information about the generated advanced account forecast records. This object is available in API version 53.0 and later.
---
# AdvAccountForecastFact

Represents information about the generated advanced account forecast records. This object is available in API version 53.0 and later.

## Supported Calls

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

## Fields

### AccountId

- **Type**: reference
- **Properties**: Create, Filter, Group, Sort, Update
- **Description**: The account associated with the advanced account forecast record.
    
    This is a relationship field.
- **Relationship Name**: Account
- **Relationship Type**: Lookup
- **Refers To**: Account

### AdvAcctForecastSetPartnerId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The account forecast set partner for which the advanced account forecast records are generated.
    
    This is a relationship field.
- **Relationship Name**: AdvAcctForecastSetPartner
- **Relationship Type**: Lookup
- **Refers To**: AdvAcctForecastSetPartner

### AdvAcctForecastSetUseId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The advanced account forecast set use that's associated with the advanced account forecast fact record. Available in API version 57.0 and later.
    
    This field is a relationship field.
- **Relationship Name**: AdvAcctForecastSetUse
- **Refers To**: AdvAcctForecastSetUse

### CurrencyIsoCode

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
- **Description**: The currency used for the forecast values.

### ForecastedQuantity

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The total forecasted quantity for the generated advanced account forecast set records.

### ForecastedRevenue

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The total forecasted revenue for the generated advanced account forecast set records.

### LastReferencedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last accessed this record indirectly, for example, through a list view or related record.

### LastViewedDate

- **Type**: dateTime
- **Properties**: Filter, Nillable, Sort
- **Description**: The timestamp when the current user last viewed this record or list view. If this value is null, and LastReferenceDate is not null, the user accessed this record or list view indirectly.

### LastYearOrderQuantity

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The previous year order quantity for the generated advanced account forecast set records.

### LastYearOrderRevenue

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The previous year order revenue for the generated advanced account forecast set records.

### Name

- **Type**: string
- **Properties**: Create, Filter, Group, idLookup, Sort, Update
- **Description**: The name of the advanced account forecast fact.

### OpportunityQuantity

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The opportunity quantity for the generated advanced account forecast set records.

### OpportunityRevenue

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The opportunity revenue for the generated advanced account forecast set records.

### OrderQuantity

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The order quantity for the generated advanced account forecast set records.

### OrderRevenue

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The order revenue for the generated advanced account forecast set records.

### OwnerId

- **Type**: reference
- **Properties**: Create, Defaulted on create, Filter, Group, Sort, Update
- **Description**: ID of the owner of this advanced account forecast fact.
    
    This field is a polymorphic relationship field.
- **Relationship Name**: Owner
- **Refers To**: Group, User

### PeriodId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The period for which the advanced account forecast records are generated.
    
    This is a relationship field.
- **Relationship Name**: Period
- **Relationship Type**: Lookup
- **Refers To**: Period

### PeriodStartDate

- **Type**: date
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The start date of the period for which the advanced account forecast fact records are generated. Available in API version 54.0 and later.

### ProductId

- **Type**: reference
- **Properties**: Create, Filter, Group, Nillable, Sort, Update
- **Description**: The product for which the advanced account forecast records are generated.
    
    This is a relationship field.
- **Relationship Name**: Product
- **Relationship Type**: Lookup
- **Refers To**: Product2

### SalesAgreementQuantity

- **Type**: double
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The Sales Agreement quantity for the generated advanced account forecast set records.

### SalesAgreementRevenue

- **Type**: currency
- **Properties**: Create, Filter, Nillable, Sort, Update
- **Description**: The Sales Agreement revenue for the generated advanced account forecast set records.

### Status

- **Type**: picklist
- **Properties**: Create, Defaulted on create, Filter, Group, Restricted picklist, Sort, Update
- **Description**: The status of the forecast set associated with the advanced account forecast record.
- **Default value**: Active
- **Possible values**:
    - Active
    - Inactive