<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>After_Request_shipping</fullName> 
 | 
    <active>true</active> 
 | 
    <description>现场到货确认后,才可以操作装机和上传签收单 
 | 
(Rental_Apply_Equipment_Set_Cnt__c - Loaner_received_ng_num__c    =    0  
 | 
|| ( Lost_item_finish__c > 0  &&  Lost_product_cnt__c  <> Rental_Apply_Equipment_Set_Detail_Cnt__c)</description> 
 | 
    <errorConditionFormula>( Loaner_received_ng_num__c  > 0 ) 
 | 
&& (($User.ProfileId <>'00e10000000Y3o5') && ($User.ProfileId <>'00e10000000xo1D'))  
 | 
&& (ISCHANGED(HP_received_sign_day__c ) || ISCHANGED(HP_received_sign_text__c) )  
 | 
&& NOT($User.Batch_User__c)  
 | 
&& $User.ProfileId <>'00e10000000dEQx'  
 | 
&& $User.ProfileId <>'00e10000000xnoY'  
 | 
&& $User.ProfileId <>'00ep0000000O4tG'  
 | 
&& DataMigration_Flag__c = False</errorConditionFormula> 
 | 
    <errorMessage>现场到货确认后,才可以操作装机和上传签收单</errorMessage> 
 | 
</ValidationRule> 
 |