binxie
2024-01-20 e0de9222da210f9c8eb1a9f5400f936a14923e11
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
40
41
42
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Entend_gurantee_period_all__c</fullName>
    <description>先判断服务多年保修是否有值,按照选项赋值,否则使用市场多年保修期(年)的值
CASE(Text(Entend_gurantee_period__c),
 &apos;两年&apos;, 2, 
&apos;三年&apos;, 3,
&apos;四年&apos;, 4,
&apos;五年&apos;, 5,
 
CASE(Text(Entend_gurantee_period_MD__c),
 &apos;两年&apos;, 2, 
&apos;三年&apos;, 3,
&apos;四年&apos;, 4,
&apos;五年&apos;, 5,
 0
)
)</description>
    <externalId>false</externalId>
    <formula>if(GuranteeType__c  = &apos;服务&apos;,
CASE(Text(Entend_gurantee_period__c),
 &apos;两年&apos;, 2, 
&apos;三年&apos;, 3,
&apos;四年&apos;, 4,
&apos;五年&apos;, 5,
0),
CASE(Text(Entend_gurantee_period_MD__c),
 &apos;两年&apos;, 2, 
&apos;三年&apos;, 3,
&apos;四年&apos;, 4,
&apos;五年&apos;, 5,
 0
)
)</formula>
    <label>多年保修期(年)</label>
    <precision>18</precision>
    <required>false</required>
    <scale>0</scale>
    <trackHistory>false</trackHistory>
    <type>Number</type>
    <unique>false</unique>
</CustomField>