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