高章伟
2022-03-10 8db20630a2675ca14e03ccdee91c614397b5c964
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>Cannot_Change_When_Cancel</fullName>
    <active>true</active>
    <description>已经取消的明细不可以更新,请重新刷新画面再操作。</description>
    <errorConditionFormula>ISCHANGED(Cancel_Select__c) == false
&amp;&amp; Cancel_Select__c = true
&amp;&amp; (ISCHANGED(Shipment_request_time2__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>