<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Cannot_check_when_no_cds</fullName>
|
<active>true</active>
|
<description>回库检查前,必须先进行CDS</description>
|
<errorConditionFormula>(Not(IsBlank(Shippment_loaner_time_F__c)))
|
&& (CDS_complete__c = false && Not(IsBlank(After_Inspection_time_F__c))) && ($User.ProfileId <>'00e10000000Y3o5')</errorConditionFormula>
|
<errorMessage>回库检查前,必须先进行CDS</errorMessage>
|
</ValidationRule>
|