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_government_department</fullName>
    <active>true</active>
    <description>医院批准后不能修改政府部门</description>
    <errorConditionFormula>AND (
ISCHANGED(government_department__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>government_department__c</errorDisplayField>
    <errorMessage>医院批准后助理不能修改政府部门</errorMessage>
</ValidationRule>