I will try to explain this...
1) We have ONE computer that errors on a client-side script when it hits:
var message = nlapiCreateRecord('message');
The code runs from a button on our Cash Sale form, the code is used with our thank you strategy.
2)
The Error is:
Line: 602
Char: 5
Error: Exception thown and not caught
Code: 0
Url: https://system.netsuite.com/app/accounting/transactions/cashsale.nl?id=215630&e=T
3) The error occurs when the Cash Sale was created from a Sales Order.
4) If the Cash Sale is created directly from a New Cash Sale form, the computer can run it without a problem.
What I have tested:
1) I have logged into NetSuite as an Administrator and several other roles, while on the bad computer and the error is there.
2) I have logged into Windows as an Administrator and tried to run the code, seeing if there was a privilage issue with the current user. Still broken.
3) If I use any other computer in the office, as any other NS Role, I CAN run the code.
I can't think of any logic that would cause this.
Any help would be helpful.