高章伟
2022-03-10 8db20630a2675ca14e03ccdee91c614397b5c964
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>New_Request_Verify</fullName>
    <active>true</active>
    <description>新建备品借出申请时,不能填写回库物流信息和签字信息</description>
    <errorConditionFormula>isnew()
&amp;&amp;
($User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;)
&amp;&amp; 
( not(ISBLANK(text(Return_Track_Company__c))) || 
  not(ISBLANK(text(Return_Distrubutor_Method__c))) || 
  not(ISBLANK(Return_Track_Number__c))  || 
  not(ISBLANK(Return_Trake_Staff__c))  || 
  not(ISBLANK(HP_received_sign_text__c))  || 
  not(ISBLANK(HP_received_sign_day__c)) 
 
)</errorConditionFormula>
    <errorMessage>新建备品借出申请时,不能填写回库物流信息和签字信息</errorMessage>
</ValidationRule>