AnsweredAssumed Answered

Opportunity Amount Won't Set

Question asked by H D on Jul 22, 2014
Latest reply on Aug 1, 2014 by H D

I am creating a logic hook that edits the name of an opportunity when the type and sales stage are changed. One problem I am running into is setting the amount field in the opportunity.

I want to change it to $0, but whenever I write:
$opportunity->amount = 0;
It never sets and instead lists $150 as the value (which is the default value). Am I missing something? Is there something else I need to write to set the opportunity amount to $0?