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

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Sales Customer Relationship Management

ft:clusterId :

    - omgmt

bundleId :

    - omgmt

workflow :

    - Customer and Industry


---

# Quote line unique IDs

# Quote line unique IDs {#ariaid-title1}

Release version: Brazil  
Updated March 12, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Quote line unique IDs

ServiceNow CPQ enables the assignment of unique IDs to quote lines in Salesforce, allowing precise identification and tracking of individual quote lines.
This functionality is achieved by passing a product's unique identifier from ServiceNow CPQ to the Unique Line ID field (LGKUniqueIdc) on the Salesforce quote line.
It facilitates referencing specific quote lines after creation when a unique ID is included in the product action.
Show full answer Show less  

## Prerequisites

* Install the ServiceNow CPQ Extension for CPQ package version 2.2 or later in your Salesforce org.
* Add the Unique Line ID field to the quote line page layout via Setup \> Object Manager \> Quote Line \> Page Layouts.
* Assign unique identifiers to products in ServiceNow CPQ using either simple or advanced product actions.

## How to Use

* For simple product actions, directly assign the unique identifier within the product action configuration.
* For advanced product actions, use scripting to assign the `ProductList.uniqueIdentifier`. For example, when working with sets, combine a product code or ID with the set index to generate a unique ID for each product instance.

## Use Cases

* **Ramping Deals:** Manage subscription-based pricing where discounts vary by contract year, assigning unique IDs to identical products with different discount structures.
* **Multiple Copies of the Same Product:** Handle quotes with several instances of the same product code but with differing extended product data.
* **Extended Data Management:** Improve the Configuration Line Item to Quote Line flow in Salesforce by adding a condition that matches the unique ID fields, ensuring that extended BOM data writes correctly to each unique child line rather than duplicating for identical product IDs.

## Benefits for ServiceNow Customers

By leveraging unique quote line IDs, customers gain enhanced control and accuracy in quoting processes, especially when dealing with complex product configurations or multiple instances of the same product. This improves data integrity, supports sophisticated pricing models, and enables better integration and tracking within Salesforce CPQ workflows.  
You can assign unique IDs to quote lines in Salesforce.

ServiceNow CPQ passes the unique identifier of a product in ServiceNow CPQ back to the Unique Line ID field on the quote line in Salesforce, allowing users to assign unique IDs to specific quote lines in Salesforce. This allows users to reference
the Unique Line ID field (LGK_UniqueId_c) after the quote line has been created if a unique identifier was included in the product action in ServiceNow CPQ.

## Prerequisites {#quote_line_unique_ids__prerequisites}

Have the ServiceNow CPQ Extension for CPQ package version 2.2 or later installed on the org.

Add the Unique Line ID field to the quote line page layout through Setup\>Object Manager\>Quote Line\>Page Layouts.

Assign a unique identifier to a product in ServiceNow CPQ using a simple or advanced product action.

## How to use {#quote_line_unique_ids__how_to_use}

For simple product actions, assign the product unique identifier in the product action. (See the screenshot above.)

For advanced product actions, assign the ProductList.uniqueIdentifer
in your product action script. For example, if using a set, you can leverage the set index in order to assign a unique ID to each product added from the set:

    ProductList.id ="<yourProductCodeOrId>";
    ProductList.uniqueIdentifier = cfg.<yourSetFieldForProduct> + set.<yourSetVariableName>.index;
    return ProductList;

Use cases include ramping deals, such as subscription-based pricing that applies discounts based on the length of the contract. Although the same product, discounts are applied in year 2 or 3 with a unique ID for the same product name. Another use case would be multiple copies of the same product on quote, with different product extended data.

## Use case: Adding extended data to identical product code products in SFDC using flows {#quote_line_unique_ids__use_case_adding_extended_data_to_identical_product_code_products_in_sfdc_using_flows}

Out of the box, the Configuration Line Item to Quote Line flow created by ServiceNow CPQ is set up to write the extended information of each product to its respective quote line in the BOM Data field.

As configured, the flow checks only whether the configuration ID and the product ID match and return only the first record. This causes the BOM data for the child lines to be identical if the product IDs are identical.

If you are using the unique ID attribute, you can add another condition to the "Get Records" section of the flow that checks for the Configuration Line Item field "LGK_UniqueId_c" being equal to the unique line ID object on the
quote line:

This correctly writes the BOM data to each unique child line with the correct extended information.

