---
schema_version: "1"
id: cacf7bbdd46bc2786a23e7e0d83b30584dd3f80fa21c5b623011d842da2f4814
title: RetailExecutionSettings
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/metadata_api_retexset.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/metadata_api_retexset.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 724c125d5b2010b528e0ad61aa553ef761fce8084d61f8c4a8466b75f74b4b86
description: Represents settings to manage your inventory, promotions, planograms, and in-store activities.
---
# RetailExecutionSettings

Represents settings to manage your inventory, promotions, planograms, and in-store activities.

This type extends the [Metadata](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/metadata.htm "HTML (New Window)") metadata type and inherits its fullName field.

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.264.0.api_meta.meta/api_meta/meta_settings.htm "HTML (New Window)") for more details.

## File Suffix and Directory Location

RetailExecutionSettings are stored in a single file named RetailExecution.settings in the settings directory.

## Version

RetailExecutionSettings are available in API version 47.0 and later.

## Fields

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



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

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

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

            </tr>

          </thead>

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

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

              <td class="entry" headers="d121930e97" data-title="Description">Indicates whether Product Hierarchy is enabled for your org (<samp class="codeph nolang">true</samp>) or not <samp class="codeph nolang">false</samp>). <p class="p">This field is available in API version 53.0 and
                  later.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d121930e97" data-title="Description">Indicates whether Retail Execution is enabled for your org (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). <p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>
              </td>

            </tr>

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

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

              <td class="entry" headers="d121930e97" data-title="Description">Indicates whether Visit Share is enabled for your org (<samp class="codeph nolang">true</samp>) or not (<samp class="codeph nolang">false</samp>). <p class="p">The default value is <samp class="codeph nolang">false</samp>.</p>
                <p class="p">This field is available in API version 55.0 and
                  later.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Declarative Metadata Sample Definition

The following is an example of a RetailExecutionSettings component.

<?xml version="1.0" encoding="UTF-8"?>
<RetailExecutionSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <enableRetailExecution\>true</enableRetailExecution\>
    <enableProductHierarchy\>true</enableProductHierarchy\>
    <enableVisitSharing\>false</enableVisitSharing\>
</RetailExecutionSettings\>

The following is an example package.xml that references the previous definition.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types\>
        <members\>RetailExecution</members\>
        <name\>Settings</name\>
    </types\>
    <version\>55.0</version\>
</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](https://developer.salesforce.com/docs/atlas.en-us.264.0.api_meta.meta/api_meta/file_based_zip_file.htm).