| <?xml version="1.0" encoding="UTF-8"?> | 
| <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>Not_submit_before_endding</fullName> | 
|     <active>true</active> | 
|     <errorConditionFormula>AND( | 
|  ISPICKVAL(Daily_Report_Data_Type__c, "通常"), | 
|  Text(Status__c) != '作成中', | 
|   Latest_Event_Time__c  >  NOW() ) && $User.Id != '00510000005sEEM' && $User.Batch_User__c = true</errorConditionFormula> | 
|     <errorMessage>请在今天最终事件结束之后再提交报告</errorMessage> | 
| </ValidationRule> |