| <?xml version="1.0" encoding="UTF-8"?> | 
| <CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> | 
|     <fullName>ES_Status__c</fullName> | 
|     <description>IF(No_reply_flag__c, '未归还', | 
|   IF(InvalidCnt__c > 0, '無効' , | 
|     IF(RepairCntSerial__c > 0, '修理中' , | 
|       IF(RepairAbandonCntSerial__c > 0, '引当済' , | 
|         IF(MissingCntSerial__c > 0, '欠品中' , | 
|           IF(RepairCnt__c > 0, '引当可(付属品修理中)' , | 
|             IF(RepairAbandonCnt__c > 0, '引当可(付属品等待修理/废弃)' , | 
|               IF(MissingCnt__c > 0, '引当可(付属品欠品)' , | 
|                 IF(Provision_finish__c, '引当済', | 
|                 '引当可' | 
|                 ) | 
|               ) | 
|             ) | 
|           ) | 
|         ) | 
|       ) | 
|     ) | 
|   ) | 
| )</description> | 
|     <externalId>false</externalId> | 
|     <formula>IF(No_reply_flag__c, '未归还', | 
|   IF(InvalidCnt__c > 0, '无效' , | 
|     IF(Arrival_in_wh__c = false && ((Last_Reserve_Rental_Apply_Equipment_Set__r.Cancel_Select__c && Wait_for_Repair__c = 0 && Wait_for_Abandon__c = 0) || Inspection__c = 'OK'), IF(MissingCnt__c > 0, '需要上架(附属品欠品)', IF(Wait_for_Repair_All__c > 0 || Wait_for_Abandon_All__c > 0, '需要上架(付属品等待修理/废弃)', '需要上架')), | 
|       IF(RepairCntSerial__c = 0 && Repair_Sum_Update__c > 0 && (Wait_for_Repair__c > 0), '修理中' , | 
|         IF(RepairCntSerial__c > 0, '修理中' , | 
|           IF(Wait_for_Repair__c > 0, '需要修理' , | 
|             IF(FreezeCnt__c >0,'无效' , | 
|               IF(Wait_for_Abandon__c > 0, '待废弃' , | 
|                 IF(MissingCntSerial__c > 0, '欠品中' , | 
|                   IF(RepairCntExcSameRAES__c > 0, IF(Provision_finish__c, '引当済(付属品修理中)', '引当可(付属品修理中)') , | 
|                     IF(Wait_for_Repair_ExcSameRAES__c > 0 || Wait_for_Abandon_ExcSameRAES__c > 0, IF(Provision_finish__c, '引当済(付属品等待修理/废弃)', '引当可(付属品等待修理/废弃)') , | 
|                       IF(MissingCntExcSameRAES__c > 0, IF(Provision_finish__c, '引当済(付属品欠品)', '引当可(付属品欠品)') , | 
|                           IF(LoanerFreezeCnt__c > 0, IF(Provision_finish__c, '引当済(附属品冻结)', '引当可(附属品冻结)') , | 
|                           IF(Provision_finish__c, '引当済', | 
|                             '引当可' | 
|                           ) | 
|                         ) | 
|                       ) | 
|                     ) | 
|                   ) | 
|                 ) | 
|               ) | 
|             ) | 
|           ) | 
|         ) | 
|       ) | 
|     ) | 
|   ) | 
| )</formula> | 
|     <label>备品Set状态</label> | 
|     <required>false</required> | 
|     <trackHistory>false</trackHistory> | 
|     <trackTrending>false</trackTrending> | 
|     <type>Text</type> | 
|     <unique>false</unique> | 
| </CustomField> |