binxie
2024-01-20 1d91be0be5220ce19ee64de5a5c9a8237b1c15b1
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>Intra_Trade_Gurantee_RMB_Change</fullName>
        <description>多年保修计提价格发生变化</description>
        <protected>false</protected>
        <recipients>
            <recipient>mpdGuranteePrice</recipient>
            <type>group</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>MaintenanceProductData/MaintenanceProductDataChange</template>
    </alerts>
    <alerts>
        <fullName>MaintenanceProductDataAgree</fullName>
        <description>维护产品主数据审批同意</description>
        <protected>false</protected>
        <recipients>
            <field>ApplyPersion__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>MaintenanceProductData/MaintenanceProductDataAgree</template>
    </alerts>
    <alerts>
        <fullName>MaintenanceProductDataRefuse</fullName>
        <description>维护产品主数据审批驳回</description>
        <protected>false</protected>
        <recipients>
            <field>ApplyPersion__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>MaintenanceProductData/MaintenanceProductDataRefuse</template>
    </alerts>
    <alerts>
        <fullName>MaintenanceProductDataWrite</fullName>
        <description>维护产品主数据多年保主数据服务本部填写</description>
        <protected>false</protected>
        <recipients>
            <recipient>mpdGuranteeMain</recipient>
            <type>group</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>MaintenanceProductData/MaintenanceProductDataWrite</template>
    </alerts>
    <alerts>
        <fullName>NoDiscountOrTypeChange</fullName>
        <description>NoDiscount价格/多年保修类型发生改变</description>
        <protected>false</protected>
        <recipients>
            <recipient>mpdGuranteeMain1</recipient>
            <type>group</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>MaintenanceProductData/MaintenanceProductDataChange</template>
    </alerts>
    <fieldUpdates>
        <fullName>UpdatecompleteDate</fullName>
        <field>completeDate__c</field>
        <formula>NOW()</formula>
        <name>完成时间</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>mpdStatus0</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>更新状态-草案中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>mpdStatus2</fullName>
        <field>Status__c</field>
        <literalValue>审批中</literalValue>
        <name>更新状态-审批中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>mpdStatus3</fullName>
        <field>Status__c</field>
        <literalValue>完成</literalValue>
        <name>更新状态-完成</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>true</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>mpdStatus4</fullName>
        <field>Status__c</field>
        <literalValue>已驳回</literalValue>
        <name>更新状态-已驳回</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>mpdStatus5</fullName>
        <field>Status__c</field>
        <literalValue>审批中-服务</literalValue>
        <name>更新状态-审批中-服务</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>mpdStatus6</fullName>
        <field>Status__c</field>
        <literalValue>服务填写</literalValue>
        <name>更新状态-服务填写</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>NoDiscount价格%2F多年保修类型发生改变</fullName>
        <actions>
            <name>NoDiscountOrTypeChange</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <booleanFilter>1 AND ( 2 OR 3)</booleanFilter>
        <criteriaItems>
            <field>Maintenance_Product_Data__c.Status__c</field>
            <operation>equals</operation>
            <value>完成</value>
        </criteriaItems>
        <criteriaItems>
            <field>Maintenance_Product_Data__c.GuranteeType_Sum__c</field>
            <operation>greaterThan</operation>
            <value>0</value>
        </criteriaItems>
        <criteriaItems>
            <field>Maintenance_Product_Data__c.Intra_Trade_Service_RMB_Sum__c</field>
            <operation>greaterThan</operation>
            <value>0</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>多年保修计提价格发生改变</fullName>
        <actions>
            <name>Intra_Trade_Gurantee_RMB_Change</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <booleanFilter>1 AND 2</booleanFilter>
        <criteriaItems>
            <field>Maintenance_Product_Data__c.Status__c</field>
            <operation>equals</operation>
            <value>完成</value>
        </criteriaItems>
        <criteriaItems>
            <field>Maintenance_Product_Data__c.Intra_Trade_Gurantee_RMB_Sum__c</field>
            <operation>greaterThan</operation>
            <value>0</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
</Workflow>