<?xml version="1.0" encoding="UTF-8"?>
|
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>InspectionCard_NoHave__c</fullName>
|
<description>商检证显示:
|
* 如果商检证(后台)不等于空,则显示预览/下载;
|
* 如果商检证(后台)等于空:
|
如果国内采购品=真 且商检证=无----> 显示不要;
|
否则如果商检证(文本)等于不要,则显示不要;
|
否则如果国内采购品=假 且 商检证(文本)不等于空,则显示=扫描日期+38个工作日
|
否则显示空;</description>
|
<externalId>false</externalId>
|
<formula>IF( ISBLANK( InspectionCard_Select__c ),
|
IF( AND(HomeBuy__c = TRUE,TEXT(Asset__r.Product2.InspectionCard__c)='无'),
|
'不要',
|
IF( InspectionCard__c = '不要',
|
'不要',
|
IF(HomeBuy__c = false,
|
IF(NOT(ISBLANK(InspectionCard__c)),
|
'预计'&text( NULLVALUE(ScanDate_select__r.After_38_WorkDay__c, DeliveryDate_select__r.After_38_WorkDay__c) )&'更新',
|
IF(NOT(ISBLANK(DeliveryDate_select__c)),
|
'预计'&text( DeliveryDate_select__r.After_38_WorkDay__c)&'更新',
|
''
|
)
|
),
|
''
|
)
|
)
|
),
|
InspectionCard_Select__r.ViewLink__c
|
)</formula>
|
<label>商检证标识</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</CustomField>
|