Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Dynamic Record mode and nlapiGetNewRecord()
I had an opportunity to try the new dynamic mode functionality and after many hours I gave up and could not get it to work.
The documentation shows two examples for using dynamic mode with nlapiGetNewRecord in a beforesubmit script to update some line items. This is my exact use case. Unfortunately, both examples have errors and even when I corrected them nothing was dynamically calculated for me.
In example 2 of the Working with Records page, the last line rec.commitLineItem('item') should be record.commitLineItem('item') and in the example under the following section the last line is record.commitCurrentLineItem('item'). I can't find a commitCurrentLineItem API. I believe it is supposed to be commitLineItem. Even with these changes neither example results in anything calculating dynamically.