<?xml version="1.0" encoding="UTF-8"?> 
 | 
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>HospitalAsset_Cannot_Change_Scrap_Check</fullName> 
 | 
    <active>false</active> 
 | 
    <description>20220331 gzw 跳过管理员</description> 
 | 
    <errorConditionFormula>$Profile.Id != '00e10000000dzzG' /* GPI_系统管理员New 不报错 */ 
 | 
&& 
 | 
$Profile.Id != '00eC600000003SX'/* GPI_系统管理员 不报错 */ 
 | 
&& 
 | 
$Profile.Id != '00eC800000005Cb' /* 系统管理员 不报错 */ 
 | 
&& 
 | 
$User.Id != '005C60000001UFN' /* Batch User 不报错 */ 
 | 
&& 
 | 
TEXT(Asset_Owner__c) = "病院資産"  
 | 
&& TEXT(Status) = "待报废"</errorConditionFormula> 
 | 
    <errorDisplayField>Status</errorDisplayField> 
 | 
    <errorMessage>医院资产不能选择待废弃</errorMessage> 
 | 
</ValidationRule> 
 |