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!
Need help determining Script Type to use to execute function on button click
I am trying to use SuiteScript to send some data from a sales order to an external web service. I have this working in the Script Debugger; I can pass a sales order internal ID to my function and see the correct actions taking place.
Now I want to hook this in to the NetSuite UI and I am unsure which Script Type to use. Ideally this function would be triggered when a custom button is pressed on a sales order form. The button press would start the function and pass in the internal ID of the current sales order. A status message returned from the function would be stored in a custom field on the form.