when entity is changed in transaction, tax code of...
# ask-stanley-ai
t
when entity is changed in transaction, tax code of item line is changed, where the tax code comes from
c
AI generated answer (using internal Slack threads):
When an entity is changed in a transaction, the tax code of the item line is changed. The tax code comes from the underlying tax code and tax group associated with the item. By default, you cannot manually enter a value for tax unless you use a completely new line item. There might be a script in action that is causing this change. You can look up the scripted record list to figure that out. Also, check the context in the transaction's system information. When creating a sales order, if you encounter an error like
Invalid Tax Code(s): VAT 14% -- valid
, it could be because you have a fixed applied tax code to this item while this tax code is not well configured to this item. Ensure that the item is set before setting the tax-code and commit the line. Also, make sure you set the right subsidiary. If you are trying to update the tax code on a sales order when an item is added, you can use the
postsourcing
entry point in a client script. ****** 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.811035275
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.810669065
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.810302794
Please provide your feedback on this answer.