---
schema_version: "1"
id: 23e18dfee7712b06063c8ae6553104c21e7c4508c31f37b6312ebc19c06ae679
title: ForecastingSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/api_meta/meta_forecastingsettings.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_forecastingsettings.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 700d7d67e7134c1f3a326b3339944365425db88969ee488fbf6619e86cd13f32
description: Represents the Forecasts settings options. This type extends the Metadata metadata type and inherits its fullName field.
---
# ForecastingSettings

Represents the Forecasts settings options. This type extends the Metadata metadata type and inherits its fullName field.

![Important](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note_important.png)

#### Important

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

![Note](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/images/icon_note.png)

#### Note

[ForecastingSettings](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_forecastingsettings.htm#meta_forecastingsettings) components are available in API version 28 and later. The structure of the [ForecastingSettings](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_forecastingsettings.htm#meta_forecastingsettings) type changed significantly in API version 30.0 and in API version 53.0.

In the package manifest, all organization settings metadata types are accessed using the Settings name. See [Settings](https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_settings.htm "Represents the organization settings related to a feature. For example, your password policies, session settings and network access controls are all available in the SecuritySettings component type.") for details.

## File Suffix and Directory Location

[ForecastingSettings](#meta_forecastingsettings "Represents the Forecasts settings options. This type extends the Metadata metadata type and inherits its fullName field.") values are stored in a single file named Forecasting.settings in the settings directory of the corresponding package directory. The .settings files are different from other named components because there’s only one settings file for each settings component.

## Version

[ForecastingSettings](#meta_forecastingsettings "Represents the Forecasts settings options. This type extends the Metadata metadata type and inherits its fullName field.") components are available in API version 28 and later. The structure of the [ForecastingSettings](#meta_forecastingsettings "Represents the Forecasts settings options. This type extends the Metadata metadata type and inherits its fullName field.") type changed significantly in API version 30.0 and in API version 53.0.

## Fields

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d529656e157">Field Name</th>

              <th class="featureTableHeader  " id="d529656e160">Field Type</th>

              <th class="featureTableHeader  " id="d529656e163">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">displayCurrency</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type"><span class="ph" id="DisplayCurrency"><a name="DisplayCurrency"><!-- --></a>DisplayCurrency (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</span></td>

              <td class="entry" headers="d529656e163" data-title="Description">Removed. The currency for displaying forecasts; either the
                organization's corporate currency or each forecast owner's personal
                currency setting. The selected currency is the default used in
                forecasts and selected in setup. The selection must be one of the
                currencies enabled for use in the organization, and only one
                selection is allowed. The default is <samp class="codeph nolang">CORPORATE</samp>. The valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">CORPORATE</samp></li>

                  <li class="li"><samp class="codeph nolang">PERSONAL</samp></li>

                </ul>
                <p class="p">Available in API version 28.0 to 46.0. In API version 47.0
                  and later, use
                  <span class="keyword parmname">defaultToPersonalCurrency</span>.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">defaultToPersonalCurrency</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e163" data-title="Description">If multicurrency is enabled, this field indicates whether the
                user’s personal currency is used in forecasts. If <samp class="codeph nolang">true</samp> (default), the user’s personal
                currency is used. If <samp class="codeph nolang">false</samp>, the
                corporate currency is used. <p class="p">Available in API version 47.0 and
                  later.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">enableForecasts</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e163" data-title="Description">Indicates if Salesforce Forecasting is enabled or not. Set to
                <samp class="codeph java">true</samp> to enable and <samp class="codeph java">false</samp> to disable the functionality.
                <p class="p">Disabling Forecasts can result in data loss. Refer to
                  Salesforce Help before disabling any functionality.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">forecastingCategoryMappings</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">ForecastingCategoryMapping[]</td>

              <td class="entry" headers="d529656e163" data-title="Description">A list of mappings associating forecast types with forecast
                rollups. 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 subtype.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">forecastingDisplayedFamilySettings</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">
                <a class="xref" href="#forecastingDisplayedFamilySettings">ForecastingDisplayedFamilySettings</a>[]
              </td>

              <td class="entry" headers="d529656e163" data-title="Description">The product families chosen to allow forecasting on in Lightning
                Experience. This field is available in API version 40.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">forecastingSubmissionSettings</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">ForecastingSubmissionSettings</td>

              <td class="entry" headers="d529656e163" data-title="Description">The submission options for forecasts. Available in API version
                62.0 and later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">forecastingTypeSettings</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">
                <a class="xref" href="#ForecastingTypeSettings">ForecastingTypeSettings</a>[]
              </td>

              <td class="entry" headers="d529656e163" data-title="Description">A list of forecast types. For field values, see <a class="xref" href="#ForecastingTypeSettings">ForecastingTypeSettings</a>. The maximum number of forecast types is
                four.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">globalAdjustmentsSettings</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">AdjustmentsSettings[]</td>

              <td class="entry" headers="d529656e163" data-title="Description">The adjustment options for forecasts. Available in API version
                53.0 and later. In API version 52.0 and earlier, use the
                <span class="keyword parmname">adjustmentsSettings</span> field on
                ForecastingTypeSettings.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">globalForecastRangeSettings</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">ForecastRangeSettings[]</td>

              <td class="entry" headers="d529656e163" data-title="Description">The default periods and range selections in forecasts. Available
                in API version 53.0 and later. In API version 52.0 and earlier, use
                the <span class="keyword parmname">forecastRangeSettings</span> field on
                ForecastingTypeSettings.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e157" data-title="Field Name"><span class="keyword parmname">globalQuotasSettings</span></td>

              <td class="entry" headers="d529656e160" data-title="Field Type">QuotasSettings[]</td>

              <td class="entry" headers="d529656e163" data-title="Description">Enables or disables quotas in Salesforce Forecasting. Available
                in API version 53.0 and later. In API version 52.0 and earlier, use
                the <span class="keyword parmname">quotasSettings</span> field on
                ForecastingTypeSettings.</td>

            </tr>

          </tbody>

        </table>

## ForecastingCategoryMapping

The category mappings for forecasts. This subtype appears eight times within the ForecastingSettings type. Each occurrence includes fields that specify a type of forecast category rollup, which forecast categories each rollup includes, and the weight of each forecast category in the rollup. Organizations using either cumulative forecast rollups or individual forecast category columns must include all eight occurrences of this subtype. 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 subtype.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d529656e390">Field</th>

              <th class="featureTableHeader  " id="d529656e393">Field Type</th>

              <th class="featureTableHeader  " id="d529656e396">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d529656e390" data-title="Field"><span class="keyword parmname">forecastingItemCategoryApiName</span></td>

              <td class="entry" headers="d529656e393" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e396" data-title="Description">Required. This field specifies the API name of the rollup type.
                The valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">openpipeline</samp></li>

                  <li class="li"><samp class="codeph nolang">bestcaseforecast</samp></li>

                  <li class="li"><samp class="codeph nolang">commitforecast</samp></li>

                  <li class="li"><samp class="codeph nolang">pipelineonly</samp></li>

                  <li class="li"><samp class="codeph nolang">bestcaseonly</samp></li>

                  <li class="li"><samp class="codeph nolang">commitonly</samp></li>

                  <li class="li"><samp class="codeph nolang">closedonly</samp></li>

                  <li class="li"><samp class="codeph nolang">omittedonly</samp></li>

                  <li class="li"><samp class="codeph nolang">customcategory</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e390" data-title="Field"><span class="keyword parmname">weightedSourceCategories</span></td>

              <td class="entry" headers="d529656e393" data-title="Field Type">WeightedSourceCategory[]</td>

              <td class="entry" headers="d529656e396" data-title="Description">This field can occur more than one time when specifying more than
                one forecast category to include in the rollup type. Each occurrence
                contains two subfields that specify a forecast category to include
                in the forecast rollup type and its weight. Some rollup types
                include more than one forecast category. This list shows the
                forecast categories that are included in each rollup type.<ul class="ul bulletList">
                  <li class="li">Rollup: <samp class="codeph nolang">openpipeline</samp>,
                    Forecast categories: pipeline, best case, commit</li>

                  <li class="li">Rollup: <samp class="codeph nolang">bestcaseforecast</samp>, Forecast categories: best
                    case, commit, closed</li>

                  <li class="li">Rollup: <samp class="codeph nolang">commitforecast</samp>,
                    Forecast categories: commit, closed</li>

                  <li class="li">Rollup: <samp class="codeph nolang">pipelineonly</samp>,
                    Forecast categories: <samp class="codeph nolang">pipeline</samp>
                  </li>

                  <li class="li">Rollup: <samp class="codeph nolang">bestcaseonly</samp>, Forecast categories: <samp class="codeph nolang">best case</samp>
                  </li>

                  <li class="li">Rollup: <samp class="codeph nolang">commitonly</samp>,
                    Forecast categories: <samp class="codeph nolang">commit</samp>
                  </li>

                  <li class="li">Rollup: <samp class="codeph nolang">closedonly</samp>,
                    Forecast categories: <samp class="codeph nolang">closed</samp>
                  </li>

                  <li class="li">Rollup: <samp class="codeph nolang">omittedonly</samp>,
                    Forecast categories: <samp class="codeph nolang">omitted</samp>
                  </li>

                  <li class="li">Rollup: customcategory, Forecast categories: custom
                    category</li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## ForecastingDisplayedFamilySettings

The product families that an admin chooses to allow forecasting on in Lightning Experience. This field is available in API version 40.0 and later.

| Field | Field Type | Description |
| --- | --- | --- |
| productFamily | string | The product family available to forecast on. Each product family is unique. |

## ForecastingSubmissionSettings

The setting allows forecast users to submit their forecast numbers at a point in time.

| Field | Field Type | Description |
| --- | --- | --- |
| allowForecastingSubmissions | boolean | Required. Indicates whether forecast submissions are allowed in forecasts. |

## ForecastingTypeSettings

The settings for each forecast type. An organization can have up to four forecast types active. If you omit a previously enabled forecast type that has a minimum API version less than or equal to the metadata package version, its quota and adjustment data is deleted from the org.

Omitting a forecast type field from the XML can deactivate that forecast type: if the forecast type was available in the release specified by the XML package version, that forecast type is deactivated and its quota and adjustment data are deleted.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d529656e668">Field Name</th>

              <th class="featureTableHeader  " id="d529656e671">Field Type</th>

              <th class="featureTableHeader  " id="d529656e674">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">active</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. Indicates whether the forecast type specified in the
                <span class="keyword parmname">name</span> field is active. <p class="p">Setting the
                  <span class="keyword parmname">active</span> field to false purges all
                  forecasting data, adjustments, and quotas for the forecast type.
                  When <span class="keyword parmname">active</span> is set to true, some values on
                  the Forecasts tab don’t appear immediately. An in-process con
                  appears to indicate that the values are being
                  calculated.
                </p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">adjustmentsSettings</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type"><a class="xref" href="#adjustmentsSettings">AdjustmentsSettings</a></td>

              <td class="entry" headers="d529656e674" data-title="Description">Removed. This field enables or disables the adjustments option in
                forecasts. In API version 53.0 and later, use
                globalAdjustmentsSettings.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">displayedCategoryApiNames</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e674" data-title="Description">This read-only field appears four times to specify the four
                forecast rollup categories displayed in the Forecasts tab, for
                either cumulative forecast rollups, or individual forecast category
                rollups. Always use the same 4 values for both
                <span class="keyword parmname">displayedCategoryApiNames</span> and
                <span class="keyword parmname">forecastedCategoryApiNames</span>.<p class="p">Valid values
                  for organizations using cumulative forecast rollups:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">openpipeline</samp></li>

                  <li class="li"><samp class="codeph nolang">bestcaseforecast</samp></li>

                  <li class="li"><samp class="codeph nolang">commitforecast</samp></li>

                  <li class="li"><samp class="codeph nolang">closedonly</samp></li>

                </ul>
                <p class="p">Valid values for organizations using individual forecast
                  category rollups:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">pipelineonly</samp></li>

                  <li class="li"><samp class="codeph nolang">bestcaseonly</samp></li>

                  <li class="li"><samp class="codeph nolang">commitonly</samp></li>

                  <li class="li"><samp class="codeph nolang">closedonly</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">forecastedCategoryApiNames</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e674" data-title="Description">This field appears four times to specify the four forecast rollup
                categories used in the organization, for either cumulative forecast
                rollups, or individual forecast category rollups.<p class="p">Valid values for
                  organizations using cumulative forecast rollups:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">openpipeline</samp></li>

                  <li class="li"><samp class="codeph nolang">bestcaseforecast</samp></li>

                  <li class="li"><samp class="codeph nolang">commitforecast</samp></li>

                  <li class="li"><samp class="codeph nolang">closedonly</samp></li>

                  <li class="li"><samp class="codeph nolang">customcategory</samp></li>

                </ul>
                <p class="p">Valid values for organizations using individual forecast
                  category rollups:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">pipelineonly</samp></li>

                  <li class="li"><samp class="codeph nolang">bestcaseonly</samp></li>

                  <li class="li"><samp class="codeph nolang">commitonly</samp></li>

                  <li class="li"><samp class="codeph nolang">closedonly</samp></li>

                  <li class="li"><samp class="codeph nolang">customcategory</samp></li>

                </ul>
                <p class="p">Changing from one set of four values to the other changes
                  the organization setting for Enable Cumulative Forecast Rollups
                  in Setup. If this field is omitted, the setting isn’t
                  changed.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">forecastingDateType</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">ForecastingDateType (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)</td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. The date type that forecast amounts are based on.
                <p class="p">Valid values are:</p>
                <ul class="ul bulletList">
                  <li class="li">
                    <samp class="codeph nolang">OpportunityCloseDate</samp>
                    (default)
                  </li>

                  <li class="li"><samp class="codeph nolang">ProductDate</samp></li>

                  <li class="li"><samp class="codeph nolang">ScheduleDate</samp></li>

                  <li class="li">OLIMeasureCloseDateOnly</li>

                  <li class="li"><samp class="codeph nolang">ProductDateOnly</samp></li>

                  <li class="li"><samp class="codeph nolang">ScheduleDateOnly</samp></li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityCustomDate</samp>
                    (Available in API version 57.0 and later)
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OLIMeasureOppCustomDateOnly</samp> (Available in API
                    version 57.0 and later)
                  </li>

                </ul>
                <p class="p">Available in API version 42.0 and later. In API version 42.0
                  only, date types are read only and available only via
                  API.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">forecastRangeSettings</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type"><a class="xref" href="#ForecastRangeSettings">ForecastRangeSettings</a></td>

              <td class="entry" headers="d529656e674" data-title="Description">Removed. The default periods and range selections in forecasts.
                In API version 53.0 and later, use
                globalForecastRangeSettings.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">hasProductFamily</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. Indicates whether the forecasting type has product
                family forecasts enabled. Available in API version 41.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">isAmount</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. <span class="ph" id="isAmountDesc"><a name="isAmountDesc"><!-- --></a>This read-only field indicates
                  whether the forecast type is based on revenue amounts. The value
                  of <span class="keyword parmname">isAmount</span> is always the opposite of the
                  value of <span class="keyword parmname">isQuantity</span>.</span>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">isAvailable</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. <span class="ph" id="isAvailableDesc"><a name="isAvailableDesc"><!-- --></a>This read-only field indicates
                  whether the forecast type can currently be used in the
                  organization. For example, the revenue splits forecast type
                  can’t be used in an organization that doesn’t have Opportunity
                  Splits enabled.</span>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">isQuantity</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. <span class="ph" id="isQuantityDesc"><a name="isQuantityDesc"><!-- --></a>This read-only field indicates
                  whether the forecast type is based on product quantities. The
                  value of <span class="keyword parmname">isQuantity</span> is always the opposite
                  of the value of <span class="keyword parmname">isAmount</span>.</span>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">managerAdjustableCategoryApiNames</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e674" data-title="Description">This read-only field appears twice to specify the two forecast
                rollup categories that forecast managers can adjust in the
                organization for either cumulative forecast rollups or individual
                forecast category rollups. This field can only be used when the
                <span class="keyword parmname">enableAdjustments</span> field contains a value of
                true. If both the
                <span class="keyword parmname">managerAdjustableCategoryApiNames</span> and
                <span class="keyword parmname">ownerAdjustableCategoryApiNames</span> fields are
                being used, they must contain the same two values. Their values must
                also be consistent with the values of the
                <span class="keyword parmname">enableAdjustments</span> and
                <span class="keyword parmname">enableOwnerAdjustments</span> fields. <p class="p">Valid
                  values for organizations using cumulative forecast rollups:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">bestcaseforecast</samp></li>

                  <li class="li"><samp class="codeph nolang">commitforecast</samp></li>

                </ul>
                <p class="p">Valid values for organizations using individual forecast
                  category rollups:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">bestcaseonly</samp></li>

                  <li class="li"><samp class="codeph nolang">commitonly</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. <span class="ph" id="masterLabelDesc"><a name="masterLabelDesc"><!-- --></a>This read-only field indicates
                  the UI label for the forecast type.</span>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">name</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. The name of the forecast type. Each forecast type
                requires a specific string.<p class="p">Using ForecastingSettings, you can
                  activate only these forecast types.</p>
                <a name="forecastingTypeSettings_name_values"><!-- --></a>
                <ul class="ul bulletList" id="forecastingTypeSettings_name_values">
                  <li class="li">
                    <samp class="codeph nolang">LineItemQuantityProductDate</samp>: Product Families
                    - Quantity by product date. Available in API versions 47.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LineItemQuantityScheduleDate</samp>: Product Families
                    - Quantity by schedule date. Available in API versions 47.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LineItemRevenueProductDate</samp>: Product Families -
                    Revenue by product date. Available in API versions 47.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">LineItemRevenueScheduleDate</samp>: Product Families
                    - Revenue by schedule date. Available in API versions 47.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityLineItemQuantity</samp>: Product Families
                    - Quantity.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityLineItemRevenue</samp>: Product Families -
                    Revenue.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityOverlayRevenue</samp>: Opportunity Overlay
                    Splits - Revenue.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityQuantity</samp>:
                    Opportunities - Quantity.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityQuantityProductDate</samp>: Opportunities
                    - Quantity by product date. Available in API versions 43.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityQuantityScheduleDate</samp>: Opportunities
                    - Quantity by schedule date. Available in API versions 43.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityRevenue</samp>: Opportunities - Revenue.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityRevenueProductDate</samp>: Opportunities -
                    Revenue by product date. Available in API versions 43.0 and
                    later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunityRevenueScheduleDate</samp>: Opportunities
                    - Revenue by schedule date. Available in API versions 43.0
                    and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang">OpportunitySplitRevenue</samp>: Opportunity Revenue
                    Splits - Revenue.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang"><var class="keyword varname">Territory_Model_NameN</var></samp>:
                    Territories, where <var class="keyword varname">Territory_Model_Name</var>
                    is the name of your active territory model in the API.
                    <var class="keyword varname">Territory_Model_Name</var> can be followed
                    by <var class="keyword varname">N</var>, an auto-generated number that
                    distinguishes between territory forecast types. Available in
                    API versions 44.0 and later.
                  </li>

                  <li class="li">
                    <samp class="codeph nolang"><var class="keyword varname">Territory_Model_NameN</var>_ProductFamily</samp>:
                    Deprecated. Territories - Product Families, where
                    <var class="keyword varname">Territory_Model_Name</var> is the name of
                    your active territory model in the API and can be followed
                    by <var class="keyword varname">N</var>, an auto-generated number that
                    distinguishes between territory forecast types. Available in
                    API versions 45.0 and 46.0. For territory models created in
                    API version 47.0 and later, <samp class="codeph nolang"><var class="keyword varname">Territory_Model_NameN</var></samp>
                    is used.
                  </li>

                  <li class="li">The name of a custom opportunity split type that has been
                    enabled as a forecast type. Custom split types are based on
                    currency fields, which can contain revenue amounts
                    only.</li>

                </ul>
                <p class="p">To create and manage other forecast types in API version
                  52.0 and later, use <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_forecastingsourcedefinition.htm" title="Represents the object, measure, date type, and hierarchy that a forecast uses to project sales.">ForecastingSourceDefinition</a>, <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_forecastingtype.htm" title="Represents a forecast type.">ForecastingType</a>, and <a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_forecastingtypesource.htm" title="Represents the mapping of a forecasting source definition to a forecast type.">ForecastingTypeSource</a>.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">opportunityListFieldsLabelMappings</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type"><a class="xref" href="#OpportunityListFieldsLabelMappings">OpportunityListFieldsLabelMapping</a></td>

              <td class="entry" headers="d529656e674" data-title="Description">A read-only list of the API names and
                UI labels for all fields on the Opportunity object.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">opportunityListFields​SelectedSettings</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type"><a class="xref" href="#OpportunityListFieldsSelectedSettings">OpportunityListFields​SelectedSettings</a></td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. The fields selected to appear in the opportunity pane of
                the forecast page for the forecast type. One of the selected fields must be
                <strong class="ph uicontrol">Opportunity Name</strong>. You can select up to 15
                fields.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">opportunityListFields​UnselectedSettings</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type"><a class="xref" href="#OpportunityListFieldsUnselectedSettings">OpportunityListFields​UnselectedSettings</a></td>

              <td class="entry" headers="d529656e674" data-title="Description">Required. The fields <em class="ph i">not</em> selected to appear in the
                opportunity pane of the forecast page for the forecast type.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">opportunitySplitName</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e674" data-title="Description">Indicates whether the forecasting type has a split type, and if
                so, the name of the split type. Available in API version 41.0 and
                later.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">ownerAdjustableCategoryApiNames</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e674" data-title="Description">This read-only field appears twice to specify the two forecast
                rollup categories that forecast owners can adjust in the
                organization, for either cumulative forecast rollups, or individual
                forecast category rollups. This field can only be used when the
                <span class="keyword parmname">enableOwnerAdjustments</span> field contains a
                value of true. If both the
                <span class="keyword parmname">managerAdjustableCategoryApiNames</span> and
                <span class="keyword parmname">ownerAdjustableCategoryApiNames</span> fields are
                being used, they must contain the same two values. Their values must
                also be consistent with the values of the
                <span class="keyword parmname">enableAdjustments</span> and
                <span class="keyword parmname">enableOwnerAdjustments</span> fields.<p class="p">Valid
                  values for organizations using cumulative forecast rollups:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">bestcaseforecast</samp></li>

                  <li class="li"><samp class="codeph nolang">commitforecast</samp></li>

                </ul>
                <p class="p">Valid values for organizations using individual forecast
                  category rollups:</p>
                <ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">bestcaseonly</samp></li>

                  <li class="li"><samp class="codeph nolang">commitonly</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">quotasSettings</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type"><a class="xref" href="#QuotasSettings">QuotasSettings</a></td>

              <td class="entry" headers="d529656e674" data-title="Description">Removed. This field enables or disables the quota option in
                forecasts. In API version 53.0 and later, use
                globalQuotasSettings.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e668" data-title="Field Name"><span class="keyword parmname">territory2ModelName</span></td>

              <td class="entry" headers="d529656e671" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e674" data-title="Description">Indicates whether the forecasting type has a Territory2 model,
                and if so, the name of the Territory2 model. Available in API
                version 41.0 and later.</td>

            </tr>

          </tbody>

        </table>

## AdjustmentsSettings

The adjustment options for forecasts.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d529656e1378">Field</th>

              <th class="featureTableHeader  " id="d529656e1381">Field Type</th>

              <th class="featureTableHeader  " id="d529656e1384">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d529656e1378" data-title="Field"><span class="keyword parmname">allowExpandedColumns</span></td>

              <td class="entry" headers="d529656e1381" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e1384" data-title="Description">Required. Set to <samp class="codeph java">true</samp> to show
                separate columns on the forecasts page for each adjustable forecast
                category and <samp class="codeph java">false</samp> to show
                adjustments when a user hovers over a forecast category. All
                forecast types must contain the same
                <span class="keyword parmname">allowExpandedColumns</span> value.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e1378" data-title="Field"><span class="keyword parmname">enableAdjustments</span></td>

              <td class="entry" headers="d529656e1381" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e1384" data-title="Description">Required. Set to <samp class="codeph java">true</samp> to
                enable manager adjustments and <samp class="codeph java">false</samp> to disable them. All forecast types must contain
                the same <span class="keyword parmname">enableAdjustments</span> value. <p class="p">Disabling
                  adjustments results in adjustment data being purged.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e1378" data-title="Field"><span class="keyword parmname">enableOwnerAdjustments</span></td>

              <td class="entry" headers="d529656e1381" data-title="Field Type">boolean</td>

              <td class="entry" headers="d529656e1384" data-title="Description">Required. Set to <samp class="codeph java">true</samp> to
                enable owner adjustments for forecasts and <samp class="codeph java">false</samp> to disable them. All forecast types must contain
                the same <span class="keyword parmname">enableOwnerAdjustments</span> value.
                <p class="p">Disabling adjustments results in forecast adjustment data
                  being purged.</p>
              </td>

            </tr>

          </tbody>

        </table>

## ForecastingGroup

The group based on a custom picklist that is used to group or roll up forecast totals on the forecasts page. For example, group forecasts using a custom picklist for industry or sales type.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d529656e1488">Field</th>

              <th class="featureTableHeader  " id="d529656e1491">Field Type</th>

              <th class="featureTableHeader  " id="d529656e1494">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d529656e1488" data-title="Field"><span class="keyword parmname">developerName</span></td>

              <td class="entry" headers="d529656e1491" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e1494" data-title="Description">Required. The API name that identifies the forecast
                group.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e1488" data-title="Field"><span class="keyword parmname">forecastingGroupItems</span></td>

              <td class="entry" headers="d529656e1491" data-title="Field Type"><a class="xref" href="#ForecastingGroupItem">ForecastingGroupItem</a></td>

              <td class="entry" headers="d529656e1494" data-title="Description">Required. The picklist values for the forecast type. Possible
                values include the picklist values defined in
                <span class="keyword parmname">groupField</span>.
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e1488" data-title="Field"><span class="keyword parmname">groupField</span></td>

              <td class="entry" headers="d529656e1491" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e1494" data-title="Description">Required. The field name of the custom picklist used as a group.
                Possible values include custom, single-selection picklists available
                in <span class="keyword parmname">sourceObject</span>.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e1488" data-title="Field"><span class="keyword parmname">masterLabel</span></td>

              <td class="entry" headers="d529656e1491" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e1494" data-title="Description">Required. This read-only field indicates the UI label for the
                forecast group.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e1488" data-title="Field"><span class="keyword parmname">sourceObject</span></td>

              <td class="entry" headers="d529656e1491" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e1494" data-title="Description">Required. The source object for the picklist for the forecast
                group. Possible values include:<ul class="ul bulletList">
                  <li class="li">Opportunity</li>

                  <li class="li">OpportunityLineItem</li>

                  <li class="li">Product2</li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## ForecastingGroupItem

The picklist value that is specified as the forecasting group for a forecast type, and the order it displays in on the forecasts page.

| Field | Field Type | Description |
| --- | --- | --- |
| displayPosition | int | Required. Indicates the display order of the values on the forecasts page. |
| sourceAPIValue | string | Required. The API name is that’s derived from the group value. |

## ForecastRangeSettings

The default periods and range selections in forecasts. Users can forecast up to 15 months, 15 fiscal periods, or 8 quarters in the future or past. If your forecast range includes the current month, period, or quarter, the forecasts page shows the current month, period, or quarter by default. If not, the first month, period, or quarter of the range is selected. All forecast types must contain the same forecastRangeSettings field values.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d529656e1681">Field</th>

              <th class="featureTableHeader  " id="d529656e1684">Field Type</th>

              <th class="featureTableHeader  " id="d529656e1687">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d529656e1681" data-title="Field"><span class="keyword parmname">beginning</span></td>

              <td class="entry" headers="d529656e1684" data-title="Field Type">int</td>

              <td class="entry" headers="d529656e1687" data-title="Description">Required. Indicates the beginning month or quarter to display by
                default.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e1681" data-title="Field"><span class="keyword parmname">displaying</span></td>

              <td class="entry" headers="d529656e1684" data-title="Field Type">int</td>

              <td class="entry" headers="d529656e1687" data-title="Description">Required. Indicates the number of months or quarters to display
                by default. The maximum number of months is 12 and quarters is
                8.</td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e1681" data-title="Field"><span class="keyword parmname">periodType</span></td>

              <td class="entry" headers="d529656e1684" data-title="Field Type">
                <span class="ph" id="PeriodTypes"><a name="PeriodTypes"><!-- --></a>PeriodTypes</span>
                (<a class="xref" href="https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_objects_intro.htm#enumeration_title">enumeration</a> of type string)
              </td>

              <td class="entry" headers="d529656e1687" data-title="Description">Required. Indicates what type of period to use. Valid values are:<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">Month</samp></li>

                  <li class="li"><samp class="codeph nolang">Quarter</samp></li>

                  <li class="li"><samp class="codeph nolang">Week</samp></li>

                  <li class="li"><samp class="codeph nolang">Year</samp></li>

                </ul>
              </td>

            </tr>

          </tbody>

        </table>

## OpportunityListFieldsLabelMapping

A read-only list of the API names and UI labels for all fields on the Opportunity object.

| Field | Field Type | Description |
| --- | --- | --- |
| field | string | Required. The API name of the Opportunity field. |
| label | string | Required. The UI label of the Opportunity field. |

## OpportunityListFields​SelectedSettings

The fields selected to appear in the opportunity pane of the forecast page for the forecast type. One of the selected fields must be **Opportunity Name**. You can select up to 15 fields.

| Field | Field Type | Description |
| --- | --- | --- |
| field | string | Specifies names of fields to display in the opportunity pane. |

## OpportunityListFields​UnselectedSettings

The fields _not_ selected to appear in the opportunity pane of the forecast page for the forecast type.

| Field | Field Type | Description |
| --- | --- | --- |
| field | string | Specifies names of fields not displayed in the opportunity pane. |

## QuotasSettings

[QuotasSettings](#QuotasSettings) indicates if quotas are available in forecasts.

| Field | Field Type | Description |
| --- | --- | --- |
| showQuotas | boolean | Required. Set to true to enable quotas. All forecast types must contain the same showQuotas field value. |

## WeightedSourceCategory

This field can occur more than one time when specifying more than one forecast category to include in the rollup type. Each occurrence contains two subfields that specify a forecast category to include in the forecast rollup type and its weight. Some rollup types include more than one forecast category. This table shows the forecast categories that are included in each rollup type.

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d529656e2024">Field</th>

              <th class="featureTableHeader  " id="d529656e2027">Field Type</th>

              <th class="featureTableHeader  " id="d529656e2030">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d529656e2024" data-title="Field"><span class="keyword parmname">sourceCategoryApiName</span></td>

              <td class="entry" headers="d529656e2027" data-title="Field Type">string</td>

              <td class="entry" headers="d529656e2030" data-title="Description">Required. Specifies the API name of a forecast category to
                include in the rollup type. The valid values are.<ul class="ul bulletList">
                  <li class="li"><samp class="codeph nolang">pipeline</samp></li>

                  <li class="li"><samp class="codeph nolang">best case</samp></li>

                  <li class="li"><samp class="codeph nolang">commit</samp></li>

                  <li class="li"><samp class="codeph nolang">closed</samp></li>

                  <li class="li"><samp class="codeph nolang">omitted</samp></li>

                  <li class="li"><samp class="codeph nolang">customcategory</samp></li>

                </ul>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d529656e2024" data-title="Field"><span class="keyword parmname">weight</span></td>

              <td class="entry" headers="d529656e2027" data-title="Field Type">double</td>

              <td class="entry" headers="d529656e2030" data-title="Description">Required. Specifies the weight given to the forecast category
                when calculating the forecast for the rollup type. The only
                supported value is <samp class="codeph nolang">1.0</samp>.</td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a [ForecastingSettings](#meta_forecastingsettings "Represents the Forecasts settings options. This type extends the Metadata metadata type and inherits its fullName field.") component that enables the Opportunity-Revenue forecast type, adjustments, owner adjustments, and quotas, and changes forecast range settings:

<?xml version="1.0" encoding="UTF-8"?>
<ForecastingSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <defaultToPersonalCurrency\>false</defaultToPersonalCurrency\>
    <enableForecasts\>true</enableForecasts\>    
    <globalAdjustmentsSettings\>
        <enableAdjustments\>true</enableAdjustments\>
        <enableOwnerAdjustments\>true</enableOwnerAdjustments\>
    </globalAdjustmentsSettings\>
    <globalForecastRangeSettings\>
        <beginning\>1</beginning\>
        <displaying\>6</displaying\>
        <periodType\>Month</periodType\>
    </globalForecastRangeSettings\>
    <globalQuotasSettings\>
        <showQuotas\>true</showQuotas\>
    </globalQuotasSettings\>
    <forecastingCategoryMappings\>
        <forecastingItemCategoryApiName\>commitonly</forecastingItemCategoryApiName\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>commit</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
    </forecastingCategoryMappings\>
    <forecastingCategoryMappings\>
        <forecastingItemCategoryApiName\>closedonly</forecastingItemCategoryApiName\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>closed</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
    </forecastingCategoryMappings\>
    <forecastingCategoryMappings\>
        <forecastingItemCategoryApiName\>openpipeline</forecastingItemCategoryApiName\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>most likely</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>commit</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>pipeline</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>best case</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
    </forecastingCategoryMappings\>
    <forecastingCategoryMappings\>
        <forecastingItemCategoryApiName\>omittedonly</forecastingItemCategoryApiName\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>omitted</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
    </forecastingCategoryMappings\>
    <forecastingCategoryMappings\>
        <forecastingItemCategoryApiName\>bestcaseforecast</forecastingItemCategoryApiName\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>most likely</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>commit</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>closed</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>best case</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
    </forecastingCategoryMappings\>
    <forecastingCategoryMappings\>
        <forecastingItemCategoryApiName\>pipelineonly</forecastingItemCategoryApiName\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>pipeline</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
    </forecastingCategoryMappings\>
    <forecastingCategoryMappings\>
        <forecastingItemCategoryApiName\>commitforecast</forecastingItemCategoryApiName\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>closed</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>commit</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
    </forecastingCategoryMappings\>
    <forecastingCategoryMappings\>
        <forecastingItemCategoryApiName\>bestcaseonly</forecastingItemCategoryApiName\>
        <weightedSourceCategories\>
            <sourceCategoryApiName\>best case</sourceCategoryApiName\>
            <weight\>1.0</weight\>
        </weightedSourceCategories\>
    </forecastingCategoryMappings\>
    <forecastingTypeSettings\>
	<name\>OpportunityRevenue</name\>
        <active\>true</active\>    
        <hasProductFamily\>false</hasProductFamily\>
        <isAmount\>true</isAmount\>
        <isAvailable\>true</isAvailable\>
        <isQuantity\>false</isQuantity\>
        <managerAdjustableCategoryApiNames\>commitonly</managerAdjustableCategoryApiNames\>
        <managerAdjustableCategoryApiNames\>bestcaseonly</managerAdjustableCategoryApiNames\>
        <masterLabel\>Opportunities</masterLabel\>
	<displayedCategoryApiNames\>closedonly</displayedCategoryApiNames\>
        <displayedCategoryApiNames\>commitonly</displayedCategoryApiNames\>
        <displayedCategoryApiNames\>bestcaseonly</displayedCategoryApiNames\>
        <displayedCategoryApiNames\>pipelineonly</displayedCategoryApiNames\>
        <forecastedCategoryApiNames\>commitonly</forecastedCategoryApiNames\>
        <forecastedCategoryApiNames\>closedonly</forecastedCategoryApiNames\>
        <forecastedCategoryApiNames\>pipelineonly</forecastedCategoryApiNames\>
        <forecastedCategoryApiNames\>bestcaseonly</forecastedCategoryApiNames\>
        <forecastingDateType\>OpportunityCloseDate</forecastingDateType\>
        <opportunityListFieldsSelectedSettings\>
            <field\>OPPORTUNITY.NAME</field\>
        </opportunityListFieldsSelectedSettings\>
    </forecastingTypeSettings\>
</ForecastingSettings\>

## Wildcard Support in the Manifest File

The wildcard character \* (asterisk) in the package.xml manifest file doesn’t apply to metadata types for feature settings. The wildcard applies only when retrieving all settings, not for an individual setting. For details, see [Settings](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/meta_settings.htm). For information about using the manifest file, see [Deploying and Retrieving Metadata with the Zip File](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).