How might I, for example, lock a particular account record based on its status from another field in account - such that either i can't delete it or update it. Yet its still active?
Thanks
Stuart
*This post is locked for comments
How might I, for example, lock a particular account record based on its status from another field in account - such that either i can't delete it or update it. Yet its still active?
Thanks
Stuart
*This post is locked for comments
In addition you can also create workflow -
Have a look below article
To see the UI field lock business rule is the best options..
Hi,
Depends upon requirement, if you requirement is "can only delete your own items" then security role is the best. Otherwise you can surely write BR based on your custom business requirement.
Hope this helps.
Thanks, Yes a plugin would be one way.
Howevers is there not a feature within vanilla Dynamics that offers this protection?
When an entity is inactive then it can't be updated - that's part of the way there.
I'm assuming the business rule would be the better way if it can do everything.
Perhaps mixed with user level security so you can only delete your own items, and then only if they are not at a certain state.
You can have a plugin that prevents deletion or update based on status or any field value - This prevents the update or delete at the server level.
And then if you want to have the fields to be read only on the form, you will have to have a script / business rule to lock all the fields.
Hi,
You can control it though code, you can have pre update and pre delete workflow/plugin which can validate your required, and can throw error which will cancel update/delete operation, so it won't let anyone update/delete account record.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156