<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Contract_Esti_Start_Date_GT_CreateDate</fullName> 
 | 
    <active>false</active> 
 | 
    <description>合同开始预定日要在CreateDate后 
 | 
  
 | 
(Not(IsChanged(IsSyncing__c)) && IsChanged(Estimation_Decision__c) 
 | 
  && Contract_Esti_Start_Date__c < Datevalue(CreatedDate) 
 | 
) 
 | 
==> 
 | 
(Not(IsChanged(IsSyncing__c)) 
 | 
  && Contract_Esti_Start_Date__c < Datevalue(CreatedDate) 
 | 
)</description> 
 | 
    <errorConditionFormula>(( IsNew() 
 | 
  && Contract_Esti_Start_Date__c < Today() 
 | 
  && Not(IsPickval(Process_Status__c, "申请中")) 
 | 
  && Not(IsPickval(Process_Status__c, "批准")) 
 | 
) 
 | 
|| 
 | 
(Not(IsChanged(IsSyncing__c)) 
 | 
  && Contract_Esti_Start_Date__c < Datevalue(CreatedDate) 
 | 
))</errorConditionFormula> 
 | 
    <errorDisplayField>Contract_Esti_Start_Date__c</errorDisplayField> 
 | 
    <errorMessage>合同开始预定日要在定制日后</errorMessage> 
 | 
</ValidationRule> 
 |