You are here:
Customize Data Processing Engine Definitions to Support a Large Number of Rebate Eligibility Conditions
Data Processing Engine (DPE) definition runs can fail if there are multiple eligibility criteria conditions to filter transactions that qualify for member payouts. Having a large number of filter conditions in a DPE definition increases the recipe size that’s not supported by the calculation engine framework. To reduce the chances of DPE failure, use the Compute Valid Transaction Journals Per Rebate Type custom node.
Required Editions
| Available in: Enterprise, Unlimited, and Developer Editions that have Rebate Management enabled. |
| User Permissions Needed | |
|---|---|
| To customize Data Processing Engine definitions: | Customize Application AND Data Pipelines Base User permission set |
The custom node Compute Valid Transaction Journals Per Rebate Type is built into all the DPE templates of process type Rebates starting Spring ‘23.
Follow these steps if you are using an existing DPE definition that you cloned from a DPE template before the Spring ‘23 upgrade. Add the custom node to the existing definition that you’re using as the calculation definition on active rebate types.
-
If you’re using a DPE definition that’s cloned from any of the templates other than the
Year Over Year Growth Aggregate using Member template, follow these steps:
- In Setup, enter Data Processing in the Quick Find Box, and select Data Processing Engines.
- Open an active definition that you want to update.
- Click Deactivate.
- Click New Node, and select Custom as the node type.
- Enter Compute Valid Transaction Journals Per Rebate Type New as the name.
-
Enter Compute_Valid_Transaction_Journals_Per_Rebate_Type_New
as the API name.
- Click Save.
- On the Configuration tab of the new node, select industries_mfg:RebatesExpression as the custom node.
- Select Filter Journals For Valid Products as the source node.
- For the inputColumn parameter, select FilterCriteria as the input value.
- For the isFilterCriteria parameter, select Value as the input type.
- For the isFilterCriteria parameter, enter true as the input value.
- For the outputColumn parameter, enter IsValidForFilter as the input value.
-
Click Done.
-
Click
.
- Click the Filter Valid Transaction Journals For Rebate Types node.
- Click Configure on the node’s icon in the builder.
- Replace Source Node from Compute Valid Transaction Journals Per Rebate Type to Compute Valid Transaction Journals Per Rebate Type New.
- Select IsValidForFilter as the filter resource.
- Select Equals as the filter operator.
- Select Field as the filter type.
- Enter true as the filter value.
-
Click Done.
-
Click
.
- Click the formula node Compute Valid Transaction Journals Per Rebate Type.
- Click Configure on the node’s icon in the builder.
-
Click
.
-
Click Save.
-
Click
.
- Click the custom node Compute Valid Transaction Journals Per Rebate Type New.
-
Click
.
- Rename the node to Compute Valid Transaction Journals Per Rebate Type.
- Click Continue.
- Click Save.
-
If you’re using a DPE definition that’s cloned from the Year Over Year Growth Aggregate
using Member template, follow these steps in addition to the previous step.
- Click New Node, and select Custom as the node type.
- Enter Compute Prior Date Valid Transaction Journals Per Rebate Type New as the name.
- Enter Compute_Prior_Date_Valid_Transaction_Journals_Per_Rebate_Type_New as the API name.
-
Click Save.
- On the Configuration tab of the new node, select industries_mfg:RebatesExpression as the custom node.
- Select Filter Journals With Prior Period For Valid Products as the source node.
- For the inputColumn parameter, select FilterCriteria as the input value.
- For the isFilterCriteria parameter, select Value as the input type.
- For the isFilterCriteria parameter, enter true as the input value.
- For the outputColumn parameter, enter IsValidForFilter as the input value.
-
Click Done.
-
Click
.
- Click the Filter Prior Period Valid Transaction Journals For Rebate Types node.
- Click Configure on the node’s icon in the builder.
- Replace Source Node from Compute Prior Date Valid Transaction Journals Per Rebate Type to Compute Prior Date Valid Transaction Journals Per Rebate Type New.
- Select IsValidForFilter as the filter resource.
- Select Equals as the filter operator.
- Select Field as the filter type.
- Enter true as the filter value.
-
Click Done.
-
Click
.
- Click the formula node Compute Prior Date Valid Transaction Journals Per Rebate Type.
- Click Configure on the node’s icon in the builder.
-
Click
.
-
Click Save.
-
Click
.
- Click the custom node Compute Prior Date Valid Transaction Journals Per Rebate Type New.
-
Click
.
- Rename the node to Compute Prior Date Valid Transaction Journals Per Rebate Type.
- Click Continue.
- Click Save.
Activate the DPE definition after verifying the changes and update the required Program Rebate Type records and rebate orchestration flows to include the updated definition.
