| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>DeptClass_IsEquals_Parent</fullName> |
| | | <active>false</active> |
| | | <active>true</active> |
| | | <description>// TODO Department_Class__r.Parent.RecordTypeId ==> Parent.Parent.RecordTypeId</description> |
| | | <errorConditionFormula>Not(IsBlank(Hospital__c)) && Parent.Parent.RecordTypeId = '01210000000QemG' && Department_Class__c <> ParentId</errorConditionFormula> |
| | | <errorMessage>战略科室分类要和母公司一样</errorMessage> |