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!
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.