Source Field: Assigning Default Values from Parent or Lookup Fields

When adding Line Items, you can assign specific field values from the Parent Object or Lookup Object as default values.

Example: Assigning Unit Price from PricebookEntry as Default Value for Opportunity Products

This example demonstrates the configuration of a Line Item Editor for Opportunity Products:

  • Parent: Opportunity

  • Line Item: OpportunityLineItem

  • Lookup: PricebookEntry

When adding Opportunity Products, assign the selected product’s Unit Price as the default value for the Unit Price field in the Line Item.

The Line Item includes both List Price and Unit Price fields. These fields will be populated with values from the Unit Price field in the Lookup Object (PricebookEntry).

Configuration Steps

  1. In the source field setting for List Price and Unit Price, select Lookup as the first option.

  2. For the second option, select Unit Price.

Result

The selected products’ Unit Price is assigned as the default value to the List Price and Unit Price fields in the Line Item.

Lookup Selector
Line Item Editor

Last updated

Was this helpful?