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.
Save Record Function runs but does not save record
Hello There,
Still pretty new to the scripting in NS, but I've got a simple script running as a Save Record Function on a Custom Case Entry Form..
function notifyDev(type)
{
try{
nlapiSendEmail(6728,'levans@cleartours.com','Development Notification Test','Test Body');
}
catch(err) {
alert(err.message);
}
}
When a user presses the "Save" button on the form, the script runs just fine and I receive the email but the record is not saved. Am I missing something here, since I'm under the impression that the scripts defined on the custom code tab of a form run "in addition" to predefined NS functions.
0