<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Can_not_update_department_name</fullName> 
 | 
    <active>false</active> 
 | 
    <description>只有系统管理员和有权限的人,才能更新客户名。</description> 
 | 
    <errorConditionFormula>($User.ProfileId != '00e10000000xo1D' && $User.ProfileId !='00e10000000Y3o5' && $User.ProfileId !='00e10000000xnpR' 
 | 
&& $User.ProfileId !='00e10000000xyK6' && $User.ProfileId !='00e10000000NbCE' && $User.ProfileId !='00e10000000xnpb') && ISCHANGED(Department_Name__c)</errorConditionFormula> 
 | 
    <errorDisplayField>Department_Name__c</errorDisplayField> 
 | 
    <errorMessage>只有系统管理员和有权限的人,才能更新科室名称。</errorMessage> 
 | 
</ValidationRule> 
 |