Li Jun
2022-04-27 f90c63155656928b86f1ce1d91a134de3d12d2b9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Not_Need_Input_GI_Diff</fullName>
    <active>true</active>
    <errorConditionFormula>(ISNew()  || 
text(Status__c) = &apos;草案中&apos;)
&amp;&amp; 
Salesdept__c &lt;&gt; &apos;消化·呼吸内镜事业本部&apos;  &amp;&amp; 
NOT(ISBLANK(text(GI_Diff__c))) &amp;&amp; 
$User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos; 
&amp;&amp; 
NOT($User.Batch_User__c)  &amp;&amp; 
$User.ProfileId &lt;&gt;&apos;00e10000000dEQx&apos;</errorConditionFormula>
    <errorDisplayField>GI_Diff__c</errorDisplayField>
    <errorMessage>只有GI本部需要填写</errorMessage>
</ValidationRule>