| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>OPDNoReport</fullName> | 
|     <active>true</active> | 
|     <description>OPD计划提交待审批时不能更改出借目的</description> | 
|     <errorConditionFormula>ISCHANGED( RentalReson__c ) && TEXT(  Status__c )!='草案中'&&RentalResonFlag__c = false && $User.ProfileId <>'00e10000000Y3o5'</errorConditionFormula> | 
|     <errorDisplayField>RentalReson__c</errorDisplayField> | 
|     <errorMessage>变更借用目的请点击<无报告申请></errorMessage> | 
| </ValidationRule> |