<?xml version="1.0" encoding="UTF-8"?> 
 | 
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>RN_Status__c</fullName> 
 | 
    <externalId>false</externalId> 
 | 
    <formula>IF(ReceivingNoteSummary_Cnt__c > 0, 
 | 
    IF(Wei_Arrival_in_wh_Cnt__c == 0, '已入库', 
 | 
        IF(Wei_Arrival_wh_Request_Cnt__c == 0, '已入库指示', 
 | 
            IF(Wei_DataConfirmationAgain_Cnt__c == 0, '待入库指示', 
 | 
                IF(Wei_Inspection_Cnt__c == 0, '已验收', 
 | 
                    IF(Wei_Acceptance_Cnt__c == 0, '已清点', 
 | 
                        IF(Wei_Received_Confirm_Cnt__c == 0 && Wei_DataConfirmation_Cnt__c == 0, '已收货确认', 
 | 
                            IF(Wei_DataConfirmation_Cnt__c == 0, '已数据确认', 
 | 
                                '待数据确认' 
 | 
                            ) 
 | 
                        ) 
 | 
                    ) 
 | 
                ) 
 | 
            ) 
 | 
        ) 
 | 
    ) 
 | 
    , '待数据确认' 
 | 
)</formula> 
 | 
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs> 
 | 
    <label>收货清单状态</label> 
 | 
    <required>false</required> 
 | 
    <trackHistory>false</trackHistory> 
 | 
    <trackTrending>false</trackTrending> 
 | 
    <type>Text</type> 
 | 
    <unique>false</unique> 
 | 
</CustomField> 
 |