Discussions
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?