Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Channel Revenue Management
Work with the Data Processing Engine Edits Prebuilt App

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

Available in: Enterprise, Unlimited, and Developer Editions that have Rebate Management enabled.
User Permissions Needed
To use the prebuilt app: View access on Transaction Journal and Rebate Member Product Aggregate object
  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
      Note See Create Custom Fields 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
      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
      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
      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.

 
Loading
Salesforce Help | Article