---
schema_version: "1"
id: 56c4f73e229f1bd376741d59791488271899749328b9d596e1dd4388a2bb7026
title: Configure Advanced Rebate and Accrual Pre-Processing - Rule Configuration DPE
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/admin_rebates_adv_custom_anchors_rule_configuration_dpe.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.admin_rebates_adv_custom_anchors_rule_configuration_dpe.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6556064ffbce8a7dfbd47b8b5a49a0fd54f4de0aa5af0154b9ff731ae2c33b7b
description: This stage tells the system which custom field(s) to use for aggregation.
products:
  - Partner Cloud
  - Cross Cloud
  - Manufacturing
release: "264"
---
# Configure Advanced Rebate and Accrual Pre-Processing - Rule Configuration DPE

This stage tells the system which custom field(s) to use for aggregation.

### 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 and Accrual Management Advanced enabled.</td></tr></tbody></table>

1. Create Custom Fields: Ensure the field you want to aggregate by (e.g., Region\_\_c) exists on the Transaction Journal object.
2. Define Aggregate Fields:
    1. Create a new Program Rebate Type Aggregate record.
    2. Select your custom field as the source.
    3. Associate it with the relevant Program Rebate Type.
3. Update the Input Anchor Formula:
    1. Open your cloned Advanced Rebate and Accrual Pre-Processing - Rule Configuration DPE.
    2. Navigate to the node: Calculate Accrual and Payout Input Anchor.
    3. Locate the formula for Anchor1 (set to "false" by default).
    4. Update it to check for your custom field: IF(CONTAINS({PRT\_AggregationCriteria}, "Product\_\_c"), "true", "false")

![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 use Anchor2 and Anchor3 for additional dimensions by updating their respective formulas.