Li Jun
2022-05-11 b776940205e893302f77d24c4285613f228b44c6
1
2
3
4
5
6
7
8
<?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>