<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>work_location_select_beipin</fullName> 
 | 
    <active>true</active> 
 | 
    <description>备品维修才能选社内员工作为委托者</description> 
 | 
    <errorConditionFormula>/* 不是备品 但是 有值 */  
 | 
Not(Delivered_Product__r.RecordTypeId='01210000000kOPR')  
 | 
&& 
 | 
Not(Isblank(Incharge_Staff_Contact__c))</errorConditionFormula> 
 | 
    <errorDisplayField>Incharge_Staff_Contact__c</errorDisplayField> 
 | 
    <errorMessage>备品才能选社内员工</errorMessage> 
 | 
</ValidationRule> 
 |