<?xml version="1.0" encoding="UTF-8"?>
|
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Hospital_Salesdepartment_forvalid__c</fullName>
|
<description>20170920: 用于客户按医院销售本部看数据的共享规则</description>
|
<externalId>false</externalId>
|
<formula>IF(
|
RecordTypeId = '01210000000QemG' || RecordTypeId = '01210000000aLzZ' ,
|
Hospita_Salesdepartment_Text__c,
|
IF(Parent.RecordTypeId = '01210000000QemG',
|
Parent.Hospita_Salesdepartment_Text__c,
|
IF(Parent.Parent.RecordTypeId = '01210000000QemG',
|
Parent.Parent.Hospita_Salesdepartment_Text__c,
|
""
|
)
|
)
|
)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>医院销售本部(for validation)</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</CustomField>
|