Perry Auld
09/25/2024, 10:18 PMCeligo AI
09/25/2024, 10:18 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that setting the tax item on a sales order via SuiteScript can be a bit tricky, especially when dealing with third-party integrations like Avalara/Avatax or Celigo. In the first thread, the user was trying to set the tax fields via server-side SuiteScript while importing sales orders via a custom RESTlet. They were having trouble setting the tax field properly. One suggestion was to try setting the
custbody_ava_taxoverride
or custbody_ava_suspendtaxcall
fields. Another suggestion was to try setting taxamountoverride
to null in a user event script that runs after Avalara's script.
In the second thread, a user was told by NetSuite support that it is not possible to change the Tax item with Workflow but it is possible with scripting. However, the user was not provided with a specific script to use for this purpose.
In the third thread, a user was trying to default the tax code to Non Taxable on certain orders for a customer. The orders were being created via Celigo and Celigo was using the taxes coming from Shopify. The user was trying to use an After Submit user event script to set the line tax code to Non Taxable for each line on the SO, but it wasn't working. The user was advised to provide the code they were using for further assistance.
In conclusion, setting the tax item on a sales order via SuiteScript can be done, but it may require some trial and error, and possibly the use of additional fields or scripts depending on the specific situation and any third-party integrations that are being used.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
09/25/2024, 10:18 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831515431
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.820353866
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81992656
Celigo AI
09/25/2024, 10:18 PM