---
sourceDocument: Xanadu Sales Customer Relationship Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/xanadu/order-management

 Release :

    - xanadu

ft:locale :

    - en-US

ft:publication_title :

    - Xanadu Sales Customer Relationship Management

ft:clusterId :

    - omgmt

bundleId :

    - omgmt

workflow :

    - Customer and Industry


---

# Map a custom context variable to a transaction entity

# Map a custom context variable to a transaction entity {#ariaid-title1}

* Release version: Xanadu
* 
* Updated August 15, 2024
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

Associate a custom pricing context variable to a particular transaction entity type in Sales Customer Relationship Management.

## Before you begin

Verify that you're in the appropriate application scope for the transaction type. For example, if you're mapping a context variable for orders, the application scope is Order Management. Use the Globe icon in the navigation bar to change the application scope.

Role required: admin

## Procedure

1. In the CSM Configurable Workspace, select the List ![]() view.
2. Navigate to Context Rule ManagementVariable Mappings.
3. Select New.
4. In the form, fill in the fields.  
   {#som-map-variable__table_x53_j4h_41c__entry__2}

   | Field | Description |
   |-|-|
   | Entity | The Sales Customer Relationship Management entity for which the variable will be used. Select the entity, for example Opportunity or Order. |
   | Table | Name of the application table for the transaction. |
   | Field | Field from the application table that is related to the custom context variable. Select the field. |
   | Key | Custom context variable. Select the variable from the list of pricing context variables. |
   [Table 1. Lead to Cash Entity Attribute form]

   {#som-map-variable__table_x53_j4h_41c}
5. Select Save.
{#som-map-variable__steps_xsc_w5g_41c}

## Result

The custom context variable is available for use in pricing and product eligibility matrices.

*[\>]: and then


