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.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
How to have a Suitelet call itself in 2.1
Hello,
Is it possible to have a Suitelet call itself with different parameters?
I did find a SuiteAnswer on this (#72197) so I think I should be able to but I cannot get it to work.
I am using this code the first time I call the Suitelet:
const suiteLetUrl = url.resolveScript({
scriptId: 'customscript_cry_acs_sl_item_update', // changed to CRY version, JudyP 6/18/24
deploymentId: 'customdeploy_cry_acs_sl_item_update',
returnExternalUrl: false,
params: {
'custscript_acs_item_id': newItemId,
'custscript_acs_item_type': newItemType,
'custscript_cry_quantity_change': qtyDiff
}
});
log.debug('Suitelet URL',suiteLetUrl);
https.get({
url: suiteLetUrl
});
Then, in the same Suitelet, I want to call it again for a different Item.
0