Hello,
I am trying to create a validation rule that allows a user to update/modify only certain fields in the opportunity when he is not the record owner.
I have the following formula, nevertheless the formula just blocks any edition on any field when he is not the record owner.
Basically the fields, within the OR are the ones I want him to be able to modify. Can someone please explain to me why my formula is not working ?
IF(
(
AND($User.Alias ="TMA", NOT(Owner.Id = $User.Id),
(OR(
(NOT (ISCHANGED (typeOfRelation__c))),
(NOT (ISCHANGED (businessProviderAccount__c))),
(NOT (ISCHANGED (Alliance_context__c))),
(NOT (ISCHANGED (commentsAboutTheAlliance__c))),
(NOT (ISCHANGED (finalUserAccount__c))),
(NOT (ISCHANGED (salesContactChannel__c))),
(NOT (ISCHANGED (Communication_sent_to__c))),
(NOT (ISCHANGED (allianceManager__c))),
(NOT (ISCHANGED (contextOfTheOpportunity__c))))
)
)),TRUE,FALSE)