Enhancing Material Pricing Integration in NetSuite CPQ with Scripts

Discover how to automatically include pricing when adding materials using scripts in NetSuite CPQ 2026.1.

·2026.12026.1 Release Notes·From NetSuite Release Notes PDF

When working with materials in the NetSuite CPQ (Configure, Price, Quote) environment, particularly when utilizing custom scripts, you may find it beneficial to integrate automatic pricing for the materials being configured. As of NetSuite version 2026.1, there are new capabilities that allow you to achieve this seamlessly.

Automatically Create Pricing Records

To add materials while ensuring that associated pricing records are created for your current configuration session, you can utilize the newly introduced itemPrice parameter within the addRuleset() function. This enhancement is particularly relevant for developers and administrators looking to streamline pricing handling in configuration workflows. Here's how you implement it:

addRuleset({
    type: 'material',
    item: '859',
    rule: '*/*',
    itemPrice: true
});

It's crucial to note that the itemPrice parameter is exclusively available for items of type material. Implementing this feature will link a pricing record to each material automatically as they are added to the configuration session.

Sourcing Material Price Labels

The label for the material price can significantly enhance user experience during product configuration. You can specify the label using the name parameter. If omitted, the system falls back on the Display Name/Code defined in the item record. Here's an example that illustrates this:

addRuleset({
    type: 'material',
    item: '859',
    name: 'Desk side panel',
    rule: '*/*',
    itemPrice: true
});

If the Display Name/Code field is also empty, the material price will be displayed without any label. Notably, the price will still be visible in the user's product interface, just without a contextual identifier.

Viewing Prices in the Product Interface

After implementing the above script, users will be able to view the material prices under the Audit menu > Pricing section, as well as in the configuration Summary. Additionally, the priced materials will contribute to the Total amount of the configured item, providing transparent pricing for end-users.

Conclusion

These enhancements in NetSuite CPQ 2026.1 are designed to improve the efficiency of pricing integration for materials during custom configurations. By leveraging the updated itemPrice parameter and understanding how to effectively label material prices, developers can create a more intuitive and efficient environment for users. Always ensure to test your scripts in a safe environment before deploying them to live transactions to avoid any unforeseen disruptions.

Key Takeaways

  • Use the itemPrice parameter in addRuleset() to automatically create pricing records for materials.
  • Specify the material price label using the name parameter; otherwise, the fallback is the Display Name/Code.
  • The material price is visible in the product interface and contributes to the total configured amount.
  • Test your configurations and scripts extensively to ensure smooth functionality before going live.

By following these guidelines, you can greatly enhance the user experience in your CPQ setups.

Source: Include Prices when Adding Materials Using Scripts NetSuite Release Notes PDF. This article was generated from official Oracle documentation and enriched with additional context and best practices.