Loading
Salesforce Help サイトへ「Help Agent powered by Fin」実装のお知らせ続きを読む
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む

How to Import Salesforce Forecast Quotas Using the Group Item ID

公開日: Oct 11, 2026
説明

When a forecast type in Salesforce uses a group-by item, administrators must include the group item ID in their CSV file when importing quotas. If the group item ID is missing, the import can fail with the error "Product Family Does Not Exist: FIELD_INTEGRITY_EXCEPTION".

If you are unsure which grouping is being used, run the following query in Data Loader or Workbench (API version 60):

SELECT DeveloperName, ForecastingGroupId, Id, IsActive, MasterLabel FROM ForecastingType

This query returns each forecast type with its ForecastingGroupId. If there is a value in the ForecastingGroupId field, use the ForecastingGroupItemId when you import quotas for that forecast type.

解決策

This article answers how to import quotas for a Salesforce forecast type that uses a group-by item, by finding the group item ID and adding it to your CSV file. It builds on the Forecast Quotas from External Sources Help article.

Step 1: Find Your Forecasting Group ID

Run the query in the Description above to get the ForecastingGroupId for your forecast type.

Step 2: Find the Group Item ID

After you have the ForecastingGroupId, run the following query to retrieve the corresponding group item details. Replace 'xxx' with your ForecastingGroupId:

SELECT ForecastingGroupId, Id, SourceValueApiName, SourceValueLabel, SourceValueTranslatedLabel FROM ForecastingGroupItem WHERE ForecastingGroupId = 'xxx'

This query returns the ForecastingGroupItem Id, which you use as the group item ID column value in your CSV import file.

Required CSV Columns

The other important columns to include in your CSV file are:

  • User ID
  • Forecast Type ID
  • Quota Amount or Quota Quantity (depending on how you forecast)
  • Currency Code
  • Period Start Date (yyyy-mm-dd or yyyy-mm-ddThh:mm:ss.sssZ; for example, 2012-03-01T08:00:00.00Z)

Exception: Product Family Grouping

For opportunity product forecast types that are grouped by product family, use the product family field instead of the group item ID.

When the file is ready for import, the mapping looks similar to the following image.

CSV field mapping screen showing the ForecastingGroupItemId column mapped during quota import

ナレッジ記事番号

001876508

 
読み込み中
Salesforce Help | Article