<?xml version="1.0" encoding="UTF-8"?>
|
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Borrow_Date_Fouls__c</fullName>
|
<description>当备品申请单中的预计归还日为空时,如果超期 则不算违规--2016-11-4
|
2018/02/01:追加备品中心出库日不为空的条件
|
等Phase2优化后, 还要用的, 暂时不用</description>
|
<externalId>false</externalId>
|
<formula>IF(Request_return_day__c==null&&today()-Asset_loaner_closed_day__c>0,
|
0,
|
IF(((text(Demo_purpose1__c)!='维修代用'&&text(demo_purpose2__c)!='已购待货'&&text(Demo_purpose1__c)!='协议借用')&&( NOT(ISBLANK(Bollow_Date__c)) &&today()- Bollow_Date__c> 90&& (Asset_return_ng_num__c>0 || Lost_product_cnt__c = Rental_Apply_Equipment_Set_Detail_Cnt__c)) && DataMigration_Flag__c = FALSE
|
)
|
||
|
|
((text(Demo_purpose1__c)=='维修代用'||text(demo_purpose2__c)=='已购待货'||text(Demo_purpose1__c)=='协议借用')&&( NOT(ISBLANK(Bollow_Date__c))&&
|
(today()-Return_dadeline_final__c >=60)&& (Asset_return_ng_num__c>0 || Lost_product_cnt__c = Rental_Apply_Equipment_Set_Detail_Cnt__c ))
|
&& DataMigration_Flag__c = FALSE
|
),
|
VALUE( $Label.EquipmentRentalBlackListPoint),
|
IF( NOT(ISBLANK(Bollow_Date__c))&&
|
today()> Return_dadeline_final__c && (Asset_return_ng_num__c>0 || Lost_product_cnt__c = Rental_Apply_Equipment_Set_Detail_Cnt__c) && DataMigration_Flag__c = FALSE,
|
VALUE( $Label.EquipmentRentalBlackListPoint_1),0)))</formula>
|
<label>借出日期犯规点数</label>
|
<precision>18</precision>
|
<required>false</required>
|
<scale>2</scale>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Number</type>
|
<unique>false</unique>
|
</CustomField>
|