function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MSO-SF USERMSO-SF USER 

Role based validation in Opportunity Product

I am looking to create a validation rule that, housed at the Opportunity Product level, will prevent the Sales Price/UnitPrice from being changed based on the Record Type of the product. So, a product that is on the "Locked" record type cannot be changed by anyone other than a sales manager or system administrator. Products that are on the "Unlocked" record type can be edited by anyone.
 
Cand this be done?