How to access item lines in sales order from a wor...
# ask-stanley-ai
a
How to access item lines in sales order from a workflow
c
AI generated answer (using internal Slack threads):
To access item lines in a sales order from a workflow, you can't do it directly when the sales order opens. Adding lines via workflow is only possible on record submit. Here's a workaround you might consider: 1. Have your workflow action to go to the sales order page and check a box on the form (if possible). 2. Then, you can use a script to uncheck the box and add the line once the record has loaded. Please note that workflows are designed to operate on a single record, not across multiple records. If you need to link two line item fields between a dropship sales order to a purchase order, it might be more efficient to use a 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.839597523
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.838129282
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837026298
Please provide your feedback on this answer.