<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Need_Opp_Zhucan</fullName> 
 | 
    <active>true</active> 
 | 
    <errorConditionFormula>TEXT(demo_purpose2__c) == '已购待货' &&  
 | 
Follow_UP_Opp__c != null && (Follow_UP_Opp__r.Field1__c ==0)</errorConditionFormula> 
 | 
    <errorDisplayField>Follow_UP_Opp__c</errorDisplayField> 
 | 
    <errorMessage>已购待货时,跟进的询价必须是注残</errorMessage> 
 | 
</ValidationRule> 
 |