Li Jun
2022-04-13 5c01ebbfddb6b8674430b47c22977bea2e350084
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>Cannot_Change_When_After_Inspection</fullName>
    <active>true</active>
    <errorConditionFormula>DataMigration_Flag__c = false
&amp;&amp; NOT( ISPICKVAL(Change_Point__c, &apos;删除&apos;) )
&amp;&amp; NOT(ISBLANK(After_Inspection_time__c))
&amp;&amp; ISCHANGED(After_Inspection_time__c) = false
&amp;&amp; ISCHANGED(AcceptanceTime__c)</errorConditionFormula>
    <errorMessage>验收后的收货清单配套一览明细不能变更清点时间</errorMessage>
</ValidationRule>