nkhatri
09/24/2025, 7:15 PMCeligo AI
09/24/2025, 7:15 PMAI generated answer (using internal Slack threads):****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To override the tax code in a sales order line that has Avatax turned on, you can use SuiteScript to set the
custbody_ava_taxoverride or custbody_ava_suspendtaxcall fields. This will disable the mechanism that Avalara uses to disable NetSuite's native tax features. Here is an example of how you might do this:
javascript
record.setFieldValue('custbody_ava_taxoverride', 'T');
record.setFieldValue('custbody_ava_suspendtaxcall', 'T');
In this example, record is a sales order record.
If you are still having trouble, you could try setting the taxamountoverride field to null in a user event script that runs after Avalara's script. This could look something like this:
javascript
record.setFieldValue('taxamountoverride', null);
Remember, these fields might not be available directly and you might need to customize your form to add these fields.
Another approach is to assign tax codes at the item level. The tax code will exempt products. You can use the Avalara tax code guide to find the applicable tax code: https://taxcode.avatax.avalara.com/
Please note that these solutions should be tested in a sandbox environment before being implemented in a live environment.Celigo AI
09/24/2025, 7:15 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847046
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846618652
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.846618533
Celigo AI
09/24/2025, 7:15 PM