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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
At wits end: How to read a dynamic sublist on beforesubmit
I'm growing increasingly frustrated with 2.0. I have a user-event before load where I use the form object in before load to add a sublist dynamically (call it 'custpage_sublist'). It works fine. When I'm in the record UI, I see the list, I add line items, etc. I have a before-submit event where I want to read what was added in the lines. If I stringify the newRecord object in the ScriptContext, I can see the property "sublists" and I see my dynamic sublist and the lines and values. But I can't for the life of me figure out how
0