| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Request_PCL_number</fullName> | 
|     <active>true</active> | 
|     <description>使用目的作为试用(有询价)的时候,必须选择跟进询价</description> | 
|     <errorConditionFormula>RecordTypeId  <> "01210000000RHIn"  &&  | 
| ISBLANK(Old_Rental_Apply__c) && | 
| (AND( | 
| OR( | 
|  ISPICKVAL(demo_purpose2__c , "试用(有询价)"), | 
|  ISPICKVAL(demo_purpose2__c , "已购待货")), | 
|   | 
| ISBLANK(Follow_UP_Opp__c)))</errorConditionFormula> | 
|     <errorDisplayField>Follow_UP_Opp__c</errorDisplayField> | 
|     <errorMessage>使用目的作为[试用(有询价)]或[已购待货]的时候,在[跟进询价1]中必须选择此次跟进询价</errorMessage> | 
| </ValidationRule> |