We deploying a client script there is no Sales Ord...
# ask-stanley-ai
r
We deploying a client script there is no Sales Order in the applies to dropdown
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. ****** Based on the conversations, it seems like you're trying to deploy a client script but can't find the 'Sales Order' in the 'Applies To' dropdown. This could be due to the fact that not all record types are available for all script types. For instance, in the first conversation, the user was trying to deploy a client script on 'Location', but it wasn't listed in 'Applies To'. In the third conversation, the user was trying to deploy a user event script to a 'Lead' record, but couldn't find 'Lead' in the 'Applies To' section. It's important to note that 'Lead' is just one of the statuses of a customer record type. However, if the script is not executing for 'Lead' creation but it does execute for 'Customer' creation, it might be worth checking if someone has renamed 'Lead' in your account. You can do this by navigating to Setup >> Company >> Rename Records/Transactions. If you still can't find the 'Sales Order' in the 'Applies To' dropdown, it might be that 'Sales Order' is not available for the script type you're trying to deploy. In this case, you might need to consider using a different script type that supports 'Sales Order'.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.831898153
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.82364279
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.823300064
Please provide your feedback on this answer.
a
I think the AI is off here. I'm pretty sure you should be able to deploy to Sales Order record type. Has Sales Order been renamed to something else?