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
Colin LoretzColin Loretz 

S-Control button to move Opportunity Amount to new a custom object



I have a button that is running javascript and passes the Opp Amount over to this custom object. However, it does not pass just the amount of 4,000.00, but USD 4,000.00. It will not accept the value with the alpha characters. Is there a way to pass just the numeric value?

Code:
00N00000006ysxb={!Opportunity.Amount}

 

BtormarBtormar

I had the same problem. What I did was put in a workflow that moved the Currency value to a Number 'Holder' field and passed that instead.

It's a little messy but it works.