binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
1
2
3
4
5
6
7
8
9
<?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 != &apos;00e10000000Y3o5&apos; &amp;&amp; $Profile.Id != &apos;00e10000000dEQx&apos; &amp;&amp; 
TEXT(OfficeCategory__c) &lt;&gt; &apos;其他&apos; &amp;&amp; NOT(ISBLANK( OfficeCategoryOther__c))</errorConditionFormula>
    <errorDisplayField>OfficeCategoryOther__c</errorDisplayField>
    <errorMessage>只有科室分类是其他时,其他科室分类才可以填写!</errorMessage>
</ValidationRule>