Convert Multiple Transaction Line Items into Configured Items

Updated for NetSuite 2026.1, featuring improvements to transaction configurations and the new CPQ AI Assistant.

·4 min read·25 views·View Oracle Docs

Converting multiple line items into configured items within a single session can greatly enhance productivity and streamline the configuration process. Starting in NetSuite 2026.1, the NetSuite CPQ Ecommerce Integration (version 1.2.1) introduces significant improvements that allow users to manage this process more efficiently.

What Changed in the CPQ Ecommerce Integration?

Previously, when handling multiple configuration submissions for the same product, users needed to group the product logic into a single action and utilize the recalcRulesets() function to refresh building blocks. This update simplifies those requirements significantly.

Now, with the restart parameter for the submitConfig() function, users can submit configurations to the transaction and restart the processing flow. This restart allows you to refresh building blocks and run further actions, improving the flexibility and readability of the code. Additionally, you can now use the product parameter to dynamically switch between different products across various transaction lines within the same session. This adjustment is particularly beneficial for large transactions, as it minimizes the number of script launches and saves necessary, thereby enhancing overall performance.

Example of Using submitConfig()

Here's an example showing how to use the submitConfig() function with both the restart and product parameters:

javascript
submitConfig({
afterSubmitAction: 'new',
restart: true,
product: 13
});

Note: Keep in mind that when invoking submitConfig() with restart set to true, all subsequent actions will not execute. Therefore, it is essential to apply this in the final action of your list to ensure all necessary actions complete.

Introducing restartConfig() Function

Additionally, to facilitate even better transaction line management, the restartConfig() function has been implemented. This function enables users to restart the conversion process into configured items without submitting any configurations, which is ideal for preparing transaction data before processing.

When using restartConfig(), specifying a different product ID allows users to switch products based on the varying transaction lines. Using this function can be particularly useful in scenarios where a dedicated product prepares conversion tasks for multiple lines.

Example of Using restartConfig()

Here’s how you can utilize the restartConfig() function:

javascript
restartConfig({
product: 13,
copy: false
});

Note: If you call restartConfig() without any parameters, it will restart the processing flow with the same product ID and with a blank configuration.

Who This Affects

  • Administrators: Benefit from simplified code management and enhanced performance.
  • Developers: Gain flexibility in processing multiple transaction items within a single session.
  • Sales Teams: Improve efficiency in handling complex configuration tasks.

Key Takeaways

  • The restart parameter in submitConfig() enhances flexibility during multiple configurations.
  • The product parameter allows dynamic product switching within a session.
  • restartConfig() prepares transaction data without submitting any configurations, streamlining workflows.
  • This functionality aids in reducing script loads and transaction saves, significantly improving performance.

NetSuite CPQ AI Assistant

Important: For this initial release, the NetSuite CPQ AI Assistant is available only in non-production accounts, including sandbox and release preview accounts.

NetSuite CPQ Configurator (version 1.8.0) introduces the CPQ AI Assistant, a generative AI-driven tool that simplifies and enhances the product and service configuration process. Using a large language model (LLM), the assistant guides sales reps and buyers through complex product configurations by responding to natural language prompts. When a user selects a configurable item in a transaction, a Configure with CPQ Assistant button appears in the bottom-right corner. Selecting this button launches the AI Assistant, opening a guided chat to collect configuration details and provide real-time recommendations. Through this interaction, the assistant clarifies options and helps users of all experience levels complete even complex configurations efficiently.

Users with the Administrator role or CPQ Product Builder role prepare product, question, and answer records for the AI Assistant on the CPQ AI Assistant subtab, found on each related record. This subtab allows administrators to review readiness, create or improve AI descriptions, ensure records meet quality standards, and control where and when end users see the AI Assistant.

For more information, see NetSuite CPQ AI Assistant.

Change Separator in Resolve Expressions

When users select multiple answers, resolve expressions return the corresponding information separated by a comma and a space. You can now specify a custom separator directly in the resolve expression. With NetSuite CPQ Configurator (version 1.9.5), add your preferred separator within parentheses when writing the resolve expression. For example, suppose a configurable desk includes a question with the code LAMP and answers with codes GREEN, BLUE, and YELLOW. To retrieve the lamp color codes, you can use the resolve expression {LAMP(-)}. If users select all answers, the resolve expressions will return GREEN-BLUE-YELLOW instead of GREEN, BLUE, YELLOW. For more information, see Obtaining Answer Data with Resolve Expressions.

Frequently Asked Questions (4)

Does the new functionality in the CPQ Ecommerce Integration require enabling any feature flags?
The article does not mention the need to enable any feature flags for the updated CPQ Ecommerce Integration in NetSuite 2026.1. It introduces new functionalities such as the `restart` parameter for the `submitConfig()` function and the `restartConfig()` function.
What is the role of the 'restart' parameter in the new 'submitConfig()' function?
The 'restart' parameter in the `submitConfig()` function allows users to submit configurations and restart the processing flow within a single session. This enhances flexibility by allowing users to refresh building blocks and improve code readability.
Can the 'restartConfig()' function be used without any parameters, and what happens if it is?
Yes, the `restartConfig()` function can be invoked without any parameters. If no parameters are specified, it will restart the processing flow using the same product ID with a blank configuration.
Is the NetSuite CPQ AI Assistant available in all account types?
No, the NetSuite CPQ AI Assistant is only available in non-production accounts, including sandbox and release preview accounts, for this initial release.

Weekly Update History (1)

NetSuite CPQadded

Added an entry for Change Separator in Resolve Expressions.

View Oracle Docs
Source: Convert Multiple Transaction Line Items into Configured Items in a Single Session Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?