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!
v2007: nlapiLoadRecord v slow
i'm finding nlapiLoadRecord very slow in one particular case - does anyone know if there's a good reason for this?
i have an afterSubmit script running on phonecall records and the following line is causing a delay of 20secs or more (sometimes timing out):
var callRecord = nlapiLoadRecord('phonecall',recordId);i'm trying to do the following:
1. add a note record to a phonecall
2. edit the phonecall and clear some fields
i'm running the script after submit so that any errors in creating the note record don't stop the phonecall saving.
so i'm loading and saving the record that triggered the script - is this the cause of the delay?
0