New file |
| | |
| | | <?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_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> |
| | | <literalValue>报修</literalValue> |
| | | <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>true</active> |
| | | <description>From 借出备品配套一览</description> |
| | | <formula>ISCHANGED(Inspection_result_NG__c) && OR(TEXT(Inspection_result_NG__c) = '维修',TEXT(Inspection_result_NG__c) = '废弃')</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 = '排队中' && 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 = '欠品' && Isblank(Loaner_Giveup_Time__c) && Lost_item_giveup__c = TRUE</formula> |
| | | <triggerType>onCreateOrTriggeringUpdate</triggerType> |
| | | </rules> |
| | | </Workflow> |