<?xml version="1.0" encoding="UTF-8"?>
|
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>lastestMultiYearWarranty__c</fullName>
|
<description>1.如果外贸是4.1之前deceid的,则默认取消多年保修 置为false
|
2.产品为服务多年保修时,则为真;
|
3.产品为市场多年保修时, (取消并且不可取消多年保为假),为假,否则为真
|
4、其他情况不是多年保修;</description>
|
<externalId>false</externalId>
|
<formula>if (Text(QuantityId__r.Opportunity.Trade__c) = '外貿' && QuantityId__r.Opportunity.DecideQuoteDate__c < DATEVALUE($Label.GuaranteeUSD), false,
|
if (Product2__r.GuranteeType__c = '服务', true,
|
if (Product2__r.GuranteeType__c = '市场',
|
if ((QuantityId__r.Opportunity.multiYearWarranty__c && CanNotCancelFlag__c = false), false, true), false)))</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>多年保修(最新)</label>
|
<trackTrending>false</trackTrending>
|
<type>Checkbox</type>
|
</CustomField>
|