Skip to main content
Avalara Help Center

How do I resolve 'An unexpected SuiteScript error has occurred' when saving a Sales Order in NetSuite?

Overview

You are trying to save a Sales Order but receive error 'An unexpected SuiteScript error has occurred'.

Environment

NetSuite

Resolution

The unexpected SuiteScript error might be caused by a conflict in the deployed User Event Scripts.  Please test this using your admin role on the script deployment.  

  • Navigate to Customization > Scripting > Scripted Records.
  • Click 'Edit' for the Sales Order Record.
  • Under the User Ever Scripts tab, click on AVA_TransactionTab_2.
  • Click the Move to Top button.
  • Load the Sales Order.