web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Run an Opportunity Product Script from an Opportunity

(0) ShareShare
ReportReport
Posted on by 5

I have a javascript code that looks up the discount assigned to the account. And this amount will be subtracted from the amount in the price of each opportunity product. I would like to execute this code when a product is added to the opportunity and as soon as the total amount of the opportunity changes, the operations have already been done. Is there a method to do it? I've tried adding the event when the opportunity's "detailed amount" field changes, but it runs and doesn't reflect the change.

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 128

#2
DAnny3211 Profile Picture

DAnny3211 126

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 70 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans