| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>NotEditName</fullName> | 
|     <active>true</active> | 
|     <description>不可以修改Name</description> | 
|     <errorConditionFormula>AND(AND(!ISBLANK(Name), ISCHANGED(Name)),OR(Old_Rental_Apply__c != null,SupplementCreated__c = true))</errorConditionFormula> | 
|     <errorDisplayField>Name</errorDisplayField> | 
|     <errorMessage>申请No.不可以修改</errorMessage> | 
| </ValidationRule> |