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
24
25
26
27
28
29
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Salesdepartment_Dept__c</fullName>
    <description>診療科と販売店ともに考量しないといけないです。
/* 親の親が病院 */
IF(Parent.Parent.RecordTypeId = &apos;01210000000QemG&apos;,
  Parent.Parent.Salesdepartment_HP__c,
/* 親が販売店 */
IF(Parent.RecordTypeId = &apos;01210000000Qem1&apos;,
  Sales_Department_Official__c,
/* else */
  &quot;&quot;
))</description>
    <externalId>false</externalId>
    <formula>/* 親の親が病院 */
IF(Parent.Parent.RecordTypeId = &apos;01210000000QemG&apos;,
  Parent.Parent.Salesdepartment_HP__c,
/* 親が販売店 */
IF(Parent.RecordTypeId = &apos;01210000000Qem1&apos;,
  Salesdepartment_HP__c,
/* else */
  &quot;&quot;
))</formula>
    <label>销售本部(科室)</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <type>Text</type>
    <unique>false</unique>
</CustomField>