Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
How to customize a button to create salesorder from a custom record?
We have a custom record, which uses a custom form. It has a Custom Action as a button. We want that custom button/action to take the data in the custom record, create a salesorder form, fill in the sales order with the data from the custom record (as appropriate), and display, but not yet save, the sales order form.
We have the button appearing, and when clicked the attached SuiteScript runs.
What next - how do I get a sales order form to show up and grab the data from this custom record?
Is there a way to open a sales order form and "tell" it the ID of the custom record, then use a UserEvent script to load that custom record and fill in the sales order fields as appropriate. Is that the way I should be going?