Expand your SuiteScript skills in the Sustainable SuiteScript community for NetSuite developers.

Correction on Sublist Methods

Created: June 7, 2017

ESS reader Bernard wrote in with a correction in my previous content on Sublists:

Also, r.Record.selectLine and selectNewLine only works when dynamic is true...I found that out the hard way... 😦

Some further testing in my environment confirms that the N/record's selectLine and selectNewLine API methods are only available when you are working with a record in Dynamic Mode.

If you are working in Standard Mode, I believe you will have to avoid using the *Current* API methods and simply use getSublistValue and setSublistValue instead.

Thanks for writing in, Bernard!