binxie
2024-01-20 1d91be0be5220ce19ee64de5a5c9a8237b1c15b1
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Asset_situation__c</fullName>
    <description>2018/01/29: IT修改前
 
IF(Loaner_accsessary__c = true,&quot;有效&quot;,
  IF(TEXT(Status)=&quot;使用中&quot;
    , IF(Asset_active_check__c =0
      , IF(Draft_Repair_Count__c &gt; 0
        ,&quot;修理草案中&quot;
        ,&quot;有效&quot;
      )
      , IF(Repairing_Count__c &gt; 0
        ,&quot;修理中&quot;
        ,&quot;还没归还&quot;
      )
    )
    ,&quot;非稼动中&quot;
  )
)</description>
    <externalId>false</externalId>
    <formula>IF(AND(Loaner_accsessary__c = true,TEXT(Manage_type__c) = &apos;数量管理&apos;),&quot;有效&quot;,
 
  IF(TEXT(Status)=&quot;使用中&quot;
    , IF(Asset_active_check__c =0
      , IF(Draft_Repair_Count__c &gt; 0
        ,&quot;修理草案中&quot;
        ,&quot;有效&quot;
      )
      , IF(Repairing_Count__c &gt; 0
        ,&quot;修理中&quot;
        ,&quot;还没归还&quot;
      )
    )
    ,&quot;非稼动中&quot;
  )
)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>设备状态</label>
    <required>false</required>
    <trackHistory>false</trackHistory>
    <type>Text</type>
    <unique>false</unique>
</CustomField>