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