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