Li Jun
2022-04-27 f90c63155656928b86f1ce1d91a134de3d12d2b9
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_ChangeLost_When_Inspection</fullName>
    <active>true</active>
    <errorConditionFormula>DataMigration_Flag__c == false
&amp;&amp; ISNEW() == false
&amp;&amp; NOT(ISBLANK(After_Inspection_time_F__c))
/* 671 Start 因为测试程序会同时欠品和检测 */
&amp;&amp; NOT(ISCHANGED(After_Inspection_time_F__c))
/* 671 End */
&amp;&amp; (ISCHANGED(Lost_item_check_staff_F__c)
          || ISCHANGED(Lost_item_check_day_F__c)
          || ISCHANGED(Check_lost_Item_F__c)
          || ISCHANGED(Lost_item_Memo_F__c)
      )</errorConditionFormula>
    <errorMessage>做了收货检测的借出备品配套一览明细不能修改欠品确认信息</errorMessage>
</ValidationRule>