---
schema_version: "1"
id: cfc3ee314f98b71ce17c8f62f62f2b9602bf5b092decebcdba485325c33295a6
title: Creating a Qualification Rule to Disable Pricing Adjustments
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_creating_a_qualification_rule_to_disable_pricing_adjustments.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_creating_a_qualification_rule_to_disable_pricing_adjustments.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 21a77b7c0edf7d6b1fc90ca27b6fbf58b3f59176aef1ad41a0c44c61320b5d12
description: In some implementations, you might want to prevent users from making manual pricing adjustments. You can configure the card templates of Industries Cart to remove this capability, or you can create a context rule to not allow pricing adjustments.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Creating a Qualification Rule to Disable Pricing Adjustments

In some implementations, you might want to prevent users from making manual pricing adjustments. You can configure the card templates of Industries Cart to remove this capability, or you can create a context rule to not allow pricing adjustments.

To create a new qualification context rule set to not allow pricing adjustments, follow these instructions.

For this rule to disable pricing adjustments, it must be the only context rule for pricing adjustments in your org. To conditionally disable pricing adjustments, you must specify additional context rule conditions to restrict its scope, such as account SLA or order originating channel.

## Verify the Adjustment Virtual Context Scope

You must use the AdjustmentData virtual context scope for your rule. If this context scope does not exist, create it. For more information about creating context scopes, see [Creating Context Scopes](https://help.salesforce.com/s/articleView?id=ind.comms_creating_context_scopes.htm&release=264.0.0&type=5 "If context scopes have not been created in your environment, you must create them before defining context rules. This process is performed once as part of the initial context rule setup."). For more information on virtual context scopes, see [Virtual Context Scopes](https://help.salesforce.com/s/articleView?id=ind.comms_virtual_context_scopes.htm&release=264.0.0&type=5 "Starting in Summer '18, virtual context scopes enable you to create context mappings to virtual objects. Virtual context scopes and virtual objects enable you evaluate data entered by the user at run time that is stored only in memory, such as pricing adjustment data. The Summer '18 release contains one supported virtual object, AdjustmentData, that is used for context rules for pricing adjustments.").

## Create the Context Rule

To create a context rule and rule conditions to evaluate the AdjustmentValue context dimension and context mapping:

1. In Vlocity Product Console in the **Rules** area, next to Rules, click **Create** ![The plus icon for Create](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/productconsole_create.jpg).
2. In the **New Rule** dialog box, enter the following information.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
              <colgroup>
                <col>
                <col>
                <col>
              </colgroup>
              <thead class="slds-text-title_caps ">
                <tr class="">
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e106">
                    <p style="margin-bottom:0;">Property</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e112">
                    <p style="margin-bottom:0;">Value</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e118">
                    <p style="margin-bottom:0;">Description</p>
                  </th>
                </tr>
              </thead>
              <tbody>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Name</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">
                      <kbd>No Pricing Adjustments
                        Rule</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">The name of the context rule</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Code</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">
                      <kbd>NO_PRICING_ADJ_RULE</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">The code by which you will refer to this context
                      rule. Rule code is used when creating custom expressions.
                      For more information, see <a href="https://help.salesforce.com/s/articleView?id=ind.comms_expression_modes_and_custom_expressions.htm&amp;release=264.0.0&amp;type=5" title="When a rule set contains more than one child context rule, you must use the expression mode to specify how the rules engine combines the child rules into a logical expression.">Expression Modes and Custom
                        Expressions</a>.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Description</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">This rule ensures no pricing adjustments are
                      allowed.</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">Describes the purpose of the context
                      rule.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Expression Mode</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">Not needed.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Expression</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">Not needed.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Failure Message</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">This message is not currently displayed in Industries Cart.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Active</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">Click to select</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">Only active context rules will be evaluated the
                      context rule service.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Effective Start Date</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">
                      <kbd>[today's date]</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">Specifies the start date of the period during which
                      rules can use the context mapping.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e106 ">
                    <p style="margin-bottom:0;">Effective End Date</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e112 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e118 ">
                    <p style="margin-bottom:0;">Not needed.</p>
                  </td>

                </tr>
              </tbody>
            </table>
3. Click **Save**.
4. In the sidebar, click **Rule Conditions**.
5. In the **Rule Conditions** facet, click **Add Condition**.
6. Select **Simple**.
7. Enter the following information in the General Properties window.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
              <colgroup>
                <col>
                <col>
                <col>
              </colgroup>
              <thead class="slds-text-title_caps ">
                <tr class="">
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e394">
                    <p style="margin-bottom:0;">Property</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e400">
                    <p style="margin-bottom:0;">Value</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e406">
                    <p style="margin-bottom:0;">Description</p>
                  </th>
                </tr>
              </thead>
              <tbody>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e394 ">
                    <p style="margin-bottom:0;">Code</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e400 ">
                    <p style="margin-bottom:0;">RC-ADJVALUE</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e406 ">
                    <p style="margin-bottom:0;">The code by which you will refer to this rule
                      condition.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e394 ">
                    <p style="margin-bottom:0;">Context Dimension</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e400 ">
                    <p style="margin-bottom:0;">Select the AdjustmentValue context dimension using
                      the <strong class="uicontrol">Context Dimension Lookup</strong> dialog
                      box.</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e406 ">
                    <p style="margin-bottom:0;">Specifies the context dimension to use with this
                      rule condition.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e394 ">
                    <p style="margin-bottom:0;">Operator</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e400 ">
                    <p style="margin-bottom:0;">
                      <kbd>==</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e406 ">
                    <p style="margin-bottom:0;">Specifies the operator the context rule service uses
                      to compare the <strong class="uicontrol">Value</strong> property to the
                      context mapping.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e394 ">
                    <p style="margin-bottom:0;">Value</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e400 ">
                    <p style="margin-bottom:0;">
                      <kbd>0</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e406 ">
                    <p style="margin-bottom:0;">Specifies the value the context rule service uses to
                      compare to the context mapping.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e394 ">
                    <p style="margin-bottom:0;">Fail Level</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e400 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e406 ">
                    <p style="margin-bottom:0;">Fail Level is not implemented currently in Industries Cart.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e394 ">
                    <p style="margin-bottom:0;">Failure Message</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e400 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e406 ">
                    <p style="margin-bottom:0;">This message is not currently displayed in Industries Cart. Instead, set the failure message on the rule set.
                      For more information on failure messages, see <a href="https://help.salesforce.com/s/articleView?id=ind.comms_failure_messages.htm&amp;release=264.0.0&amp;type=5" title="When creating context rules, you can create failure messages for the following entities: rule sets, context rules, and rule conditions.">Failure Messages</a>.</p>
                  </td>

                </tr>
              </tbody>
            </table>
8. Click **Save**.

## Create the Rule Set

Create a qualification rule set for the AdjustmentValue context rule.

1. In Vlocity Product Console under **Rules**, next to Rule Sets, click **Create** ![The plus icon for Create](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/productconsole_create.jpg).
2. In the **New Rule Set** dialog box, enter the following information.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
              <colgroup>
                <col>
                <col>
                <col>
              </colgroup>
              <thead class="slds-text-title_caps ">
                <tr class="">
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e622">
                    <p style="margin-bottom:0;">Property</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e628">
                    <p style="margin-bottom:0;">Value</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e634">
                    <p style="margin-bottom:0;">Description</p>
                  </th>
                </tr>
              </thead>
              <tbody>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Name</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">
                      <kbd>No Pricing Adjustments Rule
                        Set</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">The name of the rule set. This name is displayed in
                      rule selection dialog boxes and in related lists when
                      assigned to products, promotions, price lists, price list
                      entries, and pricing adjustment objects.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Rule Type</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">
                      <kbd>Qualification</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">Pricing adjustment rules must be of type
                      <kbd>Qualification</kbd>.
                    </p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Rule Purpose</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">This field is not currently used by the rules
                      engine.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Expression Mode</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">Not needed</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Expression</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">Not needed</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Failure Message</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">Manual pricing adjustments are not
                      allowed.</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">This message is displayed as a toast message in
                      Industries Cart. For more information, see <a href="https://help.salesforce.com/s/articleView?id=ind.comms_failure_messages.htm&amp;release=264.0.0&amp;type=5" title="When creating context rules, you can create failure messages for the following entities: rule sets, context rules, and rule conditions.">Failure Messages</a>.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Header Rule</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">Not needed</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Effective Start Date</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">Select a date</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">The start date of the period during which the rule
                      set will be effective.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e622 ">
                    <p style="margin-bottom:0;">Effective End Date</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e628 ">
                    <p style="margin-bottom:0;">Select a date</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e634 ">
                    <p style="margin-bottom:0;">The end date of the period during which the rule set
                      will be effective.</p>
                  </td>

                </tr>
              </tbody>
            </table>
3. Click **Save**.
4. In the left sidebar, click **Children Rules**.
5. In the **Children Rules** facet, click **New Child Rule**. The General Properties window appears.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
              <colgroup>
                <col>
                <col>
                <col>
              </colgroup>
              <thead class="slds-text-title_caps ">
                <tr class="">
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e894">
                    <p style="margin-bottom:0;">Property</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e900">
                    <p style="margin-bottom:0;">Value</p>
                  </th>
                  <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e906">
                    <p style="margin-bottom:0;">Description</p>
                  </th>
                </tr>
              </thead>
              <tbody>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e894 ">
                    <p style="margin-bottom:0;">Rule</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e900 ">
                    <p style="margin-bottom:0;">Select the <strong class="uicontrol">No Pricing Adjustments
                        Rule</strong> context rule using the<strong class="uicontrol"> Entity
                        Filter Lookup</strong> dialog box.</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e906 ">
                    <p style="margin-bottom:0;">Specifies the child context rule to include in the
                      rule set.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e894 ">
                    <p style="margin-bottom:0;">Sequence</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e900 ">
                    <p style="margin-bottom:0;">
                      <kbd>10</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e906 ">
                    <p style="margin-bottom:0;">Specifies the child rule sequence. Use a sequence of
                      10, 20, 30, etc. to allow for easier sequence changes in
                      future.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e894 ">
                    <p style="margin-bottom:0;">Action Taken</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e900 ">
                    <p style="margin-bottom:0;">
                      <kbd>Do Not Qualify</kbd>
                    </p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e906 ">
                    <p style="margin-bottom:0;">By specifying <kbd>Do Not Qualify</kbd>
                      as the Action Taken, the rules engine will not allow users
                      to apply pricing adjustments of 0 or any other
                      amount.</p>
                  </td>

                </tr>
                <tr class="">
                  <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e894 ">
                    <p style="margin-bottom:0;">Context Action</p>
                  </td>

                  <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e900 ">
                    <p style="margin-bottom:0;">n/a</p>
                  </td>

                  <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e906 ">
                    <p style="margin-bottom:0;">Not needed.</p>
                  </td>

                </tr>
              </tbody>
            </table>
6. Click **Save**.

This procedure creates the pricing adjustment qualification rule set. The next step is to assign it to the pricing adjustment virtual object. For details, see [Qualification Rules for Pricing Adjustments - Assigning or Deleting to the AdjustmentData Virtual Object](https://help.salesforce.com/s/articleView?id=ind.comms_qualification_rules_for_pricing_adjustments___assigning_or_deleting_to_the_adjustmentdata_virtual_object.htm&release=264.0.0&type=5 "To assign a qualification context rule to the AdjustmentData virtual object, follow these steps.").

After this rule set is assigned, you can test its functionality in Industries Cart with an order, quote, or opportunity. Enter any value in the Adjustment Value text entry box, and verify that a toast message is displayed, as shown in the screenshot below.

**No Pricing Adjustment Rule Set at Run Time**

![Adjustment](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/no_pricing_adjustments.jpg)

## Create the Context Dimension and Context Mapping to the AdjustmentData Virtual Object

To create a context dimension with a context mapping to the AdjustmentData virtual object for the rule:

1. In Vlocity Product Console, in the **Rules** area, next to Context Dimension, click **Create** ![The plus icon for Create](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/productconsole_create.jpg).
2. On the **New Context Dimension** tab, enter the following information.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
                <colgroup>
                  <col>
                  <col>
                  <col>
                </colgroup>
                <thead class="slds-text-title_caps ">
                  <tr class="">
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e1133">
                      <p style="margin-bottom:0;">Property</p>
                    </th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e1139">
                      <p style="margin-bottom:0;">Value</p>
                    </th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e1145">
                      <p style="margin-bottom:0;">Description</p>
                    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Name</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">AdjustmentValue</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p>The name of this context dimension.</p>
                      <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                        <div class="slds-media slds-media_responsive">
                          <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_note.png" alt="Note"></span></div>
                          <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;" id="comms_create_the_context_dimension_and_context_mapping_to_the_adjustmentdata_virtual_object__note_0e695907b5796ac6fd50a1df0eeb133d"><a name="comms_create_the_context_dimension_and_context_mapping_to_the_adjustmentdata_virtual_object__note_0e695907b5796ac6fd50a1df0eeb133d"><!-- --></a><span class="slds-text-title_caps">Note</span>
                            <p>You cannot use spaces in a context dimension name due to rules
                              parsing engine requirements.</p>
                          </div>
                        </div>
                      </div>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Code</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">DIM_ADJVALUE</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p>The code of this context dimension.</p>
                      <div class="slds-box slds-box_x-small slds-theme_shade slds-m-top_medium slds-m-bottom_medium">
                        <div class="slds-media slds-media_responsive">
                          <div class="slds-media__figure"><span class="slds-icon_container slds-icon_container_circle slds-icon-note-note"><img style="margin-bottom:0;" src="https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_note.png" alt="Note"></span></div>
                          <div class="slds-media__body" style="padding-top:.5rem;padding-bottom:.5rem;" id="comms_create_the_context_dimension_and_context_mapping_to_the_adjustmentdata_virtual_object__note_c6ba9f5c07367f192caf596b26536e19"><a name="comms_create_the_context_dimension_and_context_mapping_to_the_adjustmentdata_virtual_object__note_c6ba9f5c07367f192caf596b26536e19"><!-- --></a><span class="slds-text-title_caps">Note</span>
                            <p>You cannot use spaces in a context dimension code due to rules
                              parsing engine requirements.</p>
                          </div>
                        </div>
                      </div>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Description</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">Context dimension mapped to
                        AdjustmentData.AdjustmentValue</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Specify the purpose of this context
                        dimension.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Condition Weight</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">n/a</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">This property is not used for context rules for
                        pricing adjustments.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Data Type</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">Text</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Data type of this context dimension.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Domain Type</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">Type in</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Describes how rule condition values appear when
                        creating a rule condition.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Object</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">n/a</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Not needed since the Domain Type is Type
                        in.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Vlocity Picklist</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">n/a</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Not needed since the Domain Type is Type
                        in.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Picklist Selection Mode</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">n/a</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Not needed since the Domain Type is Type
                        in.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Active</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">Click to select</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Only active context dimensions will be evaluated by
                        the rules engine.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Effective From Date</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">
                        <kbd>[today's date]</kbd>
                      </p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Specifies the start date of the period during which
                        rules can use the context dimension.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1133 ">
                      <p style="margin-bottom:0;">Effective Until Date</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1139 ">
                      <p style="margin-bottom:0;">n/a</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1145 ">
                      <p style="margin-bottom:0;">Not needed.</p>
                    </td>

                  </tr>
                </tbody>
              </table>
3. Click **Save**.
4. In the left sidebar, click **Context Mappings**.
5. In the **Context Mappings** facet, click **New Context Mapping**.
6. In the **New Context Mapping** dialog box, enter the following information.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
                <colgroup>
                  <col>
                  <col>
                  <col>
                </colgroup>
                <thead class="slds-text-title_caps ">
                  <tr class="">
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e1481">
                      <p style="margin-bottom:0;">Property</p>
                    </th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e1487">
                      <p style="margin-bottom:0;">Value</p>
                    </th>
                    <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d126024e1493">
                      <p style="margin-bottom:0;">Description</p>
                    </th>
                  </tr>
                </thead>
                <tbody>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1481 ">
                      <p style="margin-bottom:0;">Context Scope</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1487 ">
                      <p style="margin-bottom:0;">Select the AdjustmentData virtual context scope
                        using the <strong class="uicontrol">Context Scope Lookup</strong> dialog
                        box.</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1493 ">
                      <p>Specifies the context scope that is linked to this
                        context mapping.</p>
                      <p style="margin-bottom:0;">Context rules for pricing
                        adjustments must use the AdjustmentData virtual context
                        scope.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1481 ">
                      <p style="margin-bottom:0;">Initialization Policy</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1487 ">
                      <p style="margin-bottom:0;">
                        <kbd>Always
                          Reinitialize</kbd>
                      </p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1493 ">
                      <p>Specifies how frequently context mapping values are
                        refreshed in the session cache.</p>
                      <p style="margin-bottom:0;">Context rules
                        for pricing adjustments must <kbd>Always
                          Reinitialize</kbd> .</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1481 ">
                      <p style="margin-bottom:0;">Initialization Type</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1487 ">
                      <p style="margin-bottom:0;">
                        <kbd>Source Expression</kbd>
                      </p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1493 ">
                      <p style="margin-bottom:0;">Specifies where to retrieve the data that will be
                        used to compare to the rule condition.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1481 ">
                      <p style="margin-bottom:0;">Source Expression</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1487 ">
                      <p style="margin-bottom:0;">
                        <kbd>AdjustmentValue</kbd>
                      </p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1493 ">
                      <p style="margin-bottom:0;">Specifies the name of attribute on the
                        AdjustmentData virtual object. For more information, see
                        <a href="https://help.salesforce.com/s/articleView?id=ind.comms_t_adjustmentdata_virtual_object_194489.htm&amp;release=264.0.0&amp;type=5" title="Starting in the Summer '18 release, data entered by the user at runtime is stored in a new type of object called a virtual object. This data is not committed to Salesforce or persisted. This data exists only in memory during the user's session. There is one virtual object called AdjustmentData, and it is used to create context rules for pricing adjustments.">The
                          AdjustmentData Virtual ObjectAdjustmentData Virtual Object</a>
                      </p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1481 ">
                      <p style="margin-bottom:0;">Sequence</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1487 ">
                      <p style="margin-bottom:0;">
                        <kbd>10</kbd>
                      </p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1493 ">
                      <p style="margin-bottom:0;">Specifies the context mapping sequence. To allow for
                        sequence changes, specify 10, 20, 30, and so
                        on.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1481 ">
                      <p style="margin-bottom:0;">Active</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1487 ">
                      <p style="margin-bottom:0;">Click to select</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1493 ">
                      <p style="margin-bottom:0;">Only active context mappings will be evaluated by
                        the rules engine.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1481 ">
                      <p style="margin-bottom:0;">Effective From Date</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1487 ">
                      <p style="margin-bottom:0;">
                        <kbd>[today's date]</kbd>
                      </p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1493 ">
                      <p style="margin-bottom:0;">Specifies the start date of the period during which
                        rules can use the context mapping.</p>
                    </td>

                  </tr>
                  <tr class="">
                    <td data-label="Property" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1481 ">
                      <p style="margin-bottom:0;">Effective Until Date</p>
                    </td>

                    <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1487 ">
                      <p style="margin-bottom:0;">n/a</p>
                    </td>

                    <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d126024e1493 ">
                      <p style="margin-bottom:0;">Not needed.</p>
                    </td>

                  </tr>
                </tbody>
              </table>
7. Click **Save**.