Restrict Field Update Access
As an administrator or implementor, you restrict the access to update fields so that only specific users can edit the fields.
Here's how you can restrict access:
-
Select the sandbox you want to configure.
-
Select
and expand the corresponding object. -
Click Server Scripts.
-
Replace the Role Name in the script with the roles created.
-
Click New in Field Validation.
-
Add the values as per your requirement.
Here are the sample roles used in the script:
-
Sales Manager: ZBS_SALES_MANAGER_JOB_CUSTOM
-
Account Manager: CRM_ACCOUNT_MANAGER_CUSTOM
-
Sales Administrator: ZBS_SALES_ADMINSITRATOR_JOB_CUSTOM
-
Here are the values for the Account object:
You must enter the error message for the Field Validation Rule as:
The current user doesn't have
the privilege to update this field
Rule and Field Name |
Rule Definition |
---|---|
Minimum Order Quantity |
|
Minimum Order Amount |
|
Account Order Minimums Applied |
|
Proof of Purchase Payment Authorized |
|
Coupon Payment Authorized |
|
Customer ID |
|
Taxpayer Name |
|
.
Here are the values for the Route object:
You must enter the error message for the Field Validation Rule as:
The current user doesn't have
the privilege to update this field
Rule Name and Field Name |
Rule Definition |
---|---|
Minimum Order Quantity |
|
Minimum Order Amount |
|
Route Type |
|