Newer Version Available
ForecastingFilterCondition
Parent Type
File Suffix and Directory Location
ForecastingFilterCondition components have the suffix .ForecastingFilterCondition and are stored in the ForecastingFilterConditions folder.
Version
ForecastingFilterCondition components are available in API version 55.0 and later.
Special Access Rules
There are no additional access requirements that are specific to this type.
Fields
| Field Name | Description |
|---|---|
| fieldName |
|
| forecastingFilter |
|
| forecastingSourceDefinition |
|
| masterLabel |
|
| operation |
|
| sortOrder |
|
| value |
|
Declarative Metadata Sample Definition
The following is an example of a ForecastingFilterCondition component.
1<?xml version="1.0" encoding="UTF-8"?>
2<ForecastingFilterCondition xmlns="http://soap.sforce.com/2006/04/metadata">
3 <colName>mostlikely</colName>
4 <fieldName>Amount</fieldName>
5 <forecastingFilter>d</forecastingFilter>
6 <forecastingSourceDefinition>d7</forecastingSourceDefinition>
7 <masterLabel>FFC_Opportunity</masterLabel>
8 <operation>greaterThan</masterLabel>
9 <sortOrder>1</masterLabel>
10 <value>100000</value>
11</ForecastingFilterCondition>The following is an example package.xml that references the previous definition.
1<?xml version="1.0" encoding="UTF-8"?>
2<Package xmlns="http://soap.sforce.com/2006/04/metadata">
3 <types>
4 <members>*</members>
5 <name>ForecastingFilterCondition</name>
6 </types>
7 <version>55.0</version>
8</Package>Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.
Usage
A forecast type can contain up to three filter conditions.