<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>BuZhangSC3</fullName> 
 | 
    <active>true</active> 
 | 
    <description>部长审批后锁定其他原因</description> 
 | 
    <errorConditionFormula>$Profile.Id != '00e10000000Y3o5' /* 系统管理员 不报错 */ 
 | 
&&Text(Status__c)='已批准'&&ISCHANGED(Other_Reasons__c)</errorConditionFormula> 
 | 
    <errorDisplayField>Other_Reasons__c</errorDisplayField> 
 | 
    <errorMessage>已批准之后不能修改其他原因</errorMessage> 
 | 
</ValidationRule> 
 |