---
schema_version: "1"
id: cb8b896339547b23f7e4ff3491854c6400946a613585e54266fca179d0ac7d3c
title: Work with the Data Processing Engine Edits Prebuilt App
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/admin_rebates_easy_dpe_edit_work.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.admin_rebates_easy_dpe_edit_work.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e8df779fbce2671a0753e643605467913e64369d0b970254805cb495314c6373
description: Use the Data Processing Engine Edits for Rebates prebuilt app to easily edit Data Processing Engine (DPE) definitions. Map custom fields between Transaction Journal and Rebate Member Product Aggregate, and download the modified DPE JSON file for the Aggregate Payouts by Member with Aggregate Item Details definition. The grouping and aggregation logic is automatically updated in the DPE definition based on the field mappings. You can upload the JSON file in the DPE builder to view the changes to an existing DPE definition in your org.
products:
  - Partner Cloud
  - Cross Cloud
  - Manufacturing
release: "264"
---
# Work with the Data Processing Engine Edits Prebuilt App

Use the Data Processing Engine Edits for Rebates prebuilt app to easily edit Data Processing Engine (DPE) definitions. Map custom fields between Transaction Journal and Rebate Member Product Aggregate, and download the modified DPE JSON file for the Aggregate Payouts by Member with Aggregate Item Details definition. The grouping and aggregation logic is automatically updated in the DPE definition based on the field mappings. You can upload the JSON file in the DPE builder to view the changes to an existing DPE definition in your org.

### 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 Rebate Management 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="d7310e63">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d7310e63 ">To use the prebuilt app:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d7310e63 ">View access on Transaction Journal and Rebate Member Product Aggregate object</td>

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

1. To clone a Data Processing Engine (DPE) template, follow these steps.
    1. From Setup, in the Quick Find box, enter Data Processing, and select **Data Processing Engine**.
    2. Click **Aggregate Payouts by Member with Aggregate Item Details**.
    3. Click **Save As**.
    4. Enter a name for the DPE definition.
    5. Click **Activate**.
2. To create custom fields that you use as grouping and aggregation criteria, follow these steps.
    1. ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-channel_revenue_mgmt-264-0-0-production-enus/0afcbbd8-b325-4d62-baa1-63243d1c10aa/images/icon_note.png)
        
        Note See [Create Custom Fields](https://help.salesforce.com/s/articleView?id=platform.adding_fields.htm&type=5&language=en_US) for detailed steps.
        
        Create a custom field on Transaction Journal that you want to use as a grouping criteria.
        
        For example, to group records by a member’s region, create a picklist type field called Region and add values such as APAC, EMEA, and AMER.
    2. Create a custom field on Rebate Member Product Aggregate that you want to use as a grouping criteria.
        
        The data type must be similar to the custom field on Transaction Journal. For example, create a picklist type field called Member Territory, and add values such as APAC, EMEA, and AMER.
3. Create a custom field on Transaction Journal that you want to use as an aggregation criteria.
    
    For example, to aggregate the return quantity of products for a member, create a number type field called Return Order Quantity.
4. Create a custom field on Rebate Member Product Aggregate that you want to use as an aggregation criteria.
    
    The data type must be similar to the custom field on Transaction Journal. For example, create a number type field called Total Return Quantity.
5. To map the custom fields, follow these steps.
    1. From the App Launcher, find and select **Data Processing Engine Edit**.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-channel_revenue_mgmt-264-0-0-production-enus/0afcbbd8-b325-4d62-baa1-63243d1c10aa/images/icon_note.png)
        
        Note This app opens as a new tab in your org.
    2. For Data Processing Engine Definition, enter the API name of the DPE definition you created in step 1.
    3. In the Aggregate Data section, select these fields.
        
        - Transaction Journal Field: The custom field on Transaction Journal that you want to use as an aggregation criteria.
        - Rebate Aggregate Object Field: The custom field on Rebate Member Product Aggregate that you want to use as an aggregation criteria.
        - Aggregate with Eligibility Criteria: Select the checkbox when you want the DPE definition to apply the eligibility criteria and the Included or Excluded product filters for aggregation.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-channel_revenue_mgmt-264-0-0-production-enus/0afcbbd8-b325-4d62-baa1-63243d1c10aa/images/icon_note.png)
        
        Note You can map up to three fields in this section.
    4. In the Group Data section, select these fields.
        
        - Transaction Journal Field: The custom field on Transaction Journal that you want to use as a grouping criteria.
        - Rebate Aggregate Object Field: The custom field on Rebate Member Product Aggregate that you want to use as a grouping criteria.
        
        ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-channel_revenue_mgmt-264-0-0-production-enus/0afcbbd8-b325-4d62-baa1-63243d1c10aa/images/icon_note.png)
        
        Note You can map up to three fields in this section.
    5. To clear field selections, click **Reset**.
6. To update the DPE definition, follow these steps.
    1. Click **Download JSON File**.
    2. From Setup, in the Quick Find box, enter Data Processing, and select **Data Processing Engine**.
    3. Click the definition that you created in step 1.
    4. Click **Deactivate**.
    5. Click **Upload**.
    6. Select the file that you downloaded.
    7. Click **Upload**.
    8. Click **Save**.
    9. To view the changes, refresh the page.
    10. Click **Activate**.

You can now edit the required rebate types and select this DPE definition as the calculation definition. Also, select the updated DPE definition in your rebate orchestration flows.