function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
warrenlesterwarrenlester 

Gross margin calculation

I have written an S Control that will calculate the Gross Margin of an opportunity from cost values for each of the products.
 
It can be downloaded from the appexchange here:
 
 
Feedback would be welcomed.
 
Warren
Ron HessRon Hess
Cool !!

I'd like to encourage you to submit this for publication, make it to a public listing status.

Thanks for your contribution!
aloalo
Hi,
This is excellent... very useful... I added the custom button
"Update gross margin" to my opportunity page layout along with
the "COGS" and "Gross Margin" fields and they calculate
correctly.

However it seems like the custom button is running
constantly and displaying the message "Please wait, Updating Cost of Goods in Opportunity: .."

Can you please tell me what I might be doing wrong?

Thanks
XBCXBC

Unfortunately this control does not work with Professional edition.

Is there anything that can do the same job that will work in PE ?

 

Dave

BeingGuidedBeingGuided

This code no longer exists. Why is GM such a difficult thing to calculate in salesforce.com? Answer: dysfunctional app.