reptar
02/10/2023, 4:14 PMThere are no records of this type.
Thoughts on what is going on here? The suitelet page looks fine.reptar
02/10/2023, 4:26 PMGo To Page
with the suitelet on entry works, but I need the record ID as a parameter. Is this doable?reptar
02/10/2023, 4:37 PMreptar
02/10/2023, 5:22 PMjen
02/10/2023, 7:42 PMjen
02/10/2023, 7:42 PMfunction goToSuitelet(context) {
var script_id = parseInt(runtime.getCurrentScript().getParameter('custscript_go_to_suitelet_script_id'));
var deployment_id = parseInt(runtime.getCurrentScript().getParameter('custscript_go_to_suitelet_deployment_id'));
var deployment_id = 1;
var params = {txid: context.newRecord.id};
redirect.toSuitelet({scriptId: script_id, deploymentId: deployment_id, parameters: params});
}
jen
02/10/2023, 7:42 PMjen
02/10/2023, 7:42 PMreptar
02/10/2023, 7:44 PM