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!
How to force an error in Server side
I think I've seen a thread on this but couldn't find with a search.
I am running a Server-side script (after-submit) on a transaction (sales order being created or approved), that is creating a customer record under certain circumstances.
How it works:
This new customer record is sourced to the transaction (parent-child) so I want to create the customer record and upon success, assign the ID from the new customer record to the transaction record parent-child field to link them. I want to provide a visual display if the customer record creation fails to tell the user to do it manually (or correct the error and try again).