Li Jun
2022-04-08 ac719375874fd50fad5a11f8e04ac3329081bd0b
1
2
3
4
5
6
7
8
9
10
<?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>From 备品Set</description>
    <errorConditionFormula>DataMigration_Flag__c == false 
&amp;&amp; (Not(IsBlank(Shippment_loaner_time2__c)))
&amp;&amp; (CDS_complete__c = false &amp;&amp; Not(IsBlank(After_Inspection_time_F__c))) &amp;&amp; ($User.ProfileId &lt;&gt;&apos;00e10000000Y3o5&apos;)</errorConditionFormula>
    <errorMessage>回库检查前,必须先进行CDS</errorMessage>
</ValidationRule>