binxie
2024-01-22 102afa21c115e8c8b9333a326c3d1af08fe76faf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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 = &apos;01210000000QemG&apos; || RecordTypeId = &apos;01210000000aLzZ&apos; ,
  Hospita_Salesdepartment_Text__c,
  IF(Parent.RecordTypeId = &apos;01210000000QemG&apos;,
    Parent.Hospita_Salesdepartment_Text__c,
    IF(Parent.Parent.RecordTypeId = &apos;01210000000QemG&apos;,
      Parent.Parent.Hospita_Salesdepartment_Text__c,
      &quot;&quot;
    )
  )
)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>医院销售本部(for validation)</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <type>Text</type>
    <unique>false</unique>
</CustomField>