ForecastingAdjustment
This object represents an individual forecast manager’s adjustment for a subordinate’s or child territory’s forecast via a ForecastingItem.
Introduced in API version 26.0.
This object is different from the ForecastingOwnerAdjustment object, which represents forecast users’ adjustments of their own forecasts, including territory forecasts they own.
create(), delete(), describeSObjects(), getDeleted(), getUpdated(), query(), retrieve(), update(), upsert()
- As of Spring ’20 and later, only standard users with the View All Forecasts or Allow Forecasting permission or delegated forecast manager status can access this object.
- Type: currency
- Properties: Create, Filter, Sort, Update
- Description: The revenue amount of an individual forecast item, after an adjustment.
- Type: double
- Properties: Create, Filter, Sort, Update
- Introduced: API version 28.0
- Description: The quantity amount of an individual forecast item, after an adjustment.
- Type: textarea
- Properties: Create, Filter, Group, Nillable, Sort, Update
- Introduced: API version 31.0
- Description: A text note providing information about the adjustment. The maximum length is 255 characters. This field doesn’t appear in reports.
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Restricted picklist, Sort
- Description: The category within the sales cycle that an opportunity is assigned to based on its opportunity stage. The standard forecast categories are Pipeline, Best Case, Commit, Omitted, and Closed. You can add a Most Likely category and can customize forecast category names in single category rollups. The forecast categories display information for that specific category; for example, Best Case only reflects amounts in the Best Case category.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort
- Introduced: API version 60.0
- Description: If a forecast group is assigned to the forecast type, the ID of the group value that the manager adjustment belongs to. This field is a relationship field.
- Relationship name: ForecastingGroupItem
- Relationship type: relationship
- Refers to: ForecastingGroupItem
-
Type: picklist
-
Properties: Create, Filter, Group, Sort
-
Introduced: API version 34.0
-
Description:
The category the forecast belongs to.
- For individual forecast category rollups, the possible values are:
- For cumulative forecast rollups, the possible values are:
- For either cumulative or individual forecast category rollups, the possible values are:
-
Possible values:
- PipelineOnly — PipelineOnly — Rollup from Pipeline opportunities only.
- BestCaseOnly — BestCaseOnly — Rollup from Best Case opportunities only. The value in this category is adjustable.
- MostLikelyOnly — MostLikelyOnly — Rollup from Most Likely opportunities only. The value in this category is adjustable.
- CommitOnly — CommitOnly — Rollup from Commit opportunities only. The value in this category is adjustable.
- OpenPipeline — OpenPipeline — Rollup from Pipeline, Best Case, Most Likely, and Commit opportunities.
- BestCaseForecast — BestCaseForecast — Rollup from Best Case, Most Likely, Commit, and Closed opportunities. The value in this category is adjustable.
- MostLikelyForecast — MostLikelyForecast — Rollup from Most Likely, Commit, and Closed opportunities. The value in this category is adjustable.
- CommitForecast — CommitForecast — Rollup from Commit and Closed opportunities. The value in this category is adjustable.
- ClosedOnly — ClosedOnly — Rollup from Closed opportunities only.
- Type: reference
- Properties: Filter, Group, Sort
- Description: The ID of the related ForecastingItem.
- Relationship name: ForecastingItem
- Relationship type: relationship
- Refers to: ForecastingItem
- Type: reference
- Properties: Create, Filter, Group, Sort
- Introduced: API version 30.0
- Description: The ID of the related ForecastingType.
- Relationship name: ForecastingType
- Relationship type: relationship
- Refers to: ForecastingType
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 28.0
- Description: If
true, then the adjustment is made in a revenue amount. Iffalse, thenIsQuantitymust betrue. - Default value: false
- Type: boolean
- Properties: Defaulted on create, Filter, Group, Sort
- Introduced: API version 28.0
- Description: If
true, then the adjustment is made in a quantity amount. Iffalse, thenIsAmountmust betrue. - Default value: false
- Type: reference
- Properties: Filter, Group, Nillable, Sort
- Description: Period ID for the adjustment. Read only.
- Relationship name: Period
- Relationship type: relationship
- Refers to: Period
- Type: picklist
- Properties: Create, Filter, Group, Nillable, Sort
- Introduced: API version 29.0
- Description: The Product Family for the adjustment. Read only.
- Type: date
- Properties: Create, Filter, Group, Sort
- Description: The start of the adjustment, expressed as month and year. The date can include any day in a given month. Stored using the first date of the month.
- Type: reference
- Properties: Create, Filter, Group, Nillable, Sort
- Introduced: API version 43.0
- Description: The ID of the territory to forecast on.
- Relationship name: Territory2
- Relationship type: relationship
- Refers to: Territory2
Use this object to obtain a manager’s adjustment detail for a specified ForecastingItem. The ForecastingAdjustment object is visible to all users, but only forecast managers and users above them in the forecast hierarchy can read or write ForecastingAdjustment records.
Beginning with API version 30.0, organizations can have more than one forecasting type enabled. The ForecastingQuota, ForecastingAdjustment, ForecastingOwnerAdjustment, ForecastingItem, and ForecastingFact objects can all have records with different ForecastingTypeId values. Use the ForecastingType object to determine the ID for each forecast type and then filter ForecastingQuota, ForecastingAdjustment, ForecastingItem, or ForecastingFact records as necessary.
The ForecastingItemCategory field differs from the ForecastCategoryName field.
- The
ForecastCategoryNamefield represents the forecast category of the underlying opportunities rolling up to forecast amounts. In organizations using cumulative forecast rollups, theForecastCategoryNamefield can be null because the cumulative forecast amounts include opportunities from multiple forecast categories. - The new
ForecastingItemCategoryfield represents the type of rollup a forecast amount or adjustment is from. In organizations using individual forecast category columns, it contains the individual forecast rollup categories. In organizations using cumulative forecast rollups, it contains the cumulative rollup categories.
When inserting manager adjustments, the values you insert for ForecastCategoryName and ForecastingItemCategory must be compatible with each other. In organizations using cumulative forecast rollups, the ForecastCategoryName is nillable. The following pairs are valid.
-
- For individual forecast category rollups:: -
ForecastCategoryName:BestCase,ForecastingItemCategory:BestCaseOnly
- For individual forecast category rollups:: -
ForecastCategoryName:MostLikely,ForecastingItemCategory:MostLikelyOnlyForecastCategoryName:Commit,ForecastingItemCategory:CommitOnly- For cumulative forecast category rollups:: -
ForecastCategoryName:null,ForecastingItemCategory:BestCaseForecast ForecastCategoryName:null,ForecastingItemCategory:MostLikelyForecastForecastCategoryName:null,ForecastingItemCategory:CommitForecast