customer is changed in transaction and netsuite au...
# ask-stanley-ai
t
customer is changed in transaction and netsuite automatically changes taxcode on line, how to keep the previous taxcode
c
AI 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. ****** When a customer is changed in a transaction, NetSuite automatically changes the tax code on the line. If you want to keep the previous tax code, you might need to manually set it back after the customer change. However, this could be a complex process depending on your specific business rules and requirements. One possible solution could be to use a SuiteScript to set the tax code back to its original value after the customer change. This would involve writing a script that triggers on the customer field change, captures the original tax code, and then sets it back after the customer change. Another approach could be to use a tax schedule instead of a tax item in the customer record. In a tax schedule, you can assign different tax codes per nexus. This could potentially allow you to set specific tax codes for specific customer types buying specific item types in specific nexuses. Please note that these are general suggestions and may not work in all scenarios. You should test any changes thoroughly in a sandbox environment before deploying them to your live account.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.813537657
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81262213
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.812194705
Please provide your feedback on this answer.