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
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
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>weekly_report_cc_other</fullName>
        <description>周报CC(服务以外)</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <recipients>
            <field>BuchangApprovalManagerSales__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>TongkuoZongjian__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>ZongjianApprovalManager__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/Weekly_report_submit</template>
    </alerts>
    <alerts>
        <fullName>weekly_report_cc_servles</fullName>
        <description>周报CC(服务)</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <recipients>
            <field>BuchangApprovalManager__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>TongkuoZongjian__c</field>
            <type>userLookup</type>
        </recipients>
        <recipients>
            <field>ZongjianApprovalManager__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Olympus_OCM/Weekly_report_submit</template>
    </alerts>
    <fieldUpdates>
        <fullName>Change_to_approved</fullName>
        <field>Status__c</field>
        <literalValue>批准</literalValue>
        <name>状态改到批准</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Change_to_draft</fullName>
        <field>Status__c</field>
        <literalValue>草案中</literalValue>
        <name>状态草案中</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Change_to_submit</fullName>
        <field>Status__c</field>
        <literalValue>已提交</literalValue>
        <name>状态修改到提交</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Feedback_day</fullName>
        <field>Feedback_time__c</field>
        <formula>now()</formula>
        <name>输入反馈日</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <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>Month_text</fullName>
        <field>Month_week_text__c</field>
        <formula>Month_week__c</formula>
        <name>报告月(文本)文本化</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Post_text</fullName>
        <field>Post_text__c</field>
        <formula>Post__c</formula>
        <name>职位 文本化</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Province_text</fullName>
        <field>Province_text__c</field>
        <formula>Province__c</formula>
        <name>省 文本化</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Salesdepartment_text</fullName>
        <field>SalesDept_text__c</field>
        <formula>Salesdept__c</formula>
        <name>销售本部 文本化</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Submit_Flag_Off</fullName>
        <field>Submit__c</field>
        <literalValue>0</literalValue>
        <name>提出フラグOff</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Submit_Flag_On</fullName>
        <field>Submit__c</field>
        <literalValue>1</literalValue>
        <name>提出フラグOn</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Submit_date_blank</fullName>
        <field>Submit_time__c</field>
        <name>提交日改到空</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Null</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Update_submit_date</fullName>
        <field>Submit_time__c</field>
        <formula>Now()</formula>
        <name>提交日更新</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>周报字段文本化</fullName>
        <actions>
            <name>Job_Category_text</name>
            <type>FieldUpdate</type>
        </actions>
        <actions>
            <name>Month_text</name>
            <type>FieldUpdate</type>
        </actions>
        <actions>
            <name>Post_text</name>
            <type>FieldUpdate</type>
        </actions>
        <actions>
            <name>Province_text</name>
            <type>FieldUpdate</type>
        </actions>
        <actions>
            <name>Salesdepartment_text</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <formula>true</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>周报提交通知</fullName>
        <active>false</active>
        <formula>ISCHANGED( Submit_check_flag__c )</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <tasks>
        <fullName>ActionTask01</fullName>
        <assignedToType>owner</assignedToType>
        <dueDateOffset>0</dueDateOffset>
        <notifyAssignee>true</notifyAssignee>
        <priority>中</priority>
        <protected>false</protected>
        <status>未着手</status>
        <subject>月報却下</subject>
    </tasks>
</Workflow>