| | |
| | | <?xml version="1.0" encoding="UTF-8"?> |
| | | <ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> |
| | | <fullName>Department_Name_Check</fullName> |
| | | <active>false</active> |
| | | <active>true</active> |
| | | <description>戦略科室の名称は変更できません</description> |
| | | <errorConditionFormula>RecordTypeId != '01210000000QemG' && ISBLANK(Parent.ParentId) && Parent.RecordTypeId = '01210000000QemG' && ISCHANGED(Name) && !Sys_Dept_Name_Change_Chk__c</errorConditionFormula> |
| | | <errorDisplayField>MaxActivityDate__c</errorDisplayField> |
| | | <errorDisplayField>Name</errorDisplayField> |
| | | <errorMessage>不能更改战略科室的客户名</errorMessage> |
| | | </ValidationRule> |