---
schema_version: "1"
id: 3d138b2b61640e1f8dd4f08730f290d9a26b916cd2f65f34e4adbd4d1d1e2733
title: Data Processing Templates for Stock Rotation Incentive Claim Processing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/chrm_stock_rotation_dpe.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.chrm_stock_rotation_dpe.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: af3a3c8752748cd13e1713208990bdd0b011f6c9621c0a1725defa825deb41ef
description: Clone and use the predefined Data Processing Engine (DPE) definitions for Stock Rotation to automate inventory eligibility stamping and the creation of execution items. You can use these definitions as-is or extend them to meet specific business requirements. To use a definition, you must activate it.
products:
  - Partner Cloud
  - Cross Cloud
  - Manufacturing
release: "264"
---
# Data Processing Templates for Stock Rotation Incentive Claim Processing

Clone and use the predefined Data Processing Engine (DPE) definitions for Stock Rotation to automate inventory eligibility stamping and the creation of execution items. You can use these definitions as-is or extend them to meet specific business requirements. To use a definition, you must activate it.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions that have Stock Rotation enabled</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d18116e63">User Permissions
              Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d18116e63 ">To configure data processing templates:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d18116e63 ">Data Pipelines Base User AND Channel Partner Inventory Tracking Admin</td>

          </tr>
        </tbody>
      </table>

Before you begin, ensure that Data Pipelines and Channel Partner Inventory Tracking are enabled.

1. From Setup, in the Quick Find box, enter Data Processing Engine, and then select **Data Processing Engine**.
2. Locate the following Stock Rotation templates:
    1. Stock Rotation Eligibility Calculation for Partner Unsold Inventory: Identifies and stamps eligible Partner Unsold Inventory (PUI) records. See [Stock Rotation Eligibility Calculation for Partner Unsold Inventory](https://help.salesforce.com/s/articleView?id=xcloud.chrm_stock_rotation_dpe_eligibility_calculation.htm&type=5&language=en_US)
    2. Stock Rotation and Execution Item Processing: Creates the Stock Rotation Execution (SRE) and Line Item (SRELI) records. See [Stock Rotation and Execution Item Processing](https://help.salesforce.com/s/articleView?id=xcloud.chrm_stock_rotation_dpe_execution_item_processing.htm&type=5&language=en_US)
3. Enter a unique name for each cloned definition.
4. (Optional) Customize logic, such as the date range calculation for validity duration.
5. Save and Activate each definition.

- **[Stock Rotation Eligibility Calculation for Partner Unsold Inventory](https://help.salesforce.com/s/articleView?id=xcloud.chrm_stock_rotation_dpe_eligibility_calculation.htm&release=264.0.0&type=5)**  
    The Stock Rotation Eligibility Calculation for Partner Unsold Inventory template stamps eligibility onto eligible Partner Unsold Inventory (PUI) records. This DPE is responsible for calculating the eligibility of any invoice for stock rotation.
- **[Stock Rotation and Execution Item Processing](https://help.salesforce.com/s/articleView?id=xcloud.chrm_stock_rotation_dpe_execution_item_processing.htm&release=264.0.0&type=5)**  
    Once a Partner Unsold Inventory (PUI) is stamped with the eligibility condition, the next step is to run the Stock Rotation and Execution Item Processing DPE. This DPE is responsible for creating the stock rotation and the corresponding invoices to show to the partner.