<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>After_Inquiry_Finished</fullName> 
 | 
    <active>true</active> 
 | 
    <description>完毕的询价不能提交备品借出申请</description> 
 | 
    <errorConditionFormula>ISNEW() && TEXT(demo_purpose2__c) =='试用(有询价)' && Follow_UP_Opp__c != null && TEXT(Follow_UP_Opp__r.StageName) <> '引合' &&  NOT($User.Batch_User__c) && $User.ProfileId <>'00e10000000dEQx' && Isblank(Old_Rental_Apply__c)</errorConditionFormula> 
 | 
    <errorDisplayField>Follow_UP_Opp__c</errorDisplayField> 
 | 
    <errorMessage>完毕的询价不能提交备品借出申请</errorMessage> 
 | 
</ValidationRule> 
 |