binxie
2024-01-22 102afa21c115e8c8b9333a326c3d1af08fe76faf
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>QuoteConfirmMail</fullName>
        <ccEmails>si_yingye@olympus.com.cn</ccEmails>
        <description>报价确认后发送的邮件</description>
        <protected>false</protected>
        <recipients>
            <field>Majordomo_Sell__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>Manager_Sell__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>Minister_Sell__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>OpporsAssistance__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>Opportunity_sub_owner__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/QuoteConfirmEmailTemplate</template>
    </alerts>
    <fieldUpdates>
        <fullName>UpdateQuoteCreatedDate</fullName>
        <field>Quote_CreatedDate__c</field>
        <formula>today()</formula>
        <name>报价作成日更新</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateQuoteDecisionDate</fullName>
        <field>Quote_Decision_Date__c</field>
        <formula>today()</formula>
        <name>报价决定日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>报价作成时</fullName>
        <actions>
            <name>UpdateQuoteCreatedDate</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>Quote.Name</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <description>在询价作成时,动。</description>
        <triggerType>onCreateOnly</triggerType>
    </rules>
    <rules>
        <fullName>报价决定时</fullName>
        <actions>
            <name>UpdateQuoteDecisionDate</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <criteriaItems>
            <field>Quote.Quote_Decision__c</field>
            <operation>equals</operation>
            <value>√</value>
        </criteriaItems>
        <description>在报价决定时,动。  &lt;== 動かないですよ by katsu 20141203</description>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>报价确认邮件</fullName>
        <actions>
            <name>QuoteConfirmMail</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <formula>Not(isNull(Queto_Confirm_Date__c))&amp;&amp;
 isNull(PRIORVALUE(Queto_Confirm_Date__c ))</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
</Workflow>