Set Auto-Numbering

Auto-numbering can be configured for line items upon saving. This feature is particularly useful when managing product options, as it helps to differentiate and organize each line item effectively.

Example: Assigning Auto-Numbering to Opportunity Products with Product Options

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

  • Parent: Opportunity

  • Line Item: OpportunityLineItem

  • Lookup: PricebookEntry

Suppose you are saving opportunity products through the Line Item Editor on the Opportunity detail page, generating a quote from the opportunity, and syncing the updated data back to the opportunity. If the SortOrder field is not properly saved, line items for product options may appear in the wrong order, causing confusion for users. To address this, you can assign auto-numbering to the SortOrder field, ensuring correct ordering during syncing.

Builder Setup:

  1. In the Relate Objects step of the builder, enter the API name of the SortOrder field in the Auto-Number Field setting.

  2. To display the sort order, add the SortOrder field in the Line Item Editor Setup step.

Result:

When you launch the Line Item Editor, you will see auto-numbered values in the Sort Order(SortOrder) column.

By default, line items are numbered in increments of 100 (e.g., 100, 200, 300). Option line items for bundled products are numbered sequentially under their parent line item (e.g., 101, 102).

Last updated

Was this helpful?