I’ve created a new entity, lets say its called Invoice. So, I have an Invoice MainView, DetailsView, etc. I need to change the edit menu functionality for this entity. Deletion should be allowed only for certain users, and the system should display a confirm dialog prior to beginning the deletion routine.
I’ve been taking a look at global functions, but I’m not sure if this is the way to go or not.
How do I do this? Any tips or ideas will be highly appreciated.
We put a button on the detail form….only make it visible for certain users….
Have a menu item that calls a deletion script with your confirmation script, etc. only release the menu item to certain users or teams.
Edits? We have a custom script that walks the Form’s controls collection and sets buttons and TEXT to readonly or invisible. Their are several examples of how to do that up here…..