|  |  |  | 
|---|
|  |  |  | <lookupFilter> | 
|---|
|  |  |  | <active>true</active> | 
|---|
|  |  |  | <filterItems> | 
|---|
|  |  |  | <field>Opportunity.Department_Class__c</field> | 
|---|
|  |  |  | <field>Opportunity.Hospital__c</field> | 
|---|
|  |  |  | <operation>equals</operation> | 
|---|
|  |  |  | <valueField>$Source.Department_Class__c</valueField> | 
|---|
|  |  |  | <valueField>$Source.Hospital__c</valueField> | 
|---|
|  |  |  | </filterItems> | 
|---|
|  |  |  | <filterItems> | 
|---|
|  |  |  | <field>Opportunity.StageName__c</field> | 
|---|
|  |  |  | 
|---|
|  |  |  | <value>完毕,失单,取消</value> | 
|---|
|  |  |  | </filterItems> | 
|---|
|  |  |  | <filterItems> | 
|---|
|  |  |  | <field>$Source.Department_Class__c</field> | 
|---|
|  |  |  | <field>$Source.Hospital__c</field> | 
|---|
|  |  |  | <operation>notEqual</operation> | 
|---|
|  |  |  | <value></value> | 
|---|
|  |  |  | </filterItems> | 
|---|
|  |  |  | <isOptional>false</isOptional> | 
|---|
|  |  |  | </lookupFilter> | 
|---|
|  |  |  | <referenceTo>Opportunity</referenceTo> | 
|---|
|  |  |  | <relationshipLabel>产品咨询单</relationshipLabel> | 
|---|
|  |  |  | <relationshipName>Opp_Name_Search1</relationshipName> | 
|---|
|  |  |  | <required>false</required> | 
|---|
|  |  |  | <trackHistory>false</trackHistory> | 
|---|
|  |  |  | <trackTrending>false</trackTrending> | 
|---|
|  |  |  | <type>Lookup</type> | 
|---|
|  |  |  | </CustomField> | 
|---|