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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
| <?xml version="1.0" encoding="UTF-8"?>
| <CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
| <fullName>TAS_Status__c</fullName>
| <externalId>false</externalId>
| <formula>IF (AND(Cancel_Select__c, NOT(NG_Select_Again__c)), '取消',
| IF(Not(OR(TransferApply__r.Status_Text__c == '已批准', TransferApply__r.Status_Text__c == '已出库指示')), TransferApply__r.TA_Status_Text__c,
| IF(Not(TransferDetail_Cnt__c> 0), '待下架', /* 没有明细 */
| IF(TransferDetail_Cnt__c = Lost_item_giveup_Number__c, '丢失',
| IF (Wei_Arrival_in_wh__c == 0, IF(TransferApply__r.RecordType.DeveloperName == 'CenterToOther', '已出库', '已入库'),
| IF(Wei_Return__c > 0, IF(NG_Not_Return__c > 0 && Lost_product_cnt__c == 0, '收货NG',
| IF (AND(Inspection_after_ng_cnt__c > 0 , Lost_product_cnt__c = 0), '收货后检测NG',
| IF (Wei_Inspection_result_after_F__c == 0, '收货后已检测',
| IF (Wei_CDS_complete__c == 0, '收货后已CDS',
| IF (Wei_Received_loaner__c == 0, IF(Number_of_NG_received__c > 0, IF(Wei_Return__c == 0, '已回收', '收货NG'), '已收货'),
| IF (Wei_Consumption_Cnt__c = 0, '已收货', /* 全部消耗的时候,一览状态为已回收 */
| IF (Lost_product_cnt__c > 0, '欠品中',
| IF (Wei_Return__c == 0, '已回寄',
| IF (Wei_loaner_arranged__c == 0, IF ( OR(ISPICKVAL(Received_Confirm__c, 'OK') ,ISPICKVAL(Received_Confirm__c, '默认签收-OK')), '申请者已收货',
| IF (ISPICKVAL(Received_Confirm__c, 'NG'), '申请者收货NG',
| '已出库')),
| IF (Inspection_not_finish__c == 0, '出库前已检测',
| IF (Wei_StockDown__c == 0, '已下架',
| IF (Wei_Shipment_request__c == 0, IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'),
| IF (Wei_Assigned_Cnt__c == 0, IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'),
| IF (Wei_Request_approve_finish__c > 0, Text(TransferApply__r.Add_Approval_Status__c),IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'))
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| ),
| IF (AND(NGInspection_after_ng_cnt__c > 0 , Lost_product_cnt__c = 0), '回收后检测NG',
| IF (NGWei_Inspection_result_after_F__c == 0, '回收后已检测',
| IF (NGWei_CDS_complete__c == 0, '回收后已CDS',
| IF (NGWei_Received_loaner__c == 0, '已回收',
| IF (Lost_product_cnt__c > 0, '欠品中',
| IF (Wei_Return__c == 0, '已回寄',
| IF (Wei_loaner_arranged__c == 0, IF ( OR(ISPICKVAL(Received_Confirm__c, 'OK') ,ISPICKVAL(Received_Confirm__c, '默认签收-OK')), '申请者已收货',
| IF (ISPICKVAL(Received_Confirm__c, 'NG'), '申请者收货NG',
| '已出库')),
| IF (Inspection_not_finish__c == 0, '出库前已检测',
| IF (Wei_StockDown__c == 0, '已下架',
| IF (Wei_Shipment_request__c == 0, IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'),
| IF (Wei_Assigned_Cnt__c == 0, IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'),
| IF (Wei_Request_approve_finish__c > 0, Text(TransferApply__r.Add_Approval_Status__c),IF( TransferApply__r.RecordType.DeveloperName == 'InsideCenter', '已更新','待下架'))
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )
| )</formula>
| <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
| <label>调拨单一览状态</label>
| <required>false</required>
| <trackTrending>false</trackTrending>
| <type>Text</type>
| <unique>false</unique>
| </CustomField>
|
|