黄千龙
2023-02-02 389da49a4cf18d0971cc72a34c639b4b22ccd257
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>