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
KavitaKavita 

Custom Amount field in opportunity

Can someone help me solve this.
 
I need the amount field on the opportunity object (which is a standard non-editable field) to represent a different calculated value.
 
I've created 2 custom fields and a button
(A) "Amount2" in the opportunity object.
(B) "Total price 2" in the opportunity product object (a custom calculation) 
(C) "Update Amount 2" button in the opportunity to upload the sum of (B) into (A)
 
I've been playing with scontrols for a week now trying to figure out how to populate amount 2 with the sum of Totalprice 2 but it doesn't work!!!!!!! Can someone please help?