Jira Code : BGGN-551
/** To call one suitelet from another suitelet **/
function callSuitelet()
{
let newURL = url.resolveScript({
scriptId: 'customscript_jj_sl_alert_amendpo_bgg538',
deploymentId: 'customdeploy_jj_sl_alert_amendpo_bgg538',
params: {'poID': 1234},
returnExternalUrl : true
});
return redirect.redirect({ url: newURL });
}
Script ID and Deployment ID can be fetched after deploying the second suitelet in the NS account