How to resolve 'initAvatax is not defined' error on Sales Orders and Quotes in NetSuite?
Overview
You are trying to click on the Calculate Tax button and are receiving an error stating "initAvaTax is not defined".
Environment
NetSuite Basic
NetSuite OneWorld
Resolution
- In NetSuite, go to Customization > Scripting > Scripts
- Expand the filters and set the Type to Client
- Look for the AVA_Transaction_Client script and click View
- Click the Deployments tab
- Under the APPLIES TO column click Order and Quote
- Under the Audience tab make sure that the ALL ROLES check box is checked. If it's not, you will need to click Edit, check the box next to ALL ROLES and then Save