You need to sign in to do that
Don't have an account?
Aditya Pavan lakshmi
I want to restrict the user for creating a Lead.How can I achieve this ?
Hi All,
I want to ristrict the user on creating a Lead?How can I achieve this ?
The scenario will be like this a user can create only 15 leads.after that an error message will display that you reached the max level.
I want to ristrict the user on creating a Lead?How can I achieve this ?
The scenario will be like this a user can create only 15 leads.after that an error message will display that you reached the max level.
you can go to the users profile and remove the Create permission for Leads under object settings.
Go to Setup -> Manage Users -> Profiles
Select Your Users Profile
Click on Object Settings
Click on Lead
Click on Edit
Under Object Permissions section, disable Create.
Hope this helps you!
Best Regards,
Jyothsna
Please find the below code:
I already tested it in my DE org and it looks good.
Regards,
Mahesh
You can achieve this using trigger. Try the below code.
I have a question here,
The number of Leads created by user is 14 and if the same user is trying to create 10 leads at a time. What will happen to the trigger code.
Please do let me know if my thinking is wrong.
Regards,
Mahesh