| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>Is_Active_Department_Class</fullName> |
| | | <active>false</active> |
| | | <active>true</active> |
| | | <description>看父记录,是医院,没有选相应的战略科室 ==> 报错</description> |
| | | <errorConditionFormula>AND(Text(Attached_category__c) = '客户提案',OR(Account_dept__r.Parent.RecordType_DeveloperName__c != "HP" , Account_dept__r.ParentId != Hospital__r.Id))</errorConditionFormula> |
| | | <errorDisplayField>Account_dept__c</errorDisplayField> |