涂煌豪
2022-04-11 a002dc01b27e6281f163eb35661c4a9e9541ea52
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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))
 
)</errorConditionFormula>
    <errorMessage>新建耗材备品申请时,不能填写回库物流信息和签字信息</errorMessage>
</ValidationRule>