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!
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
help with a suitelet
I am new at scripting. I am using this suitelet from NS answers . When the users run this script it just ends and leaves at a blank page. How can get this to go back to the home page after running this suitelet. I do know it would be nlapiSetRedirectURL('SUITELET', 'CARD_-29'); but I am having trouble placing this in my script below. Any help would be great.
/**
* Module Description
*
*/
/**
* @param {nlobjRequest} request Request object
* @param {nlobjResponse} response Response object
* @returns {Void} Any output is written via response object
*/
function formSuitelet(request, response){
if ( request.getMethod() == 'GET' )
{
var form = nlapiCreateForm('Bulk Close RMA');
0