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
  | <?xml version="1.0" encoding="UTF-8"?> 
 |  <CustomField xmlns="http://soap.sforce.com/2006/04/metadata"> 
 |      <fullName>Shipment_Status_F__c</fullName> 
 |      <externalId>false</externalId> 
 |      <formula>IF (NOT( ISBLANK(DeliverySlip__c)), '已出库', 
 |      IF (OR(ISPICKVAL(Inspection_result__c, 'OK'),ISPICKVAL(Inspection_result__c, '现场出借')), '出库前已检测', 
 |          IF (ISPICKVAL(Inspection_result__c, 'NG'), 
 |              IF (ISPICKVAL(Inspection_result_ng__c, '维修'), Repair_Status_Text__c, 
 |                  IF (Arrival_in_wh__c, '待废弃', 
 |                     '待移至报废区' 
 |                  ) 
 |              ), 
 |              IF (StockDown__c, '已下架', 
 |                 IF (Cancel_Select__c, '取消', 
 |                      IF (NOT( ISBLANK(Shipment_request_time2__c)), '已出库指示', 
 |                          IF(ISPICKVAL(TransferApply__r.Add_Approval_Status__c, '已批准'), IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'), 
 |                              IF(ApplyPersonAppended_F__c, 
 |                                  IF(ISBLANK(Add_Request_approval_time__c), 
 |                                      IF(ISBLANK(Add_Request_demo_time__c), '草案中', '申请中'), 
 |                                     IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架') 
 |                                  ), 
 |                                  IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架') 
 |                              ) 
 |                          ) 
 |                      ) 
 |                  ) 
 |              ) 
 |          ) 
 |      ) 
 |  )</formula> 
 |      <label>出库前状态</label> 
 |      <required>false</required> 
 |      <trackTrending>false</trackTrending> 
 |      <type>Text</type> 
 |      <unique>false</unique> 
 |  </CustomField> 
 |  
  |