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
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
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>ActionEmail</fullName>
        <ccEmails>jhtaizxt@163.com</ccEmails>
        <description>首次方案提交日数提醒</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>SolutionProject/EmailTemplate6</template>
    </alerts>
    <alerts>
        <fullName>SolutionApprovedMail</fullName>
        <ccEmails>jhtaizxt@163.com</ccEmails>
        <description>Solution项目需求最终批准邮件</description>
        <protected>false</protected>
        <senderType>CurrentUser</senderType>
        <template>SolutionProject/SolutionApproveMailTemplate</template>
    </alerts>
    <alerts>
        <fullName>solutionProjectApprovalNoPassTemplate</fullName>
        <description>solution项目需求审批驳回模板</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>SolutionProject/solutionProjectApprovalNoPassTemplate</template>
    </alerts>
    <alerts>
        <fullName>solutionProjectApprovalPassTemplate</fullName>
        <description>solution项目需求审批通过模板</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>SolutionProject/solutionProjectApprovalPassTemplate</template>
    </alerts>
    <alerts>
        <fullName>testEmail1</fullName>
        <ccEmails>jhtaizxt@163.com</ccEmails>
        <description>测试1</description>
        <protected>false</protected>
        <senderType>CurrentUser</senderType>
        <template>SolutionProject/solutionProjectApplyEmail</template>
    </alerts>
    <fieldUpdates>
        <fullName>GIR_ID</fullName>
        <field>GIR_ID__c</field>
        <formula>$User.Id</formula>
        <name>GIR窗口ID</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>GIR_ID_NULL</fullName>
        <field>GIR_ID__c</field>
        <name>GIR窗口ID清空</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Null</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>GIR_Solution_Acceptanc</fullName>
        <field>GIR_Solution_Acceptanc__c</field>
        <formula>NOW()</formula>
        <name>GIR Solution受理时间</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>GirwindowdirectorApproved</fullName>
        <field>GirWindowDirectorApproved__c</field>
        <literalValue>1</literalValue>
        <name>GIR窗口部长已审批</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>SolutionProjectApprovalStatus</fullName>
        <field>Status__c</field>
        <literalValue>03方案制作中</literalValue>
        <name>Solution项目需求审批后状态更新</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>SolutionProjectColsingTime</fullName>
        <field>Scheme_Closing_Time__c</field>
        <formula>NOW()</formula>
        <name>Solution项目结案时间</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>SolutionProjectSubmissionStatus</fullName>
        <field>Status__c</field>
        <literalValue>02需求已提交</literalValue>
        <name>Solution项目需求提交审批后状态更新</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>SolutionSolutionProjectRefuseStatus</fullName>
        <field>Status__c</field>
        <literalValue>08需求已拒绝</literalValue>
        <name>Solution项目需求拒绝后状态更新</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Submint_TF_Null</fullName>
        <field>Submint_TF__c</field>
        <literalValue>0</literalValue>
        <name>是否提交审批清空</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>UpdateStatusSol</fullName>
        <field>Status__c</field>
        <literalValue>01草案中</literalValue>
        <name>重置项目状态-草案</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>solutionNewName</fullName>
        <field>Name</field>
        <formula>IF( ISBLANK( NoHand_Writing__c ) , OCM_period__c  &amp; &apos;-&apos; &amp; ProvinceAbbreviation__c &amp; &apos;-&apos; &amp;  Area_Number__c, NoHand_Writing__c )</formula>
        <name>solution名称赋值</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>updateSalesCenter</fullName>
        <field>Salesdepartment_HP_T__c</field>
        <formula>Salesdepartment_HP__c</formula>
        <name>更新销售本部(文本)</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>SolutionUpClosingTime</fullName>
        <actions>
            <name>SolutionProjectColsingTime</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>SolutionProjectRequirements__c.Status__c</field>
            <operation>equals</operation>
            <value>07结案</value>
        </criteriaItems>
        <criteriaItems>
            <field>SolutionProjectRequirements__c.Scheme_Closing_Time__c</field>
            <operation>equals</operation>
        </criteriaItems>
        <description>结案时完善结案时间</description>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>solution项目需求名称赋值</fullName>
        <actions>
            <name>solutionNewName</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <formula>true</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>销售本部%EF%BC%88文本%EF%BC%89</fullName>
        <actions>
            <name>updateSalesCenter</name>
            <type>FieldUpdate</type>
        </actions>
        <active>true</active>
        <criteriaItems>
            <field>SolutionProjectRequirements__c.Salesdepartment_HP__c</field>
            <operation>notEqual</operation>
        </criteriaItems>
        <triggerType>onAllChanges</triggerType>
    </rules>
</Workflow>