Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

Once I add Products to the Opportunity I can no longer edit the Opportunity's Amount field. Is it possible to change that amount so that it is saved on the Opportunity as a different amount? Possibly with workflow or a trigger? I tried a workflow and it looked like it didn't work.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

From the help:

For opportunities with products, the amount is the sum of the related products. You cannot directly edit the amount unless the opportunity has no products. To change the amount for an opportunity that contains products, edit the sales price or quantity of the related products.

share|improve this answer
    
Does that mean you can't do it directly through the UI or altogether, including apex, etc? I see it is locked down through the UI. –  Peter Knolle Feb 8 '13 at 20:42
1  
If it's locked even for SysAdmin I wouldn't have high hopes ;) –  eyescream Feb 8 '13 at 20:46
1  
It is not possible through apex or the api. If you try and change it through apex you will not get a dmlexception. It just silently fails to change it. –  Greg Grinberg Feb 8 '13 at 20:50
    
Thanks! I see that too. Interesting to fail silently. I wonder if there's some performance reason for locking it down after products have been added. I understand that 95% of the time it would probably be a misuse to do this, but if there aren't any performance reasons, I would've thought SF would let it happen. –  Peter Knolle Feb 8 '13 at 23:18
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.