Dear All,
Greetings!
We have a requirement here to calculate profit margin in Opportunity level for each opportunity and display the Profit percent in Opportunity form. would like to know how to achieve this with javascript or by any other means?
Dynamics CRM 2015 On-Premise
Below 3 Entities and fields are involved
Product
field - "Standard Cost" (existing field)
Opportunity Product
Custom field - "Total Product cost" ( custom field which will be populated with Standard Cost from Product entity by javascript (Need help on this part with Javascript)
Opportunity
Rollup field SUM of Total Product Cost from Opportunity product
IMPORTANT Requirement is that end user will add opportunity product by using + and user will not open opportunity product form.
Please help us and let us know how to achieve this.
Thanks
Satheesh Balasegaram