This job creates default contextual adjustment data, and should only be run if the user wants to control manual adjustments using virtual context rules. Virtual context rules mean there is no physical representation of adjustment data. It is virtual.
You use virtual context rules to buy contextual discount. For example, a sales representative can apply a manual adjustment. Based on user profiles, you can restrict how much you apply a manual adjustment, for example, 5% for a customer.
To use contextual discounts, complete these steps to run this job without picklist value errors.
- From Setup > Object Manager, search for Vlocity Attribute and click it.
- In the Fields & Relationships section, click the Value Type field.
-
In the Values list, if the
Lookup value is
not in the list, check the Inactive Values list. If it's Inactive, click Activate.
The Lookup value is moved to the Values list.
If Lookup is not in the Inactive Values list, click New, add Lookup in the edit box, and click Save. The Lookup value is added to the Values list.
- In Vlocity CMT Administration > EPC Jobs, click Start for the CREATE DEFAULT CONTEXTUAL ADJUSTMENT DATA job.
- In the Vlocity Product Console under the Metadata section, click the search icon next to Object.
- Search for AdjustmentData and click it.
- In the AdjustmentData tab, select Attributes.
- Click the Account attribute, set Value Data Type to Lookup, and click Save.
- Repeat step 8 for the ANY, Opportunity, Order, and Quote attributes.
- In the App Launcher, search for and open Vlocity Attributes.
- In the List View menu, select All.
- Search the list for Account, and click the Account attribute (which has Attribute Category set to System Attributes).
- In the Value Type field, select Lookup, and click Save.
- Click the browser back button, and repeat steps 12 and 13 for the following attributes that also have Attribute Category set to System Attributes: ANY, Opportunity, Order, and Quote.