i have a workflow that locks the item receipt but ...
# ask-stanley-ai
h
i have a workflow that locks the item receipt but i need to exclude the receipts of customer returns
c
AI generated answer (using internal Slack threads):
To exclude the receipts of customer returns from a workflow that locks the item receipt, you can add a condition to your workflow to check the type of the transaction. If the transaction is a customer return, then the workflow should not be triggered. Here's a general idea of how you can set this up: 1. In your workflow, go to the 'State' where you have the action that locks the item receipt. 2. Click on 'Add Condition' to add a new condition to this state. 3. In the 'Formula' field, enter a formula that checks if the transaction is a customer return. This could be something like
{recordtype} != 'returnauthorization'
. This formula checks if the record type of the transaction is not a return authorization (which is the record type for customer returns in NetSuite). 4. Save your changes. Now, your workflow should only lock the item receipt if the transaction is not a customer return. ****** 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.807034075
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.802582383
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.799152672
Please provide your feedback on this answer.