function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Its not code but its just a formula to be used in validation rule.
https://help.salesforce.com/HTViewHelpDoc?id=fields_useful_field_validation_formulas.htm
So validation rule is a rule it will run when the criteria is met and will not allow changes to the Record.
Here, If the profile is XXX and the status is escalated and the status is changed - then throw error.
something like this - IF( AND(
$Profile.Id==00e90000000wdXo,ISCHANGED(Status),IsEscalated=1), 1,0)
Regards,
Ashish
All Answers
You can use a validation Rule.
In that formula you can use User Object and the Criteria to display the error.
Regards,
Ashish
Its not code but its just a formula to be used in validation rule.
https://help.salesforce.com/HTViewHelpDoc?id=fields_useful_field_validation_formulas.htm
So validation rule is a rule it will run when the criteria is met and will not allow changes to the Record.
Here, If the profile is XXX and the status is escalated and the status is changed - then throw error.
something like this - IF( AND(
$Profile.Id==00e90000000wdXo,ISCHANGED(Status),IsEscalated=1), 1,0)
Regards,
Ashish