Does a user clicking the Drop Ship link in the Cre...
# ask-stanley-ai
a
Does a user clicking the Drop Ship link in the Create PO column of a Sales Order line item cause UserEventType.DROPSHIP === context.type to be true?
c
AI generated answer (using internal Slack threads):
Based on the conversations provided, it appears that when a user clicks the Drop Ship link in the Create PO column of a Sales Order line item, it does trigger a User Event. However, it's not explicitly stated that
UserEventType.DROPSHIP === context.type
would be true. One user mentioned that Drop Ship POs get created with a
dropship
context type, which could potentially be used to set a custom field. However, it's not clear if this
dropship
context type directly corresponds to
UserEventType.DROPSHIP
. In the context of a User Event script, the
context.type
would typically be used to determine the type of operation that triggered the script (e.g., create, edit, delete, etc.). It's not explicitly stated in the conversations whether clicking the Drop Ship link would cause
context.type
to be
UserEventType.DROPSHIP
. Therefore, while it's possible that clicking the Drop Ship link could cause
UserEventType.DROPSHIP === context.type
to be true, it's not definitively confirmed in the provided conversations. ****** 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.848022521
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.837219238
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.827880859
Please provide your feedback on this answer.
a
Looks like in this case, when I run a User Event aftersubmit function, that the context.type is "create", not "dropship"