binxie
2024-01-20 2ff0f0a7ab276c3466d9e06e14222db802194efc
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>Disclose_respect_ENDO</fullName>
        <description>产品资料公开申请-ENDO-</description>
        <protected>false</protected>
        <recipients>
            <recipient>xiaoli_yang@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/Service_contract_comfirm_request</template>
    </alerts>
    <alerts>
        <fullName>Disclose_respect_GI</fullName>
        <description>产品资料公开申请-GI-</description>
        <protected>false</protected>
        <recipients>
            <recipient>it_prectech@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/Service_contract_comfirm_request</template>
    </alerts>
    <alerts>
        <fullName>Disclose_respect_SP</fullName>
        <description>产品资料公开申请-SP-</description>
        <protected>false</protected>
        <recipients>
            <recipient>weiliang_li@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/Service_contract_comfirm_request</template>
    </alerts>
    <alerts>
        <fullName>Disclose_respect_education</fullName>
        <description>产品资料公开申请-教育-</description>
        <protected>false</protected>
        <recipients>
            <recipient>Te2am_member</recipient>
            <type>group</type>
        </recipients>
        <recipients>
            <recipient>zhenlei_du@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/Service_contract_comfirm_request</template>
    </alerts>
    <alerts>
        <fullName>Product_material_deleate_request</fullName>
        <description>产品资料删除申请</description>
        <protected>false</protected>
        <recipients>
            <recipient>manli_wu@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <recipients>
            <recipient>weiliang_li@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/Product_material_deleate_request</template>
    </alerts>
    <fieldUpdates>
        <fullName>Job_category_text</fullName>
        <field>job_category_text__c</field>
        <formula>job_category__c</formula>
        <name>职种文本化</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Product_Documentation_Name</fullName>
        <field>Name</field>
        <formula>&quot;PD-&quot; + Text(Product_category__c) + &quot;-&quot; + Document_No__c</formula>
        <name>产品资料名设定</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Product_material_open_text</fullName>
        <field>Open_target_text__c</field>
        <formula>Text(Open_target__c)</formula>
        <name>资料可视范围文本化</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Product_material_stage_text</fullName>
        <description>产品资料状态文本化</description>
        <field>Material_status_text__c</field>
        <formula>Text(Material_status__c)</formula>
        <name>产品资料状态文本化</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Productmaterial_status_submit</fullName>
        <field>Material_status__c</field>
        <literalValue>申请中</literalValue>
        <name>设定-产品资料状态 申请中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Set_close_day</fullName>
        <field>Material_closed_day__c</field>
        <formula>today()</formula>
        <name>设定-公开结束日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Set_open_day</fullName>
        <field>Material_open_day__c</field>
        <formula>today()</formula>
        <name>设定-产品资料公开日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Set_status_open</fullName>
        <field>Material_status__c</field>
        <literalValue>公开中</literalValue>
        <name>设定-状态更新到公开中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Set_submit_day</fullName>
        <field>Submit_day__c</field>
        <formula>today()</formula>
        <name>设定-公开申请日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Set_submit_day_blank</fullName>
        <field>Submit_day__c</field>
        <name>设定-申请日(空)</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Null</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Status_change_close</fullName>
        <field>Material_status__c</field>
        <literalValue>公开结束</literalValue>
        <name>设定-状态(公开结束)</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>set_status_draft</fullName>
        <field>Material_status__c</field>
        <literalValue>准备中</literalValue>
        <name>设定-状态草案</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>产品资料公开结束日</fullName>
        <actions>
            <name>Set_close_day</name>
            <type>FieldUpdate</type>
        </actions>
        <actions>
            <name>Status_change_close</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>Product_Documentation__c.Close_material__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <criteriaItems>
            <field>Product_Documentation__c.Material_status__c</field>
            <operation>notEqual</operation>
            <value>公开结束</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>产品资料删除申请</fullName>
        <actions>
            <name>Product_material_deleate_request</name>
            <type>Alert</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>Product_Documentation__c.Material_deleate_request__c</field>
            <operation>equals</operation>
            <value>真</value>
        </criteriaItems>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>产品资料名设定</fullName>
        <actions>
            <name>Product_Documentation_Name</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>Isnew() || Ischanged(Product_category__c)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>产品资料状态文本化</fullName>
        <actions>
            <name>Job_category_text</name>
            <type>FieldUpdate</type>
        </actions>
        <actions>
            <name>Product_material_stage_text</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>True</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
</Workflow>