---
schema_version: "1"
id: 4be997fa8b8438ad94634079e47a95a3a6db57b1d253bd26b3302671795177a6
title: Create a Pricing Calculation Schema
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/ppp_create_calc_schema.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.ppp_create_calc_schema.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 6951e139c035eac50ac0d23c297224c882bc483b6f7c6e1563f7d386a3a391d9
description: Build the ordered sequence of condition steps used to calculate order and line-item prices.
products:
  - Manufacturing
  - Automotive
  - Consumer Goods
release: "264"
---
# Create a Pricing Calculation Schema

Build the ordered sequence of condition steps used to calculate order and line-item prices.

### 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> and <strong>Unlimited</strong> Editions in Manufacturing Cloud, Automotive Cloud, and Consumer Goods Cloud, with <a href="https://help.salesforce.com/s/articleView?id=xcloud.ppp_editions_permissions.htm&amp;release=264.0.0&amp;type=5" title="Confirm the editions, add-on licenses, and organization-level permissions required before you configure or use Penny Perfect Pricing.">required add-ons</a>.</td></tr></tbody></table>

A Pricing Calculation Schema defines how order and line-item prices are calculated through an ordered sequence of condition steps. Align your calculation schema in Salesforce with your ERP system to maintain identical pricing results across systems.

1. Create the Calculation Schema.
    1. From the **App Launcher**, find and select **Pricing Calculation Schema**, and then click **New**.
    2. Enter a schema expression set name and select a **Context Definition**.
    3. Optionally, search for and select an **Internal Organization Unit**.
    4. Click **Save**.
2. Add Calculation Schema Steps.
    1. Select the calculation schema record and click the **Expression Set Versions** link to open the builder.
    2. In the builder, add a **Pricing Calculation Schema Step**.
    3. Provide step details:
        
        - **Pricing Specification:** Select the target pricing specification.
        - **Step Configuration Checkboxes:** Statistical Step, Accrual Step, Matching Price Found, and Printable Step.
        - **Execution Sequence and Order Product Rule Scope:** Set the execution sequence value (use increments of 10, for example, 100), and optionally select an Order Product Rule Scope.
        - **Interim Calculation Value:** Select an auxiliary variable (for example, Copy Value 1) to store intermediate step totals.
        - **Target Condition and Target Result:** Select the target output attributes (for example, Target Condition = Base Price Receipt).
        - **Step Reference:** Reference previous step numbers used as a calculation basis.
        - **Calculation Groups:** Select allowed groups (for example, Delivery, Return, Return Resale, or Free Item) from the Available slushbucket and move them to Selected.
    4. Click **Save**, and then click **Activate**.