Li Jun
2022-04-19 2f183a6b0a83ec3f7d35375d5d25d200efc2a3e1
1
2
3
4
5
6
7
8
9
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>IF_Status_jhz</fullName>
    <active>false</active>
    <description>OPD计划状态为计划中,科室、询价1、无询价理由 不允许变更</description>
    <errorConditionFormula>$User.Batch_User__c = false &amp;&amp;
Text(Status__c)=&apos;计划中&apos;&amp;&amp;(ISCHANGED( Account_Laboratory__c ) || ISCHANGED( NoOpp_Reason__c ) ||ISCHANGED(  Related_Opportunity1_ID__c) || ISCHANGED(  Related_Opportunity2_ID__c))</errorConditionFormula>
    <errorMessage>OPD计划状态为计划中,科室、询价1、无询价理由 不允许变更</errorMessage>
</ValidationRule>