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