付煜
2022-03-28 a1a28f05f9560cd6a265caef72e0ca07977510ac
1
2
3
4
5
6
7
8
9
10
11
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>QIS_next_action_Confim</fullName>
    <active>true</active>
    <description>QIS对应方法确认</description>
    <errorConditionFormula>AND( 
TEXT(demo_purpose2__c) = &apos;索赔QIS&apos;,
TEXT(QIS_number__r.next_action__c) = &apos;送回&apos;)&amp;&amp;or(isnew(),text(Status__c)==&apos;草案中&apos;)&amp;&amp; Not(ischanged(Loaner_cancel_request__c)) &amp;&amp; 
$User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;</errorConditionFormula>
    <errorMessage>QIS的对应方法为“送回”,不可借用备品</errorMessage>
</ValidationRule>