When the picking ticket is printed in sales order,...
# ask-stanley-ai
k
When the picking ticket is printed in sales order, update custom field by workflow or suitescript
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. ****** To update a custom field when the picking ticket is printed in a sales order, you can use a workflow or a SuiteScript. Here's a general approach: 1. Workflow Approach: You can create a workflow that triggers on the Sales Order record. The workflow would be scheduled to run periodically (e.g., every 30 minutes) and check if the 'Printed Picking Ticket' field has changed from 'F' to 'T'. If it has, the workflow would then set a custom field on the Sales Order. Note that the 'Printed Picking Ticket' field might not trigger a workflow action on the 'Print' event type, as it's not a standard edit/save event. 2. SuiteScript Approach: You can write a SuiteScript that listens for changes on the 'Printed Picking Ticket' field and updates a custom field on the Sales Order when the field changes from 'F' to 'T'. This would require scripting knowledge and access to the NetSuite backend to implement. In both cases, you would need to create a custom field on the Sales Order record to store the value you want to set when the picking ticket is printed. This field can then be used as a criteria in the print picking ticket list to prevent picking tickets from being printed multiple times in the case of partial shipments. For visibility of the 'Printed Picking Ticket' status on Sales Orders, you can create a Saved Search with the following criteria: - System Notes Fields : Field is Printed Picking Ticket - System Notes Fields: New Value is T - System Notes Fields: Type is Change This will give you a list of Sales Orders where the 'Printed Picking Ticket' field has been set to 'T'.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.864074886
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86126709
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.844665647
Please provide your feedback on this answer.