<?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='00e10000000xnpR' ,
|
$User.ProfileId='00e10000000xyK6' ,
|
$User.ProfileId='00e10000000NbCE' ,
|
$User.ProfileId='00e10000000xnpb' ) ,
|
NOT ( ISBLANK ( Approved_Confirm_Date__c ) )
|
)</errorConditionFormula>
|
<errorDisplayField>Alias_Name2__c</errorDisplayField>
|
<errorMessage>医院批准后不能修改别名2</errorMessage>
|
</ValidationRule>
|