Li Jun
2022-04-08 ac719375874fd50fad5a11f8e04ac3329081bd0b
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Cannot_ChangeStockDown_WhenCancel</fullName>
    <active>true</active>
    <errorConditionFormula>DataMigration_Flag__c == false &amp;&amp; 
Cancel_Select__c &amp;&amp;
ISCHANGED(StockDown__c)</errorConditionFormula>
    <errorMessage>已经取消的明细不能修改下架信息</errorMessage>
</ValidationRule>