<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>CheckAgencyHospital</fullName>
|
<active>true</active>
|
<errorConditionFormula>And(isNew(),Agency_Hospital__r.Agency_Campaign_Obj__c=false)</errorConditionFormula>
|
<errorDisplayField>Agency_Hospital__c</errorDisplayField>
|
<errorMessage>经销商医院必须是经销商活动对象。</errorMessage>
|
</ValidationRule>
|