涂煌豪
2022-05-06 ff435968945d457f9ee653a9620fa1c7d78d2d4c
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
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Over_Loaner_Detail_Status__c</fullName>
    <externalId>false</externalId>
    <formula>IF(Lost_item_giveup__c = TRUE,&apos;遗失&apos;,
 
IF(
  AND(RAES_Final_reply_day__c &lt; TODAY(),
  Not(ISBLANK(Shipment_request_time2__c)),
  Not(ISBLANK(Bollow_Date__c)),  
  ISBLANK(Return_DeliverySlip__c)
  
  ),&apos;逾期出借&apos;,
 
IF(
  AND(RAES_Final_reply_day__c &gt;= TODAY(), 
  Not(ISBLANK(Shipment_request_time2__c)) ,
  Not(ISBLANK(Bollow_Date__c)),  
  ISBLANK(Return_DeliverySlip__c)
  ) ,&apos;正常出借&apos;,
 
IF( 
AND(NOT(ISBLANK(Shipment_request_time2__c)), 
Not(ISBLANK(Bollow_Date__c)),
NOT(ISBLANK(Return_DeliverySlip__c)),
RAES_Final_reply_day__c &lt; Asset_return_Day__c 
), &apos;逾期返回&apos;, 
 
IF( 
AND(NOT(ISBLANK(Shipment_request_time2__c)),
Not(ISBLANK(Bollow_Date__c)), 
NOT(ISBLANK(Return_DeliverySlip__c)), 
RAES_Final_reply_day__c &gt;= Asset_return_Day__c
), &apos;正常返回&apos;, &apos;&apos;
)
)
)
)
)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>借出状态(明细)</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Text</type>
    <unique>false</unique>
</CustomField>