Li Jun
2022-04-08 ac719375874fd50fad5a11f8e04ac3329081bd0b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?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(Pre_inspection_time__c)
          || ISCHANGED(Inspection_result__c)
          || ISCHANGED(Asset__c)
          || ISCHANGED(StockDown_time__c)
          || ISCHANGED(StockDown__c)
      ) &amp;&amp; ($User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;)</errorConditionFormula>
    <errorMessage>已经取消的明细不可以更新,请重新刷新画面再操作。</errorMessage>
</ValidationRule>