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