I try to open invoice i get error
# suitescript
m
I try to open invoice i get error
message has been deleted
n
Could be a number of things. First place i would check is your scripted records page for the invoice and see if any of the user event or client scripts deployed on it are throwing an error. If you find the one that is the problem, you can undeploy it and try opening the invoice again
Customization > Scripting > Scripted Records
m
okay
n
First thing would be to check any user events that have a before load function on them
And client scripts with a pageInit
👀 1
m
I disabled all scripts, the error persisted
n
Ok probably time to look at workflows as well. Was there anything deployed there between the last time you were able to open an invoice and now. If you have a sandbox account you could also check there to see if you can load an invoice. If so, maybe go through and try to identify what is different between the sandbox version and production version. That "Unexpected Error" is netsuites most unhelpful error code because it really gives you no direction on where to look.
If you are still unable to find the root cause you may be left with no choice but reaching out to netsuite support to see if they can find something
m
thanks for the support, the following happened. A third-party developer put the script in the plugin (I didn’t understand why this was done) when the plugin was updated, he updated the folder and deleted the script that was associated with the UserEvent 🫠
n
Lol on behalf of third party developers I’m sorry. Glad you figured it out though. Thanks for the update, I was curious how it worked out.