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일 오전 12:10
    Try this:

     

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

     

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

     

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

     

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