binxie
2024-01-20 0a2fc19461a141fbbb2c303142afdee22c72daac
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
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
    <fullName>Monthly3_ship_target_stock__c</fullName>
    <description>IF(AND( 
StageName__c=&quot;询价&quot;, 
CloseDate &lt;= (DATE(YEAR(today()),MONTH(Today())+4,01)-1), 
OR( 
Status_Formula_Text__c =&quot;08 已签约&quot;, 
Status_Formula_Text__c =&quot;07 用户已签约&quot;, 
Status_Formula_Text__c =&quot;06 用户未签约&quot;, 
Status_Formula_Text__c =&quot;05 价格申请中&quot;, 
Status_Formula_Text__c =&quot;04 已中标&quot;, 
Status_Formula_Text__c =&quot;03 已授权&quot;)
),True,False)
20221125 之前
IF(AND( 
StageName__c=&quot;询价&quot;, 
CloseDate &lt;= IF(MONTH(today()) = 9, DATE(YEAR(today()), 12, 31),
  IF(MONTH(today()) = 10, DATE(YEAR(today()) + 1, 1, 31),
    IF(MONTH(today()) = 11, DATE(YEAR(today()) + 1, 3, 1) - 1,
      IF(MONTH(today()) = 12, DATE(YEAR(today()) + 1, 3, 31),
        DATE(YEAR(today()), MONTH(today()) + 4, 1) - 1
      )
    )
  )
), 
OR( 
Status_Formula_Text__c =&quot;08 已签约&quot;, 
Status_Formula_Text__c =&quot;07 用户已签约&quot;, 
Status_Formula_Text__c =&quot;06 用户未签约&quot;, 
Status_Formula_Text__c =&quot;05 价格申请中&quot;, 
Status_Formula_Text__c =&quot;04 已中标&quot;, 
Status_Formula_Text__c =&quot;03 已授权&quot;)
),True,False)</description>
    <externalId>false</externalId>
    <formula>IF(AND( 
StageName__c=&quot;询价&quot;, 
CloseDate &lt;= IF(MONTH(today()) = 9, DATE(YEAR(today()), 12, 31),
  IF(MONTH(today()) = 10, DATE(YEAR(today()) + 1, 1, 31),
    IF(MONTH(today()) = 11, DATE(YEAR(today()) + 1, 3, 1) - 1,
      IF(MONTH(today()) = 12, DATE(YEAR(today()) + 1, 3, 31),
        DATE(YEAR(today()), MONTH(today()) + 4, 1) - 1
      )
    )
  )
), 
OR( 
Status_Formula_Text__c =&quot;12 已签约&quot;, 
Status_Formula_Text__c =&quot;11 价格申请中&quot;, 
Status_Formula_Text__c =&quot;10 已中标&quot;, 
Status_Formula_Text__c =&quot;08 已授权&quot;)
),True,False)</formula>
    <formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
    <label>预测对象 : 3个月发货预测 可备货(公式)</label>
    <trackHistory>false</trackHistory>
    <trackTrending>false</trackTrending>
    <type>Checkbox</type>
</CustomField>