<?xml version="1.0" encoding="UTF-8"?>
|
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Must_OfficeCategoryOther</fullName>
|
<active>true</active>
|
<errorConditionFormula>$Profile.Id != '00e10000000Y3o5' && $Profile.Id != '00e10000000dEQx' &&
|
TEXT(OfficeCategory__c) = '其他' && ISBLANK( OfficeCategoryOther__c )</errorConditionFormula>
|
<errorDisplayField>OfficeCategoryOther__c</errorDisplayField>
|
<errorMessage>科室分类是其他时,其他科室分类必须填写</errorMessage>
|
</ValidationRule>
|