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.
Update: Narrative Insights has been restored and is now available.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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