+ Start a Discussion
Edoardo SpanoEdoardo Spano 

Prevent Change Ownership

Hi all,

is there a way to prevent the record owner to change the ownership of his own records?

I tried to remove the "Transfer record" permission on the user profile and make the owner field read-only.

Thanks in advance.
Balaji Chowdary GarapatiBalaji Chowdary Garapati
@Edoardo Spano:

 The options i could think of is:

1) Trigger which validates if old value in owner field is current user then throw an error
2) Remove the Owner field completely on the standard page, create a formula field which displays the name of owner, and a formula button which will be displayed only if user is not current owner  and redirects him to the owner change url.,

the owner change url format will be:
/recordid/a?retURL=%2Frecordid

and for using formula button concept take a look at below link
https://help.salesforce.com/HTViewHelpDoc?id=custom_field_geolocate_overview.htm&language=en_US

Hope it helps.,

Thanks,
Balaji