---
schema_version: "1"
id: 60ac9df81538282f636deba34ec8c9f993c6331b63be2eb35bc08ec54cdcadb9
title: AdjustmentData Virtual Object
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_t_adjustmentdata_virtual_object_194489.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_t_adjustmentdata_virtual_object_194489.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cfed0dbae453943929273ab7ffdd2a7ce5e7ccf9ea241f3afc52e51dba6d8c71
description: 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.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# AdjustmentData Virtual Object

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.

## Setting Up the AdjustmentData Virtual Object

The AdjustmentData virtual object must exist in the shared catalog before you can create rules for pricing adjustments. To set up the AdjustmentData virtual object, go to the EPC Jobs in the CMT Administration screen and run the job.

![Note](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)

Note

The Create Default Contextual Adjustment Data job is a one-time job that should be run as a post-install step after upgrading. However, if you ran this job for the Summer '18 release, you will need to run it again for the Fall '18 release to receive the latest updates to the AdjustmentData Virtual Object. (There is no risk in running this job more than once.)

## AdjustmentData Virtual Object Attributes

The AdjustmentData virtual object includes the following attributes. These attributes are used to create context mappings to virtual data entered at runtime such as AdjustmentValue or AdjustmentType. The object is also used to evaluate data stored in opportunity, quote, order or account sObjects. In addition, you can create context mappings to data across opportunities, quotes and orders using the ANYReusable Content: table\_fab3926297ed7b8a39fd120479b96985.dita attribute, like the ANY context scope.

<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="d68409e59">
                <p style="margin-bottom:0;">Attribute</p>
              </th>
              <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d68409e65">
                <p style="margin-bottom:0;">Purpose</p>
              </th>
            </tr>
          </thead>
          <tbody>
            <tr class="">
              <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e59 ">
                <p style="margin-bottom:0;">Account</p>
              </td>

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Maps to information on the account related to the order, quote or opportunity.</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e59 ">
                <p>AdjustmentAmountTotal</p>
                <p style="margin-bottom:0;">Available starting in Fall '18 </p>
              </td>

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Defines the maximum manual adjustment amount allowed at runtime. Does not include adjustments or overrides applied at the product level or by an applied promotion.</p>
              </td>

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

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p>Maps to data entered at runtime using the adjustment picklist. Use the following values in your rule conditions, to evaluate what the user selects.</p>
                <ul>
                  <li>
                    <p>If the user selects <strong class="uicontrol">Percentage</strong>, then the AdjustmentMethod value is <code>Percent</code>.</p>
                  </li>

                  <li>
                    <p>If the user selects <strong class="uicontrol">Amount</strong> or <strong class="uicontrol">Override</strong>, then the AdjustmentMethod value is <code>Absolute</code>.</p>
                  </li>

                </ul>
                <div>
                  <a name="comms_t_adjustmentdata_virtual_object_194489__absolute_adjustmetns"><!-- --></a><img id="comms_t_adjustmentdata_virtual_object_194489__absolute_adjustmetns" src="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/absolute_adjustmetns.jpg" alt="Figure is described in preceding text.">
                </div>
              </td>

            </tr>
            <tr class="">
              <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e59 ">
                <p>AdjustmentPercentTotal</p>
                <p style="margin-bottom:0;">Available starting in Fall '18 </p>
              </td>

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Defines the maximum manual adjustment percent allowed. Does not include adjustments or overrides applied at the product level or by an applied promotion.</p>
              </td>

            </tr>
            <tr class="">
              <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e59 ">
                <p>AdjustmentTotal</p>
                <p style="margin-bottom:0;">Available starting in Fall '18 </p>
              </td>

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Defines the maximum manual adjustment allowed, combining absolute and percentages adjustment totals. Does not include adjustments or overrides applied at the product level or by an applied promotion.</p>
              </td>

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

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p>Maps to data entered at runtime using the adjustment picklist. Use the following values in your rule conditions, to evaluate what the user selects.</p>
                <ul>
                  <li>
                    <p>If the user selects <strong class="uicontrol">Override</strong>, then the AdjustmentType value is <code>Override</code>.</p>
                  </li>

                  <li>
                    <p>If the user selects <strong class="uicontrol">Percentage</strong> or <strong class="uicontrol">Amount</strong>, then the AdjustmentType value is <code>Adjustment</code>.</p>
                  </li>

                </ul>
                <div>
                  <a name="comms_t_adjustmentdata_virtual_object_194489__adjustments"><!-- --></a><img id="comms_t_adjustmentdata_virtual_object_194489__adjustments" src="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/adjustments.jpg" alt="Figure is described in preceding text.">
                </div>
              </td>

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

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p>Maps to data entered at runtime in <strong class="uicontrol">ADJUSTMENT VALUE</strong> box.</p>
                <div>
                  <a name="comms_t_adjustmentdata_virtual_object_194489__adjustment_value"><!-- --></a><img id="comms_t_adjustmentdata_virtual_object_194489__adjustment_value" src="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/adjustment_value.jpg" alt="Figure is described in preceding text.">
                </div>
              </td>

            </tr>
            <tr class="">
              <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e59 ">
                <p style="margin-bottom:0;" id="comms_t_adjustmentdata_virtual_object_194489__uuid-d82b3ed3-da50-9907-75d2-010c9412c98b_para-idm693136772531746"><a name="comms_t_adjustmentdata_virtual_object_194489__uuid-d82b3ed3-da50-9907-75d2-010c9412c98b_para-idm693136772531746"><!-- --></a>ANY</p>
              </td>

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Enables you to map to fields across order, quote or opportunity sObjects, similar to the ANY entity context scope.</p>
              </td>

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

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Maps to fields on the opportunity sObject.</p>
              </td>

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

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Maps to fields on the order sObject.</p>
              </td>

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

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p>Maps to data entered at runtime in the <strong class="uicontrol">ADJUSTMENT CODE</strong> box.</p>
                <div>
                  <a name="comms_t_adjustmentdata_virtual_object_194489__pricingvariablecode"><!-- --></a><img id="comms_t_adjustmentdata_virtual_object_194489__pricingvariablecode" src="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/pricingvariablecode.jpg" alt="Figure is described in preceding text.">
                </div>
              </td>

            </tr>
            <tr class="">
              <td data-label="Attribute" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e59 ">
                <p>ProductCode</p>
                <p style="margin-bottom:0;">Available starting in Fall '18 </p>
              </td>

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Maps to the Product Code field on the Product object. Enables the creation of pricing adjustment rules for specific products.</p>
              </td>

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

              <td data-label="Purpose" class="slds-cell-wrap" style="vertical-align:top;" headers="d68409e65 ">
                <p style="margin-bottom:0;">Maps to fields on the quote sObject.</p>
              </td>

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

For details on how to write context mappings to attributes on a virtual object, see [Using Source Expressions](https://help.salesforce.com/s/articleView?id=ind.comms_creating_context_mappings.htm&release=264.0.0&type=5 "Context mappings allow the rules engine to compare context dimensions to data stored in an sObject, calculated using a function, or entered during design time within a specified context scope. Create context mappings in Vlocity Product Console.").

## Review the AdjustmentData Virtual Object

You can confirm that the AdjustmentData virtual object was created by reviewing it in the shared catalog.

The AdjustmentData virtual object is a system object and must not be altered. Do not change its general properties or its attributes. If the AdjustmentData object or its attributes are accidentally altered, run [Create Default Contextual Adjustment Data](https://help.salesforce.com/s/articleView?id=ind.comms_create_default_contextual_adjustment_data.htm&type=5&language=en_US) job to reset the object to its original settings.

1. In the Product Console, in the Metadata section of the Dashboard, click the search icon next to **Object**.
2. In the Search Object dialog box, enter data and click the search icon.
3. Click the name of the **AdjustmentData** virtual object, or click the edit icon to open the object for editing.
4. In the sidebar, click **Attributes**, and review the list of attributes available in this virtual object.