How can I create a workflow to check Disable Avata...
# ask-stanley-ai
u
How can I create a workflow to check Disable Avatax Tax Calculation when a sales order is created via soap web services and custom status is created.
c
AI generated answer (using internal Slack threads):
To create a workflow that checks and disables Avatax Tax Calculation when a sales order is created via SOAP web services and a custom status is created, you can follow these steps: 1. Create a new workflow in NetSuite. Navigate to
Customization > Workflow > Workflows > New
. 2. Set the
Record Type
to
Sales Order
. 3. In the
Initiating Event
section, select
Event Definition
as
On Create
. 4. In the
States
section, add a new state. This will be the initial state of the workflow. 5. In the
Transitions
section of the state, add a new
Action
. Set the
Action Type
to
Execute Script
. 6. In the
Script
field, you will need to select a script that checks if the sales order was created via SOAP web services and if a custom status is created. This script should also disable Avatax Tax Calculation if these conditions are met. Unfortunately, I cannot provide a script sample as none were provided in the threads/conversations. 7. Save the workflow. Please note that this workflow will only work for sales orders created after the workflow is activated. For existing sales orders, you will need to manually check and disable Avatax Tax Calculation. ****** 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.825422823
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817781031
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817227781
Please provide your feedback on this answer.