<?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:
|
修改整套欠品时,借出日期也计犯规点数
|
&& Rental_Apply__r.DataMigration_Flag__c = FALSE</description>
|
<externalId>false</externalId>
|
<formula>IF(((Demo_purpose1__c!='维修代用'&&Demo_purpose2__c!='已购待货'&&Demo_purpose1__c!='协议借用')&&( NOT(ISBLANK(Bollow_Date__c))&& today()- Bollow_Date__c> 90&& (ISBLANK(Asset_return_day2__c) || (NOT(ISBLANK(Asset_return_day2__c)) && RetalFSetDetail_Cnt__c = Lost_product_cnt__c)
|
)
|
) && Rental_Apply__r.DataMigration_Flag__c = FALSE
|
)
|
||((Demo_purpose1__c=='维修代用'||Demo_purpose2__c=='已购待货'||Demo_purpose1__c=='协议借用')&&( NOT(ISBLANK(Bollow_Date__c))&&
|
(today()-Final_reply_day_text__c>=60)&& (ISBLANK(Asset_return_day2__c) || (NOT(ISBLANK(Asset_return_day2__c)) && RetalFSetDetail_Cnt__c = Lost_product_cnt__c
|
)
|
)
|
)),
|
VALUE( $Label.EquipmentRentalBlackListPoint),
|
IF( NOT(ISBLANK(Bollow_Date__c))&&today()> Final_reply_day_text__c && (ISBLANK(Asset_return_day2__c) || (NOT(ISBLANK(Asset_return_day2__c)) && RetalFSetDetail_Cnt__c = Lost_product_cnt__c)
|
)&& 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>
|