Li Jun
2022-04-27 f90c63155656928b86f1ce1d91a134de3d12d2b9
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Set_Borrow_Date_Fouls__c</fullName>
    <description>20180320:
修改整套欠品时,借出日期也计犯规点数
&amp;&amp; Rental_Apply__r.DataMigration_Flag__c  = FALSE</description>
    <externalId>false</externalId>
    <formula>IF(((Demo_purpose1__c!=&apos;维修代用&apos;&amp;&amp;Demo_purpose2__c!=&apos;已购待货&apos;&amp;&amp;Demo_purpose1__c!=&apos;协议借用&apos;)&amp;&amp;( NOT(ISBLANK(Bollow_Date__c))&amp;&amp; today()- Bollow_Date__c&gt; 90&amp;&amp; (ISBLANK(Asset_return_day2__c) || (NOT(ISBLANK(Asset_return_day2__c)) &amp;&amp; RetalFSetDetail_Cnt__c = Lost_product_cnt__c)
 )
) &amp;&amp; Rental_Apply__r.DataMigration_Flag__c  = FALSE
)
||((Demo_purpose1__c==&apos;维修代用&apos;||Demo_purpose2__c==&apos;已购待货&apos;||Demo_purpose1__c==&apos;协议借用&apos;)&amp;&amp;( NOT(ISBLANK(Bollow_Date__c))&amp;&amp; 
(today()-Final_reply_day_text__c&gt;=60)&amp;&amp; (ISBLANK(Asset_return_day2__c) || (NOT(ISBLANK(Asset_return_day2__c)) &amp;&amp; RetalFSetDetail_Cnt__c = Lost_product_cnt__c
)
)
 )), 
VALUE( $Label.EquipmentRentalBlackListPoint), 
IF( NOT(ISBLANK(Bollow_Date__c))&amp;&amp;today()&gt; Final_reply_day_text__c &amp;&amp; (ISBLANK(Asset_return_day2__c)  || (NOT(ISBLANK(Asset_return_day2__c)) &amp;&amp; RetalFSetDetail_Cnt__c = Lost_product_cnt__c)
)&amp;&amp; Rental_Apply__r.DataMigration_Flag__c  = FALSE
VALUE( $Label.EquipmentRentalBlackListPoint_1),0))</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>借出日期犯规点数</label>
    <precision>18</precision>
    <required>false</required>
    <scale>2</scale>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Number</type>
    <unique>false</unique>
</CustomField>