Is there a way to programmatically accomplish the ...
# ask-stanley-ai
a
Is there a way to programmatically accomplish the same effect as clicking the Update Projected button on an Opportunity, wherein it changes it back from manual Projected Total mode to automatically updating Projected Total field using the sum of the items' amounts?
c
AI generated answer (using internal Slack threads):
Based on the conversations, it seems that the functionality you're looking for - programmatically accomplishing the same effect as clicking the Update Projected button on an Opportunity, wherein it changes it back from manual Projected Total mode to automatically updating Projected Total field using the sum of the items' amounts - is not directly addressed. However, there are some related discussions that might be helpful. In one thread, a user mentions having a workflow that sets a field value based on the values of other fields. However, this workflow doesn't work when editing fields inline, only when opening and saving the record. The user ended up moving the workflow to a script, which seems to work for their needs. In another thread, a user shares a Workflow Action Script that sets the value of any line level field on a workflow. This script might be adapted to your needs, but it's not a direct solution to your question. In a third thread, users discuss how to auto-calculate a field based on the values of other fields. They suggest using a user event script or client script, or possibly using a Custom Child Record Sublist or Custom Transactions. While these discussions provide some insights, they don't directly answer your question. You might need to create a custom script or workflow to achieve the functionality you're looking for. ****** 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.840398967
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819907
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817952275
Please provide your feedback on this answer.