@creece More context Info, my flow:
- Purchase Order button added on beforeLoad();
- Calling Function enterDate on CS.
- When the user click the Button it takes the user to a Suitelet.
- The user enter the Date and submit the form.
- A message.CONFIRMATION is displayed saying among other things saying you will be redirected back to the Record.
- window.location back to the record.
- User click the button again then I got all those erros and the Purchase Order hand for a few seconds, then it eventually go to the Suitelet Again...