高章伟
2022-03-22 a191c8358b35f54342da53db820ede118720230a
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Cannot_Change_HP</fullName>
    <active>true</active>
    <description>WLIG-BWCC8L 课题切换客户时,曾经暂时加上系统管理员简档2020-12-17</description>
    <errorConditionFormula>(NOT(ISNEW()) &amp;&amp; PRIORVALUE(Hospital__c)  != Hospital__c &amp;&amp; Estimation_Id__c != null) &amp;&amp;!$User.Batch_User__c</errorConditionFormula>
    <errorMessage>有了维修合同报价之后,不能更改到别的医院</errorMessage>
</ValidationRule>