<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Request_input_direct_shipping_address</fullName>
|
<active>true</active>
|
<description>AND(direct_send__c,ISBLANK(direct_shippment_address__c))</description>
|
<errorConditionFormula>(ISPICKVAL (direct_send__c,'医疗机构') || ISPICKVAL(direct_send__c,'经销商') || ISPICKVAL (direct_send__c,'会场地')) && ISBLANK(direct_shippment_address__c)</errorConditionFormula>
|
<errorDisplayField>direct_shippment_address__c</errorDisplayField>
|
<errorMessage>发送先如果是医疗机构、经销商或者会场地的话,直送地址为必须输入项目</errorMessage>
|
</ValidationRule>
|