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