binxie
2024-01-20 0a2fc19461a141fbbb2c303142afdee22c72daac
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<ValidationRule xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Hosp_Effective_Check</fullName>
    <active>true</active>
    <errorConditionFormula>AND(Opportunity_on_count__c &gt; 0,
 Parent.Parent.RecordTypeId = &apos;01210000000QemG&apos;,
  ISCHANGED(Is_Active__c),
 TEXT(Is_Active__c) = &apos;無効&apos;)</errorConditionFormula>
    <errorMessage>有状态不是完毕的询价,不允许医院做无效操作。</errorMessage>
</ValidationRule>