binxie
2024-01-20 1d91be0be5220ce19ee64de5a5c9a8237b1c15b1
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Gurantee_End_Period__c</fullName>
    <description>IF((30&lt;=Gurantee_End_day1__c&amp;&amp; Gurantee_End_day1__c&lt; 90), &apos;已到期1个月&apos;,
IF((90&lt;=Gurantee_End_day1__c&amp;&amp; Gurantee_End_day1__c&lt; 180), &apos;已到期3个月&apos;,
IF((180&lt;=Gurantee_End_day1__c&amp;&amp; Gurantee_End_day1__c&lt; 365), &apos;已到期6个月&apos;,
IF((365&lt;=Gurantee_End_day1__c), &apos;已到期1年&apos;,
IF(((-30)&lt;=Gurantee_End_day1__c&amp;&amp;!ISBLANK(Extend_Gurantee_DateTo__c)&amp;&amp;!ISBLANK(Gurantee_End_day1__c)) , &apos;到期前1个月&apos;,
IF(((-90)&lt;Gurantee_End_day1__c&amp;&amp;Gurantee_End_day1__c&lt;=-30&amp;&amp;!ISBLANK(Extend_Gurantee_DateTo__c) &amp;&amp;!ISBLANK(Gurantee_End_day1__c)), &apos;到期前3个月&apos;,
IF(((-180)&lt;Gurantee_End_day1__c&amp;&amp;Gurantee_End_day1__c&lt;=-90&amp;&amp;!ISBLANK(Extend_Gurantee_DateTo__c)&amp;&amp;!ISBLANK(Gurantee_End_day1__c)), &apos;到期前6个月&apos;,
IF((-365)&lt;Gurantee_End_day1__c&amp;&amp;!ISBLANK(Extend_Gurantee_DateTo__c)&amp;&amp;!ISBLANK(Gurantee_End_day1__c), &apos;到期前1年&apos;, &apos;&apos;))))))))        
历史逻辑</description>
    <externalId>false</externalId>
    <formula>IF(Gurantee_End_day__c&gt;0, IF((30&lt;=Gurantee_End_day__c&amp;&amp; Gurantee_End_day__c&lt; 90&amp;&amp;!ISBLANK(Gurantee_End_day__c)), &apos;已到期1个月&apos;,
IF(( Gurantee_End_day__c&lt; 180&amp;&amp;!ISBLANK(Gurantee_End_day__c)), &apos;已到期3个月&apos;,
IF((Gurantee_End_day__c&lt; 365&amp;&amp;!ISBLANK(Gurantee_End_day__c)), &apos;已到期6个月&apos;,
IF((365&lt;=Gurantee_End_day__c&amp;&amp;!ISBLANK(Gurantee_End_day__c)), &apos;已到期1年&apos;,
&apos;&apos;)))),IF(((-30)&lt;=Gurantee_End_day__c&amp;&amp;!ISBLANK(Extend_Gurantee_DateTo__c)&amp;&amp;!ISBLANK(Gurantee_End_day__c)) , &apos;到期前1个月&apos;,
IF(((-90)&lt;Gurantee_End_day__c&amp;&amp;!ISBLANK(Extend_Gurantee_DateTo__c) &amp;&amp;!ISBLANK(Gurantee_End_day__c)), &apos;到期前3个月&apos;,
IF(((-180)&lt;Gurantee_End_day__c&amp;&amp;!ISBLANK(Extend_Gurantee_DateTo__c)&amp;&amp;!ISBLANK(Gurantee_End_day__c)), &apos;到期前6个月&apos;,
IF((-365)&lt;Gurantee_End_day__c&amp;&amp;!ISBLANK(Extend_Gurantee_DateTo__c)&amp;&amp;!ISBLANK(Gurantee_End_day__c), &apos;到期前1年&apos;, &apos;&apos;)))))</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>距多年保修结束周期</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <type>Text</type>
    <unique>false</unique>
</CustomField>