涂煌豪
2022-05-06 ff435968945d457f9ee653a9620fa1c7d78d2d4c
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Cannot_Change_When_Cancel</fullName>
    <active>true</active>
    <errorConditionFormula>ISCHANGED(Cancel_Select__c)  == false
&amp;&amp; Cancel_Select__c = true
&amp;&amp; (ISCHANGED(Select_Time__c)
          || ISCHANGED(Shipment_request_time2__c)
          || ISCHANGED(Shipment_request__c)
          || ISCHANGED(Asset__c)
      ) &amp;&amp; ($User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;)</errorConditionFormula>
    <errorMessage>已经取消的明细不可以更新,请重新刷新画面再操作。</errorMessage>
</ValidationRule>