CoreBOSBB
Lock opportunity - Printable Version

+- CoreBOSBB (https://discussions.corebos.org)
+-- Forum: Support (https://discussions.corebos.org/forum-17.html)
+--- Forum: Administrator Support (https://discussions.corebos.org/forum-8.html)
+--- Thread: Lock opportunity (/thread-365.html)



Lock opportunity - rslemer - 08-17-2016

Is possible lock any new changes when opportunity sales stage is closed win, or close lost ?

I need restrict new modification only a admin user.


RE: Lock opportunity - joebordes - 08-17-2016

Yes, you should be able to do this easily. There are at least four ways:

1.- Freeze procedure
Which more or less goes like this:
  • make the module private, so all users can see only their records
  • create one user in his own hierarchy/role
  • add an exception so that all users can share their opportunities except this one user
  • add an exception so that special user shares his opportunities in read only mode
  • add a workflow that assigns all closed opportunities to this special user
2.- Record Access Control Business Rule
http://corebos.org/documentation/doku.php?id=en:adminmanual:businessmappings:record_access_control

3.- Special Permission Hooks
http://corebos.org/documentation/doku.php?id=en:devel:corebos_permission_hooks

4.- Direct Code manipulation