| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Need_ContractDate_When_Contract</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>$Profile.Id != '00e10000000dEQx' /* GPI_系统管理员 不报错 */  | 
| && | 
| $Profile.Id != '00e10000000Y3o5' /* 系统管理员 不报错 */  | 
| &&   | 
| $User.Id != '00510000000fSYI' /* Batch User 不报错 */  | 
| &&  | 
| Len( Maintenance_Contract_No__c ) > 1 && Isnull(Contract_Conclusion_Date__c)</errorConditionFormula> | 
|     <errorDisplayField>Contract_Conclusion_Date__c</errorDisplayField> | 
|     <errorMessage>状态变为合同时,必须输入「合同日」</errorMessage> | 
| </ValidationRule> |