<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>DateCheck</fullName>
|
<active>true</active>
|
<description>验证发货日期是否为空</description>
|
<errorConditionFormula>ISPICKVAL(Order_type__c, '订单' )&& Deliver_date__c = null</errorConditionFormula>
|
<errorDisplayField>Deliver_date__c</errorDisplayField>
|
<errorMessage>请选择希望发货日期</errorMessage>
|
</ValidationRule>
|