Loading

Custom Columns error when editing forecast settings

게시 일자: Jun 4, 2024
상세 설명
The following error may occur when trying to edit your forecast settings or forecast category field:
"You have at least one custom column defined in a forecast type. Delete your custom column or forecast type and try again."

This error is seen when a customer has custom columns on any forecast type regardless of whether or not the forecast type is active.

https://developer.salesforce.com/docs/atlas.en-us.240.0.object_reference.meta/object_reference/sforce_api_objects_forecastingcolumndefinition.htm
솔루션
  • In dataloader or workbench run this query (please note that dataloader/workbench will need to be in version 56 or later of the API):
    • SELECT DeveloperName,ForecastingTypeId,Formula,Id FROM ForecastingColumnDefinition
  • From the above query results grab the forecast type ID
  • Run an update/upsert on the forecast type to mark it active
  • Once the forecast type is active use the UI to delete the custom columns from the forecast type.

**Note: At this time it is no longer possible to activate legacy forecast types. If the custom column is added to a legacy forecast type take the ID from the above query and run a delete on the Forecasting Column Definition

Knowledge 기사 번호

000395092

 
로드 중
Salesforce Help | Article