Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Unable to edit sublists in beforeSubmit user event
I have a small customer user event script in 1.0 that i'm re-writing using 2.0 that adds a few of our active currencies to the customer record before submit.
I notice that the scriptContext.newRecord.selectNewLine(sublistId: 'currency'); is throwing an error because scriptContext.newRecord is in standard mode instead of dynamic.
in 1.0, the record in context is already in dynamic mode and I'm not sure what the best way to load or use the object is in 2.0. I created a case but so far nobody has helped in a few days.
I'm pretty sure that I am accessing the current record incorrectly.
0