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.
Please Share
I need to reset a custentity field on employee records at the end of every company year and i'm wondering how to go about it. I've tried going through search, was able to get the field in a container. However i haven't been able to reset the field using nlapiSetFieldValue function.below is a sample of my code. Pls, if anybody has a better way of doing this or could decipher what's wrong on the script, just share. thanx
var columns= new Array();
columns[0]= new nlobjSearchColumn('internalid')
columns[1]= new nlobjSearchColumn('custentity_jobnumber')
var searchresults = nlapiSearchRecord( 'employee',null, null, columns );
jobnumber=" ";
0