<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Check_UnCDS_For_UpLoad</fullName>
|
<active>true</active>
|
<description>没有进行CDS,不能上架</description>
|
<errorConditionFormula>OnStock_By_Cancel__c = false
|
&& IsBlank(CDS_complete_time__c)
|
&& Not(IsBlank(Shippment_loaner_time_F__c))
|
&& Arrival_in_wh__c == true &&
|
($User.ProfileId <>'00e10000000Y3o5')&&
|
($User.ProfileId <>'00e10000000xo1D')</errorConditionFormula>
|
<errorDisplayField>Arrival_in_wh__c</errorDisplayField>
|
<errorMessage>没有进行CDS,不能上架</errorMessage>
|
</ValidationRule>
|