<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>HP_Recieved_Install_Check</fullName> 
 | 
    <active>true</active> 
 | 
    <errorConditionFormula>ISBLANK(PRIORVALUE(HP_received_sign_day__c)) &&  
 | 
NOT(ISBLANK(HP_received_sign_day__c)) &&  
 | 
  
 | 
HP_received_sign_day__c  <  Loaner_received_day__c &&  
 | 
($User.ProfileId <>'00e10000000Y3o5')&& 
 | 
($User.ProfileId <>'00e10000000dEQx')&& 
 | 
 NOT($User.Batch_User__c)</errorConditionFormula> 
 | 
    <errorDisplayField>HP_received_sign_day__c</errorDisplayField> 
 | 
    <errorMessage>用户装机日不能早于现场签收日</errorMessage> 
 | 
</ValidationRule> 
 |