涂煌豪
2022-05-19 0a3c181367008553cd34bc7c4deab70ba3c8bac7
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>