---
schema_version: "1"
id: c0897025b0fa40d2956aa4f9855a7711004246ed0582b305d438fa8c9708eda5
title: Troubleshoot Penny Perfect Pricing
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/ppp_troubleshoot.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.ppp_troubleshoot.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 83a2d5e8616aeb9637fc8e9dc0a9b146bed78fd941133523c27e253a7260390c
description: Diagnose and resolve the common reasons an order doesn't price as expected.
products:
  - Manufacturing
  - Automotive
  - Consumer Goods
release: "264"
---
# Troubleshoot Penny Perfect Pricing

Diagnose and resolve the common reasons an order doesn't price as expected.

### 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>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
      <colgroup>
        <col style="width:50%">
        <col style="width:50%">
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d3918e71">User Permissions Needed</th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d3918e71 ">To troubleshoot pricing configurations and data pipelines</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d3918e71 ">Manage Advanced Pricing AND View Setup and Configuration</td>

        </tr>
        <tr class="">
          <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d3918e71 ">To review data pipelines and error logs</td>

          <td class="slds-cell-wrap" style="vertical-align:top;" headers="d3918e71 ">Manage Data Pipelines</td>

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

## No Price Returned or Zero Price Calculated

**Possible Causes**

- No matching condition record exists in the **External Pricing Key Value Consolidated View** object for any evaluated Search Strategy Step.
- The **External Pricing Key Value Consolidation** job hasn't run, is still in progress, or failed.
- Key Type field attribute mappings don't match the condition master data imported from the ERP system.
- The **Internal Organization Unit** on the **Pricing Specification** doesn't match the **Internal Organization Unit** value on the imported **External Pricing Key Value** records.
- The validity date range (Valid From / Valid To) on condition records doesn't cover the order pricing date.
- **Valid From** or **Valid To** was left blank on the condition record — both fields must be populated when importing condition data.

**Diagnosis**

- Open the priced Order record and inspect the **Pricing Details** tab to see which Search Strategy Steps were evaluated.
- Verify that consolidated condition records exist for the expected merge keys:
    - From **Setup**, enter Expression Sets in the **Quick Find** box, and select **Expression Sets**.
    - Open the **External Pricing Key Value Consolidated Views** tab.
    - Filter by **Internal Organization Unit** and **External Pricing Specification**, and search for records matching the order account and product attributes.
- Verify that the **External Pricing Key Value Consolidation** job completed successfully:
    - From **Setup**, in the **Quick Find** box, enter Data Processing Engines, and select Data Processing Engines.
    - Check the execution status and error logs for **External Pricing Key Value Consolidation**.
- Confirm that Key Type attribute definitions match your ERP condition table structure.

**Resolution**

- Import missing condition master data into the **External Pricing Key Value** object, and re-run the External Pricing Key Value Consolidation job.
- Add a generic fallback step to your **Search Strategy** (such as base product price without customer specificity).
- Update validity dates (**Valid From** / **Valid To**) on affected condition records.
- Reconfigure **Pricing Key Type** field mappings to match the imported condition data.

## Pricing Performance or Timeouts

**Possible Causes**

- The order exceeds the supported limit of 1,000 line items per transaction.
- The **External Pricing Key Value Consolidated View** table exceeds 40 million rows per sales organization.
- The Calculation Schema contains an excessive number of calculation steps.

**Diagnosis**

- Check the line item count on the Order record.
- Check the number of calculation steps configured in the order's Pricing Calculation Schema.
- Check APEX CPU time and heap allocation in Developer Console debug logs during price calculation.

**Resolution**

- Split orders with more than 1,000 line items into multiple smaller orders.
- Archive or delete expired pricing condition records (**Valid To** in the past) to reduce consolidated view row counts.
- Streamline the Calculation Schema by consolidating or removing unnecessary calculation steps.
- Contact Salesforce Support if calculation performance issues persist after optimizing data size.

## External Pricing Key Value Consolidation Job Fails

**Possible Causes**

- Mapped Key Type attributes are missing or misconfigured in expression set metadata.
- Required fields contain null values in **External Pricing Key Value** records.
- Data Processing Engine (DPE) runtime limits or execution errors occurred.

**Diagnosis**

- Review DPE execution logs:
    - From **Setup**, in the **Quick Find** box, enter Data Processing Engines, and select Data Processing Engines.
    - Select **External Pricing Key Value Consolidation** and view the **Execution History** related list.
    - Open the failed job record to inspect the detailed error message.
- Verify data completeness in **External Pricing Key Value** and **External Pricing Key Value Tier** staging tables.

**Resolution**

- Correct field attribute mappings in the **Pricing Key Type** Expression Set Builder, save, and activate.
- Clean and re-import staging data to ensure all required fields are populated.
- Re-run the **External Pricing Key Value Consolidation** job definition.