彭锟
2022-03-28 572b3f4b0248130d692621827ac167e6981bc771
1
2
3
4
5
6
7
8
9
10
<?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, &quot;通常&quot;),
 Text(Status__c) != &apos;作成中&apos;,
  Latest_Event_Time__c  &gt;  NOW() ) &amp;&amp; $User.Id != &apos;00510000005sEEM&apos; &amp;&amp; $User.Batch_User__c = true</errorConditionFormula>
    <errorMessage>请在今天最终事件结束之后再提交报告</errorMessage>
</ValidationRule>