Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
nlapiSetRedirectURL and Save
I'm dealing with 2 issues that I would appreciate any help on. First, I'm using a Client Custom Code option to try to perform an operation that probably needs to be done in Server SuiteScript. The reason is that I need a confirm() and prompt() pop-ups in certain cases to perform an operation. Am I correct in my understanding that this has to be Client Custom Code, and not Server SuiteScript? I am under the impression that no interaction is allowed in Server SuiteScript (runs all in the background), but that could just be me making things up.
Secondly, my redirect occurs right before the 'return true' for the save of the current form. I'm assuming that my redirect url is getting over-ridden upon the submit form operation. Is this a correct assumption for why I do not redirect to the correct place?