binxie
2024-01-18 b1d36ea3e6653e59bd767aa192c688ee0d9d4c58
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
<?xml version="1.0" encoding="UTF-8"?>
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
    <alerts>
        <fullName>Adjust_Queue_Back</fullName>
        <description>插队申请撤回提醒</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Adjust_Queue_Back</template>
    </alerts>
    <alerts>
        <fullName>Adjust_Queue_No</fullName>
        <description>插队申请拒绝提醒</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Adjust_Queue_No</template>
    </alerts>
    <alerts>
        <fullName>Adjust_Queue_OK</fullName>
        <description>插队申请通过提醒</description>
        <protected>false</protected>
        <recipients>
            <type>owner</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>unfiled$public/Adjust_Queue_OK</template>
    </alerts>
    <alerts>
        <fullName>Adjust_Queue_Rental_Start</fullName>
        <description>插队申请批准提醒邮件-备品</description>
        <protected>false</protected>
        <recipients>
            <recipient>honglei_li@olympus.com.cn</recipient>
            <type>user</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Loaner_function/Adjust_Queue_Window_Start</template>
    </alerts>
    <alerts>
        <fullName>Adjust_Queue_Window_Start</fullName>
        <description>插队申请批准提醒邮件</description>
        <protected>false</protected>
        <recipients>
            <field>BuchangApprovalManagerSales__c</field>
            <type>userLookup</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Loaner_function/Adjust_Queue_Window_Start</template>
    </alerts>
    <alerts>
        <fullName>bp2_Inspect_Before_NG</fullName>
        <description>发货前检测NG通知</description>
        <protected>false</protected>
        <recipients>
            <field>Loaner_centre_mail_address__c</field>
            <type>email</type>
        </recipients>
        <senderType>CurrentUser</senderType>
        <template>Loaner_function/Inspect_Before_NG_HTML</template>
    </alerts>
    <fieldUpdates>
        <fullName>Cance_Allow_Adjust_Queue</fullName>
        <field>Allow_Adjust_Queue_Flag__c</field>
        <literalValue>0</literalValue>
        <name>插队申请取消</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Check_Allow_Adjust_Queue</fullName>
        <field>Allow_Adjust_Queue_Flag__c</field>
        <literalValue>1</literalValue>
        <name>插队申请标记</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Inspection_result_NG_update</fullName>
        <field>Inspection_result_NG__c</field>
        <name>发货前检查NG</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Lost_Giveup_time</fullName>
        <field>Loaner_Giveup_Time__c</field>
        <formula>now()</formula>
        <name>欠品断念时间</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Pre_disinfection_NG_update</fullName>
        <field>Pre_disinfection_NG__c</field>
        <literalValue>1</literalValue>
        <name>事前未清洗</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Queue_Day_Text</fullName>
        <field>Queue_Day_Text__c</field>
        <formula>Queue_Day__c</formula>
        <name>排队日(首次)</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Formula</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>Water_leacage_check_NG_update</fullName>
        <field>Water_leacage_check_NG__c</field>
        <literalValue>1</literalValue>
        <name>测漏检查结果NG</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Literal</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <fieldUpdates>
        <fullName>jumpReasonCancel</fullName>
        <field>jumpReason__c</field>
        <name>插队原因取消</name>
        <notifyAssignee>false</notifyAssignee>
        <operation>Null</operation>
        <protected>false</protected>
        <reevaluateOnChange>false</reevaluateOnChange>
    </fieldUpdates>
    <rules>
        <fullName>发货前检查NG通知</fullName>
        <actions>
            <name>bp2_Inspect_Before_NG</name>
            <type>Alert</type>
        </actions>
        <active>false</active>
        <description>From 借出备品配套一览</description>
        <formula>ISCHANGED(Inspection_result_NG__c) &amp;&amp; OR(TEXT(Inspection_result_NG__c) = &apos;维修&apos;,TEXT(Inspection_result_NG__c) = &apos;废弃&apos;)</formula>
        <triggerType>onAllChanges</triggerType>
    </rules>
    <rules>
        <fullName>排队日%28首次%29</fullName>
        <actions>
            <name>Queue_Day_Text</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <formula>RAESD_Status__c = &apos;排队中&apos; &amp;&amp; ISBLANK(Queue_Day_Text__c)</formula>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
    <rules>
        <fullName>欠品断念时间</fullName>
        <actions>
            <name>Lost_Giveup_time</name>
            <type>FieldUpdate</type>
        </actions>
        <active>false</active>
        <formula>Check_lost_Item_F__c = &apos;欠品&apos; &amp;&amp; Isblank(Loaner_Giveup_Time__c) &amp;&amp;  Lost_item_giveup__c = TRUE</formula>
        <triggerType>onCreateOrTriggeringUpdate</triggerType>
    </rules>
</Workflow>