RE: call clientscript whitout using button in user Event netsuite script 2.x
call the clientscript from user event aftersubmit but there is no any custom button is clicked it work when standard button is click after that clientscript call
You will not be able to call a client script in afterSubmit. What is the bigger picture of what you are trying to do? A shared library might allow you to efficiently use the same piece of code.