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