---
schema_version: "1"
id: 6a706b795350fec32a89a13ba51ddbdd875ead04e082e6488c1ed14218fbeaf3
title: Customize the Generate Account Forecast Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/aaf_customize_dpe_revenue_metrics_definition.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.aaf_customize_dpe_revenue_metrics_definition.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: a5e32e87c1c29997efccb1639a4b0956ee73a1b3fce0e1d75609af0f19cbdb89
description: Clone and customize the predefined Data Processing Engine templates available with Advanced Account Forecasting to generate, calculate, rollover, and regenerate forecasts with the new revenue measures. The cloned definitions must be activated after you make the required changes and the definitions are selected for use in the forecast set. You can run the definitions periodically through scheduled flows for all or selected accounts.
products:
  - Manufacturing
release: "264"
---
# Customize the Generate Account Forecast Template

Clone and customize the predefined Data Processing Engine templates available with Advanced Account Forecasting to generate, calculate, rollover, and regenerate forecasts with the new revenue measures. The cloned definitions must be activated after you make the required changes and the definitions are selected for use in the forecast set. You can run the definitions periodically through scheduled flows for all or selected accounts.

### 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: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-manufacturing-264-0-0-production-enus/71a7997a-6330-43f9-81ad-0e7c8f13997c/images/icon_note.png)

Note In this example we show you how to customize the Generate Account Forecast template to analyze cost and profit margins in a forecast. You’ll need to repeat the same steps to customize the other Data Processing Engine templates for recalculation, rollover, and regeneration processes.

1. **[Edit Sales Agreement Product Schedule Nodes](https://help.salesforce.com/s/articleView?id=ind.aaf_customize_dpe_revenue_metrics_definition_sa.htm&release=264.0.0&type=5)**  
    To ensure that the fixed cost and variable cost of all products are included in Data Processing Engine calculations, update all nodes originating from Sales Agreement Product Schedule.
2. **[Edit Opportunity Line Item Nodes](https://help.salesforce.com/s/articleView?id=ind.aaf_customize_dpe_revenue_metrics_definition_opp.htm&release=264.0.0&type=5)**  
    To ensure that the fixed cost and variable cost of all products are included in Data Processing Engine calculations, update all nodes originating from Opportunity Line Item.
3. **[Write Back Revenue Measure Values](https://help.salesforce.com/s/articleView?id=ind.aaf_customize_dpe_revenue_metrics_definition_writeback.htm&release=264.0.0&type=5)**  
    To write back data for the custom revenue measures that demand planners want to view on the forecast grid, update the appropriate nodes. The data is written back to the Advanced Account Forecast Fact object.