yangjieke
2022-03-22 08757a34e87bde82f3d1e3065f40d4204cd9f103
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>HP_Recieved_Time_Today_Check</fullName>
    <active>true</active>
    <errorConditionFormula>!ISBLANK(HP_received_sign_day__c) &amp;&amp; 
HP_received_sign_day__c &gt; TODAY() &amp;&amp; 
NOT($User.Batch_User__c)</errorConditionFormula>
    <errorDisplayField>HP_received_sign_day__c</errorDisplayField>
    <errorMessage>用户装机日不能填写未来日期</errorMessage>
</ValidationRule>