Skip to main content
I would like to stop users from editing closed opportunities (both won and lost) when they are within the opportunity type 'New Business' & 'Renewal'.

 

Fields:

 

Stage: "Closed Won", "Closed Lost", "Closed Won Renewal"

 

Type: "New Business" & "Renewal"

 

Code that doesn't work for me:

 

AND( 

 

ISPICKVAL (Type, "Renewal"), 

 

OR( 

 

PRIORVALUE( IsClosed )<> FALSE, 

 

IsWon = TRUE, 

 

NOT(OR( 

 

$Profile.Name = "System Administrator", 

 

$Profile.Name = "Data Administrator")) 

 

))
6 respostas
0/9000