<?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 &&
|
Text(Status__c)='计划中'&&(ISCHANGED( Account_Laboratory__c ) || ISCHANGED( NoOpp_Reason__c ) ||ISCHANGED( Related_Opportunity1_ID__c) || ISCHANGED( Related_Opportunity2_ID__c))</errorConditionFormula>
|
<errorMessage>OPD计划状态为计划中,科室、询价1、无询价理由 不允许变更</errorMessage>
|
</ValidationRule>
|