---
schema_version: "1"
id: cc3d4e2fa5a649a4f2d180412da3ea49f35b2ef6cd344cac4eea83afbb99a2da
title: Create a Pricing Variable in Pricing Designer
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_create_a_pricing_variable_in_pricing_designer.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_create_a_pricing_variable_in_pricing_designer.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: f1a80ffd0d6e4f4a0546335e9cc7e26a2874ffc7e20dd89940635b965dc7a9a0
description: Create a pricing variable and define the charge type, currency, frequency, and other settings. To create a price list entry, you choose a pricing variable to be part of the price.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Create a Pricing Variable in Pricing Designer

Create a pricing variable and define the charge type, currency, frequency, and other settings. To create a price list entry, you choose a pricing variable to be part of the price.

1. From the Vlocity Pricing Designer app, click the ![The down angle icon for the app navigation menu](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/epc_nav_menu_icon_upc.png) menu button, and select **Pricing Variables**.
2. In the Pricing Variables list, click **New**.
3. On the **New Pricing Variable** page, complete the General Properties section.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d46987e66">
                  <p style="margin-bottom:0;">Setting</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d46987e72">
                  <p style="margin-bottom:0;">Description</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e66 ">
                  <p style="margin-bottom:0;">Pricing Variable Name</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e72 ">
                  <p style="margin-bottom:0;">The pricing variable name</p>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e72 ">
                  <p>Enter a unique code.</p>
                  <p>As a best practice, use uppercase and no spaces. You can create a code that indicates the variable's purpose:</p>
                  <ul>
                    <li>
                      <p>OT_STD_PRC_TOTAL (One Time Std Price Total)</p>
                    </li>

                    <li>
                      <p>REC_MNTH_STD_PRC (Recurring Monthly Std Price)</p>
                    </li>

                    <li>
                      <p>OT_FEE (One Time Fee)</p>
                    </li>

                    <li>
                      <p>ROLLUP_OT_LTY_TOTAL (Rollup One Time Loyalty Total)</p>
                    </li>

                  </ul>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e72 ">
                  <p style="margin-bottom:0;">Enter a description of the pricing variable's functionality and use.</p>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e72 ">
                  <p style="margin-bottom:0;">Set that the variable is available to use.</p>
                </td>

              </tr>
            </tbody>
          </table>
4. Complete the Basic Variable Type section.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d46987e194">
                  <p style="margin-bottom:0;">Setting</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d46987e200">
                  <p style="margin-bottom:0;">Description</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e194 ">
                  <p style="margin-bottom:0;">Charge Type</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e200 ">
                  <p style="margin-bottom:0;">Select whether the price is a recurring or one-time charge, an adjustment, or usage.</p>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e200 ">
                  <p style="margin-bottom:0;">Select whether the price is standard price or a penalty fee.</p>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e200 ">
                  <p style="margin-bottom:0;">Select the payment type (currency or loyalty points).</p>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e200 ">
                  <p style="margin-bottom:0;">Select price (charged to the customer) or cost (charged to the company).</p>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e200 ">
                  <p style="margin-bottom:0;">If you selected <strong class="uicontrol">Charge Type</strong> is set to Recurring, select the frequency of the recurrence.</p>
                </td>

              </tr>
              <tr class="">
                <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e194 ">
                  <p style="margin-bottom:0;">Adjustment Method</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e200 ">
                  <p>If you selected <strong class="uicontrol">Charge Type</strong> is set to Adjustment, select one of the following options.</p>
                  <ul>
                    <li>
                      <p>Absolute — The adjustment to the price is an absolute amount that is added to or subtracted from the price.</p>
                    </li>

                    <li>
                      <p>Percentage — The adjustment to the price is a percentage of the price that is added to or subtracted from the price.</p>
                    </li>

                  </ul>
                </td>

              </tr>
            </tbody>
          </table>
5. Complete the Detailed Type Info section.
    
    <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
            <colgroup>
              <col>
              <col>
            </colgroup>
            <thead class="slds-text-title_caps ">
              <tr class="">
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d46987e344">
                  <p style="margin-bottom:0;">Setting</p>
                </th>
                <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d46987e350">
                  <p style="margin-bottom:0;">Description</p>
                </th>
              </tr>
            </thead>
            <tbody>
              <tr class="">
                <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e344 ">
                  <p style="margin-bottom:0;">Value Type</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e350 ">
                  <p>Select whether the pricing variable is used in a calculation or with a pricing element.</p>
                  <ul>
                    <li>
                      <p>Calculated — Select this option if the pricing variable is used in a calculation, for example, to calculate a line item.</p>
                    </li>

                    <li>
                      <p>Pricing Element — Select this option if the pricing variable is associated with a pricing element used in creating a price list entry.</p>
                    </li>

                  </ul>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e350 ">
                  <p>If you selected calculation as the value type, select unit or quantity.</p>
                  <ul>
                    <li>
                      <p>Unit — Select this option if the calculation is used for a line item.</p>
                    </li>

                    <li>
                      <p>Quantity — Select this option if the calculation is used for a rollup or a line item total.</p>
                    </li>

                  </ul>
                </td>

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

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e350 ">
                  <p>If you selected the calculation value type, select whether the pricing variable is calculated on a line item or in the rollup.</p>
                  <ul>
                    <li>
                      <p>Line Item — The pricing variable will be used in calculating a line item, including a line item total.</p>
                    </li>

                    <li>
                      <p>Rollup — The pricing variable is used in calculating a rollup total.</p>
                    </li>

                    <li>
                      <p>Parent&nbsp;— The parent Opportunity, Quote, or Order.</p>
                    </li>

                    <li>
                      <p>Parent Rollup — Consists of rolled-up values from line items, similar to Salesforce roll-up summary fields. The Parent Rollup rolls up the values of the source variable defined in its <strong class="uicontrol">Applies To Variable</strong> field. For example, the Parent Rollup <strong class="uicontrol">One Time Cost Total</strong> rolls up the <strong class="uicontrol">Effective One Time Std Cost Total</strong> of the line items and is bound to the <code>EffectiveOneTimeCostTotal__c</code> field of the Quote or Order.</p>
                    </li>

                    <li>
                      <p>Group&nbsp;—&nbsp;Variables defined on the <code>QuoteGroup__c</code> or <code>OrderGroup__c</code> level. Used for MultiSite.</p>
                    </li>

                    <li>
                      <p>Group Rollup&nbsp;—&nbsp;Variables that roll up values from child Quotes or Orders belonging to the group.&nbsp; Used for MultiSite.</p>
                    </li>

                    <li>
                      <p>Master —&nbsp;Variables defined on the Master Quote or Master Order level.</p>
                    </li>

                    <li>
                      <p>Master Rollup&nbsp;—&nbsp;Variables that roll up values from the child Groups.</p>
                    </li>

                  </ul>
                  <p>For example:</p>
                  <ul>
                    <li>
                      <p>Effective One Time Std Price Total of Quote line items roll up into the Parent.</p>
                    </li>

                    <li>
                      <p>Rollup One Time Std Price Total of the Quote then roll up into the Group.</p>
                    </li>

                    <li>
                      <p>Roll up One Time Std Price Total of the QuoteGroup to which it belongs, which then rolls up into Master Rollup One Time Std Price Total of the Master Quote.</p>
                    </li>

                  </ul>
                </td>

              </tr>
              <tr class="">
                <td data-label="Setting" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e344 ">
                  <p style="margin-bottom:0;">Applies to Variable</p>
                </td>

                <td data-label="Description" class="slds-cell-wrap" style="vertical-align:top;" headers="d46987e350 ">
                  <p>If this pricing variable applies to another pricing variable, select the appropriate pricing variable.</p>
                  <p style="margin-bottom:0;">For example, if you are creating a pricing variable to adjust a yearly recurring standard price, apply it to the pricing variable created for the yearly recurring standard price.</p>
                </td>

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