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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
Understanding Suitelet UI forms & submit
I have been writing client & server side scripts for Netsuite forms and records for 2 years now. I am now trying my hand in Suitelets but am confused on the control flow.
I have a Suitelet that displays fields populated from a Lead, call, and opportunity record on one form. I want a button or submit button that will do the backend business logic and update these 3 records with the values on the form then get my next lead, call & opportunity record.
1) Do I use addButton() or addSubmitButton()?
2) Is my button script server side and is it just in my file cabinet? I don't see anywhere to put the function calls.
0