binxie
2024-01-22 4688e276eee13cd2e521aa55afb5725cb0fda270
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>State__c</fullName>
    <description>2014年9月26日修改公式 = MB对应(担当人省)
/* 01210000000QekP == 目标的记录类型的Id */ 
IF(RecordTypeId = &quot;01210000000QekP&quot;, 
Text(SAP_Province__c), 
/* 01210000000QemG == 医院的记录类型的Id */ 
IF(Account.Parent.Parent.RecordTypeId = &quot;01210000000QemG&quot;, 
Account.State_Text__c, 
/* 01210000000Qem1 == 经销商的记录类型的Id */ 
IF(Account.Parent.RecordTypeId = &quot;01210000000Qem1&quot;, 
Account.State_Master__r.Name, 
&quot;&quot; 
)))</description>
    <externalId>false</externalId>
    <formula>/* 01210000000QekP == 目标的记录类型的Id */
IF(RecordTypeId = &quot;01210000000QekP&quot;,Owner.Province_address__c,
 
 
/* 01210000000QemG == 医院的记录类型的Id */
IF(Account.Parent.Parent.RecordTypeId = &quot;01210000000QemG&quot;,
    Account.State_Text__c,
/* 01210000000Qem1 == 经销商的记录类型的Id */
IF(Account.Parent.RecordTypeId = &quot;01210000000Qem1&quot;,
    Account.State_Master__r.Name,
 
 
 
    &quot;&quot;
)))</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>行政省</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Text</type>
    <unique>false</unique>
</CustomField>