binxie
2024-01-20 0a2fc19461a141fbbb2c303142afdee22c72daac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Not_Modify_Alias_Name2</fullName>
    <active>true</active>
    <description>医院批准后助理不能修改别名1和别名2</description>
    <errorConditionFormula>AND ( 
  ISCHANGED(Alias_Name2__c) ,
  OR ( $User.ProfileId=&apos;00e10000000xnpR&apos; ,
       $User.ProfileId=&apos;00e10000000xyK6&apos; , 
       $User.ProfileId=&apos;00e10000000NbCE&apos; ,
       $User.ProfileId=&apos;00e10000000xnpb&apos; ) ,  
  NOT ( ISBLANK ( Approved_Confirm_Date__c ) ) 
)</errorConditionFormula>
    <errorDisplayField>Alias_Name2__c</errorDisplayField>
    <errorMessage>医院批准后不能修改别名2</errorMessage>
</ValidationRule>