李彤
2022-05-30 115b1ebc6e433315a9835af24d4fe0f90343a3ca
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>DealerTypeOrg__c</fullName>
    <externalId>false</externalId>
    <formula>if(Or(isBlank(BilltoPartyNoAccount__c),
      BilltoPartyNoAccount__r.RecordType.DeveloperName != &apos;Agency&apos;),
   &apos;&apos;,
   case(Text(BilltoPartyNoAccount__r.Sales_Shop_Class__c),
        &quot;特約販売店(区域)&quot;, &quot;特约经销商(区域)&quot;,
        &quot;特約販売店(製品)&quot;, &quot;特约经销商(产品)&quot;,
        &quot;一級販売店&quot;, &quot;一级经销商&quot;,
        &quot;二級販売店&quot;, &quot;二级经销商&quot;,
        &quot;特約販売店(製品+区域)&quot;, &quot;特约经销商(产品+区域)&quot;,
        &quot;その他&quot;, &quot;其他&quot;,
        Text(BilltoPartyNoAccount__r.Sales_Shop_Class__c)))</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>经销商分类</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Text</type>
    <unique>false</unique>
</CustomField>