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
Is there a way to close Return Auth records outside of a script? HELP!
Is there a way to close Return Auth records outside of a script? Initially I was hoping to schedule it with a workflow, until I came across a SuiteAnswers article that I could only close bulk of returns with the following script?
function formSuitelet(request, response){
if ( request.getMethod() == 'GET' )
{
var form = nlapiCreateForm('Bulk Close RMA');
form.addSubmitButton('Submit');
response.writePage( form );
}else{
var searchresults = nlapiSearchRecord(null,'customsearch975');
// 'customsearch975' is the internal ID of the custom saved search used to filter the records that the user would like to close
for ( var i = 0; searchresults != null && i < searchresults.length; i++ )
0