---
schema_version: "1"
id: 5a059d321c57d2c87cff7b7a47fab7c31a0011b9a6cf8adff3b73243b2bd02c3
title: Setup for Penny Perfect Pricing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_concept_user_pricing_configuration_steps_new.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_concept_user_pricing_configuration_steps_new.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f7f0ec73dbfa6bf98eb0621444472eb532d75325bcaff4a757ce976b8765f381
description: A typical flow of pricing configuration involves creating of the key attributes, key types, search strategy, pricing condition template, calculation schema, and schema determination.
products:
  - Consumer Goods
release: "264"
---
# Setup for Penny Perfect Pricing

A typical flow of pricing configuration involves creating of the key attributes, key types, search strategy, pricing condition template, calculation schema, and schema determination.

### 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;">
            <p>Available in: Lightning Experience</p>
            <p style="margin-bottom:0;">Available in: <strong>Enterprise</strong> and
              <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled
            </p>
          </td>

        </tr>
      </tbody>
    </table>

Here is the pictorial representation of the steps to configure Penny Perfect Pricing.

![Diagram showing the workflow for penny perfect pricing setup by the business admin.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-consumer_goods_retail_admin-264-0-0-production-enus/5bb7d7f5-119d-42d0-8596-95e762837019/consumer_goods_retail_admin/images/cg_penny_perfect_pricing.jpg)

With the setup of Penny Perfect Pricing, you get:

- Pricing rules and calculation schema
- Offline pricing engine with condition search
- Scalable batch and sync process for pricing conditions
- Monitoring and tracking

To set up Penny Perfect Pricing, complete these configuration tasks in order.

1. **[Create a Key Attribute](https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_create_key_atrributes.htm&release=264.0.0&type=5)**  
    A key attribute defines a specific object field that the pricing engine uses as part of a condition record search key. Key attributes are the building blocks of key types. A key type combines multiple key attributes to define the exact combination of fields the engine uses to look up a condition record.
2. **[Create a Key Type](https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_create_key_types.htm&release=264.0.0&type=5)**  
    A Key type is a combinations of key attributes that are used to search for specific conditions. Most common keys such as customer, customer set, and product can be directly defined in the key definition section of the key type. More flexible keys (out of customer, product, order entity) can be defined in key attributes (Key Definitions section). A key type can contain up to 10 key attributes.
3. **[Create a Search Strategy](https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_create_search_strategies.htm&release=264.0.0&type=5)**  
    Search strategy is a set of key attribute combinations that determine pricing conditions. Depending on the key attribute combination, condition search can be specific or generic. The search strategy assigned to a pricing condition defines how a pricing condition template searches for pricing conditions. Well-designed search strategies can improve search results.
4. **[Create a Pricing Condition Template for Penny Perfect Pricing](https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_create_pricing_condition_template.htm&release=264.0.0&type=5)**  
    The Pricing Condition Template defines various conditions, such as discounts or surcharges used in the calculation steps of a calculation schema.
5. **[Create a Calculation Schema](https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_create_calculation_schema.htm&release=264.0.0&type=5)**  
    A Calculation Schema defines how the price of an order and the order items are calculated. The calculation schema contains a sequence of condition steps (the calculation step is linked with a condition template) and defines the calculation steps to be performed in a particular sequence.
6. **[Create a Calculation Schema Determination](https://help.salesforce.com/s/articleView?id=ind.cg_task_admin_create_calculation_schema_determination_online.htm&release=264.0.0&type=5)**  
    Determine the correct calculation schema for an order by using Calculation Schema Determination, which specifies the valid calculation schema for a unique combination of customer price type and order price type. You can have only one calculation schema determination for a unique combination of order price type and customer price type.
7. **[Penny Perfect Pricing Logs](https://help.salesforce.com/s/articleView?id=ind.cg_concept_user_pricing_logs.htm&release=264.0.0&type=5)**  
    The pricing engine writes and syncs a pricing log only if the Generate Pricing Log field of the corresponding order template is set to Yes. If the pricing engine skips a calculation step while calculating an order, then the pricing log captures the step's details, such as the field that skipped the step: either User Exit, Calculation Group, or Promotion. To view the pricing log, go to the Pricing Information and Attachments tab of an order. The Pricing Log shows the conditions that aren’t found for the order.