buli
2023-06-27 8e07b5f23afd4c93d7e8d1f04d2e8dbca2628e5e
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>OCSMProvince__c</fullName>
    <description>逻辑待确认</description>
    <externalId>false</externalId>
    <formula>CASE(IF(LEN(AreaProvince__c)&gt;2,LEFT(AreaProvince__c,2),AreaProvince__c),
&quot;内蒙&quot;,&quot;内蒙古&quot;,
&quot;黑龙&quot;,&quot;黑龙江&quot;,
&quot;西藏&quot;,&quot;四川/西藏&quot;,
&quot;四川&quot;,&quot;四川/西藏&quot;,
&quot;辽宁&quot;,
IF(BEGINS(AreaCity__c,&quot;鞍山&quot;) ||
BEGINS(AreaCity__c,&quot;大连&quot;) ||
BEGINS(AreaCity__c,&quot;丹东&quot;) ||
BEGINS(AreaCity__c,&quot;盘锦&quot;) ||
BEGINS(AreaCity__c,&quot;营口&quot;),&quot;大连&quot;,&quot;沈阳&quot;),
&quot;广东&quot;,
IF(BEGINS(AreaCity__c,&quot;深圳&quot;) ||
BEGINS(AreaCity__c,&quot;中山&quot;) ||
BEGINS(AreaCity__c,&quot;潮州&quot;) ||
BEGINS(AreaCity__c,&quot;梅州&quot;) ||
BEGINS(AreaCity__c,&quot;珠海&quot;) ||
BEGINS(AreaCity__c,&quot;惠州&quot;) ||
BEGINS(AreaCity__c,&quot;汕尾&quot;) ||
BEGINS(AreaCity__c,&quot;汕头&quot;) ||
BEGINS(AreaCity__c,&quot;揭阳&quot;) ||
BEGINS(AreaCity__c,&quot;河源&quot;),&quot;深圳&quot;,&quot;广东&quot;),
IF(LEN(AreaProvince__c)&gt;2,LEFT(AreaProvince__c,2),AreaProvince__c))</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>OCSM管理省</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Text</type>
    <unique>false</unique>
</CustomField>