<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Check_NG_For_Un_Delivery</fullName>
|
<active>true</active>
|
<description>发货前检测结果NG,不能上架</description>
|
<errorConditionFormula>NOT( ISPICKVAL(Inspection_result_ng__c, '废弃'))
|
&& (Inspection_result_after_NG_F__c != '废弃')
|
&& IsBlank(Shippment_loaner_time_F__c)
|
&& (IsPickval(Inspection_result__c, 'NG'))
|
&& (Inspection_result_after_F__c != 'OK')
|
&& NOT(IsBlank(Arrival_wh_time__c))
|
&& ISCHANGED(Arrival_wh_time__c)</errorConditionFormula>
|
<errorDisplayField>Arrival_in_wh__c</errorDisplayField>
|
<errorMessage>发货前检测结果NG,不能上架</errorMessage>
|
</ValidationRule>
|