张宇恒
2022-12-23 b4b8a2df1f478030bb321b6ac558f13fbbffbb07
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>DepartmentClass_Hospital_check</fullName>
    <active>true</active>
    <errorConditionFormula>Hospital__c &lt;&gt; Department_Class__r.ParentId</errorConditionFormula>
    <errorDisplayField>Department_Class__c</errorDisplayField>
    <errorMessage>战略科室不是医院下面的</errorMessage>
</ValidationRule>