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