using the rest api I am not able to get the taxabl...
# ask-stanley-ai
m
using the rest api I am not able to get the taxable field on a customer record. Is this a protected field?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that the 'Taxable' field on a customer record in NetSuite is not a protected field. However, there are some nuances to consider. If you are using AvaTax, the 'Taxable' field might revert back to its previous state after saving the record. This is because AvaTax might be overriding the 'Taxable' field. In the context of SuiteScript, you can set the 'Taxable' field using the
record.setFieldValue('istaxable','F' );
method. However, if you are using AvaTax, you might need to set additional fields to ensure the 'Taxable' field is set correctly. For example, you might need to set the
custbody_ava_taxoverride
or
custbody_ava_suspendtaxcall
fields. If you are still having issues, you might need to set the
taxamountoverride
field to null in a user event script that runs after AvaTax's script. This disables the mechanism that AvaTax uses to disable NetSuite's native tax features. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823773503
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823182523
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81919384
Please provide your feedback on this answer.
m
the answer is that you can only get and set it in a restlet. (or UI)
c
Thank you for your feedback