Li Jun
2022-04-08 ac719375874fd50fad5a11f8e04ac3329081bd0b
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Inspection_result_notOK_cannot_Shippment</fullName>
    <active>true</active>
    <description>From 备品Set</description>
    <errorConditionFormula>DataMigration_Flag__c == false
&amp;&amp; Not($User.Batch_User__c)
&amp;&amp; (IsBlank(Text(Inspection_result__c)) || IsPickval(Inspection_result__c, &apos;NG&apos;) || IsBlank(StockDown_time__c))
&amp;&amp; ISCHANGED(DeliverySlip__c)
&amp;&amp; NOT(ISBLANK(DeliverySlip__c))</errorConditionFormula>
    <errorDisplayField>DeliverySlip__c</errorDisplayField>
    <errorMessage>发货前-检测结果不合格,不能出库。</errorMessage>
</ValidationRule>