Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
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.