binxie
2024-01-20 1d91be0be5220ce19ee64de5a5c9a8237b1c15b1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Guarantee_period_formula__c</fullName>
    <description>if(AssetMark__c=&apos;耗材&apos;,Posting_Date__c,
IF( AND( Not(ISBLANK(EntryDate__c)) ,EntryDate__c &lt;= Posting_Date__c +100) ,
ADDMONTHS( InstallDate , Guarantee_period_year__c * 12 ) ,
ADDMONTHS( Posting_Date__c , Guarantee_period_year__c * 12 ) + 7))</description>
    <externalId>false</externalId>
    <formula>if(AssetMark__c=&apos;耗材&apos;,
   Posting_Date__c,
ADDMONTHS( InstallDate__c , Guarantee_period_year__c * 12 ))</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>保修期限(公式)</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <type>Date</type>
</CustomField>