Skip to main content
Bob Bell が「#Sales And Marketing」で質問
Hi Guys

 

I have the folloiwng code to lock down an opportunity when the stage has moved to closed won, however it doesn't seem to work. The three users below are the only users who should the ability to change an opportunity after it is closed won.....

 

OR(

 

ISCHANGED( Number_of_Line_Items__c ),

 

AND(

 

ISCHANGED( IsClosed),

 

PRIORVALUE( IsClosed),

 

NOT( IsClosed),

 

NOT($Profile.Name = "System Administrator"),

 

NOT($Profile.Name = "Naval Sales Director"),

 

NOT($Profile.Name = "Naval Finance")))
1 件の回答
  1. 2011年1月7日 0:10
    Try this:

     

    ISPICKVAL(PRIORVALUE(StageName),"Closed Won") &&

     

    NOT($Profile.Id = "Naval Sales Director") &&

     

    NOT($Profile.Id = "Naval Finance") &&

     

    NOT($Profile.Id = "System Administrator")