January 12, 2026

How to Map Custom Field Values from Quote Line to Order Product in Salesforce Revenue Cloud

Jean-Michel Tremblay

Salesforce Consultant

Introduction

When you create custom fields on Quote Line Items in Salesforce Revenue Cloud, simply adding the field isn’t enough. To use these fields in pricing procedures, display them in the Transaction Line Editor, or map values to Order Products when converting quotes to orders, you need to properly configure your Context Definitions.

This is Part 1 of a three-part series on mapping custom field values in Revenue Cloud:

  • Part 1 (this post): Quote Line Item to Order Product
  • Part 2: Product to Quote Line Item
  • Part 3: Order Product to Asset Action Source (coming soon)

The Challenge

Let’s say you create a custom picklist field called “Power Requirement” on Quote Line Item with values like 110V, 220V, and 240V. You add it to your page layout and the Transaction Line Editor. When you try to save a value, it disappears! Why? Because the field isn’t in your Context Definition yet.

Context Definitions in Revenue Cloud act as the bridge between Salesforce objects and the Revenue Cloud engine. Without proper configuration, your custom fields won’t persist or map to related objects.

What We’ll Build

In this guide, we’ll configure a custom field to:

  1. Persist values in the Transaction Line Editor
  2. Be available for use in Pricing Procedures
  3. Map from Quote Line Item to Order Product when creating orders

Step 1: Create the Custom Fields

First, create your custom field on both Quote Line Item and Order Product objects. The field should have the same data type on both objects. In our example, we’re creating a picklist field called “Power Requirement” with values: 110, 220, and 240.

You can create fields through Setup, or use tools like Jetstream or Salesforce Inspector for faster deployment.

Step 2: Add the Attribute to the Context Definition

Navigate to Setup > Context Definitions > Custom Definitions and open your active Sales Transaction Context Definition.

  1. Click Edit
  2. Navigate to the Attributes page
  3. Select Sales Transaction Item node on the left (for line-level fields)
  4. Add a new attribute:
    • Name: Power Requirement
    • Type: Input and Output
    • Data Type: Picklist (must match your Salesforce field type)

Important: For header-level fields (on Quote), use the Sales Transaction node instead of Sales Transaction Item.

Step 3: Create the Attribute Tag

Still in the Context Definition editor:

  1. Navigate to the Attribute Tags page
  2. Select Sales Transaction Item node
  3. Find your new attribute (use the filter to search for “power”)
  4. Click Add Tag
  5. Enter the tag name (typically same as attribute name)
  6. Click Done and Save

At this point, the attribute can be used in Pricing Procedures, but it’s not yet mapped to your Salesforce fields.

Step 4: Map to Quote Line Item

Now we need to connect the attribute to the actual Salesforce field:

  1. Go to the Map Data tab in your Context Definition
  2. Find Quote Entities Mapping
  3. Click the dropdown arrow > Edit as Object Mapping
  4. Click Map
  5. Use filters on both sides to find “power”:
    • Left side: Your attribute under Sales Transaction Item (unmapped section)
    • Right side: Your field under Quote Line Item (unmapped section)
  6. Click the circle on the left attribute, then click the circle on the right field
  7. Click Save and Publish

Now your field values will persist when editing quote lines!

Step 5: Map to Order Product

To carry the value to Order Products when creating orders:

  1. Go back to the Map Data tab
  2. Find Order Entities Mapping
  3. Click dropdown > Edit as Object Mapping > Map
  4. Filter for “power” on both sides
  5. Map the attribute (left) to the Order Product field (right)
  6. Click Save and Publish

Testing the Configuration

  1. Open a Quote and edit a line item
  2. Set the Power Requirement to “220”
  3. Save – the value should persist
  4. Click Create Order
  5. Complete the order creation wizard
  6. View the Order Product – Power Requirement should show “220”

Summary

To properly configure custom fields in Revenue Cloud, you need to:

  1. Create the field on both Quote Line Item and Order Product
  2. Add the attribute to the Sales Transaction Item node
  3. Create a tag for the attribute
  4. Map to Quote Line Item in Quote Entities Mapping
  5. Map to Order Product in Order Entities Mapping

What’s Next

In Part 2 of this series, we’ll explore how to set default values from Product records and have those values automatically populate on Quote Line Items when products are added to a quote. This involves cross-context mapping between the Product Discovery Context and Sales Transaction Context.

Leave a Comment

Free Assessment