--- title: Map a custom context variable to a transaction entity description: Associate a custom pricing context variable to a particular transaction entity type in Sales Customer Relationship Management. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/order-management/som-map-variable.html release: australia topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Product pricing, Configure, price, quote apps, Configure, Sales Customer Relationship Management] --- # Map a custom context variable to a transaction entity 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 \[Omitted image "globe-outline-24.svg"\] Alt text: icon in the navigation bar to change the application scope. Role required: admin ## Procedure 1. In the CRM Workspace, select the **List** \[Omitted image "list-outline-24.svg"\] Alt text: view. 2. Navigate to **Context Rule Management** > **Variable Mappings**. 3. Select **New**. 4. In the form, fill in the fields. |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.| |Advanced| | 5. Select **Save**. ## Result The custom context variable is available for use in pricing matrices.