<?xml version="1.0" encoding="UTF-8"?> 
 | 
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>TA_Status__c</fullName> 
 | 
    <externalId>false</externalId> 
 | 
    <formula>IF(TEXT(Status__c) = '取消','取消', 
 | 
    IF(TEXT(Status__c) = '删除','删除', 
 | 
        IF(AND(Cancel_Select__c > 0, Transfer_Apply_Equipment_Set_Cnt__c= 0), '取消', 
 | 
            IF(Not(OR(Status_Text__c == '已批准', Status_Text__c == '已出库指示')), TEXT(Status__c), 
 | 
                IF (ShelfUp_ng_num__c == 0, '完了', 
 | 
                    IF ( Wei_Received_loaner__c == 0, IF(Wei_Return__c == 0, '已回收', '已收货'), 
 | 
                        IF (AND(Lost_product_cnt__c > 0), '欠品中', 
 | 
                            IF ( Wei_Return__c == 0, '已回寄', 
 | 
                                IF (AND(Loaner_received_ng_num__c == 0, Shippment_ng_num__c == 0),'申请者已收货', 
 | 
                                    IF (Shippment_ng_num__c == 0, '已出库', 
 | 
                                        IF ( Pre_inspection_ng_num__c == 0, '出库前已检测', 
 | 
                                            IF ( StockDown_ng_num__c == 0, '已下架', 
 | 
                                                IF ( Wei_Shipment_request__c == 0,  IF(RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'), 
 | 
                                                    IF ( Wei_Assigned_Cnt__c == 0,  IF(RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'),   '已批准') 
 | 
                                                ) 
 | 
                                            ) 
 | 
                                        ) 
 | 
                                    ) 
 | 
                                ) 
 | 
                            ) 
 | 
                        ) 
 | 
                    ) 
 | 
                ) 
 | 
            ) 
 | 
        ) 
 | 
    ) 
 | 
)</formula> 
 | 
    <label>调拨单状态</label> 
 | 
    <required>false</required> 
 | 
    <trackHistory>false</trackHistory> 
 | 
    <trackTrending>false</trackTrending> 
 | 
    <type>Text</type> 
 | 
    <unique>false</unique> 
 | 
</CustomField> 
 |