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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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
Using nlapiSetFieldValue on Scheduled Server Scripts
I'm trying to develop a simple scheduled server script to change field values on a batch of records.
I would use a User Event script but I have had problems with funtions not being called on system generated records (mainly memorised transactions).
I'm a bit of a novice but reading through the documentation it appears that I can't do field editing on scheduled server scripts. Is this the case?
I was hoping I could use something along the lines of:
var record = nlapiLoadRecord (arguments);
record.nlapiSetFieldValue(arguments);
nlapiSubmitRecord(arguments);
am I along the right lines?!
Thanks,
0