<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>Add_Annoucement_for_loaner_PIC</fullName>
|
<description>追加备品申请批准后,通知给备品管理科</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>DefaultWorkflowUser</senderType>
|
<template>Loaner_function/HTML_Annoucement_for_loaner_PIC_Add</template>
|
</alerts>
|
<alerts>
|
<fullName>Add_Loaner_request_decline_annoucement</fullName>
|
<description>追加备品申请驳回通知</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Loaner_request_decline_Add</template>
|
</alerts>
|
<alerts>
|
<fullName>Annoucement_for_loaner_AddCC</fullName>
|
<description>追加备品申请批准后,通知给备品管理科CC</description>
|
<protected>false</protected>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>DefaultWorkflowUser</senderType>
|
<template>Loaner_function/HTML_Annoucement_for_loaner_PIC_AddCC</template>
|
</alerts>
|
<alerts>
|
<fullName>Annoucement_for_loaner_PIC</fullName>
|
<description>备品申请批准后,通知给备品管理科</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/HTML_Annoucement_for_loaner_PIC</template>
|
</alerts>
|
<alerts>
|
<fullName>Annoucement_for_loaner_PICCC</fullName>
|
<description>备品申请批准后,通知给备品管理科CC</description>
|
<protected>false</protected>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>DefaultWorkflowUser</senderType>
|
<template>Loaner_function/HTML_Annoucement_for_loaner_PICCC</template>
|
</alerts>
|
<alerts>
|
<fullName>Assigned_Email</fullName>
|
<ccEmails>sunlbeckham@163.com</ccEmails>
|
<description>分配通知邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/RentalApplySetProvisionMail</template>
|
</alerts>
|
<alerts>
|
<fullName>CampaignApplyCancleToRental</fullName>
|
<description>学会申请取消发送备品中心</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_Storage_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/CampaignApplyCancleToRental</template>
|
</alerts>
|
<alerts>
|
<fullName>CampaignApplyCancleToRental01</fullName>
|
<description>学会申请取消发送备品中心(收件人无仓库)</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/CampaignApplyCancleToRental</template>
|
</alerts>
|
<alerts>
|
<fullName>CampaignCancleToRental</fullName>
|
<description>学会取消发送备品中心</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_Storage_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/CampaignCancleToRental</template>
|
</alerts>
|
<alerts>
|
<fullName>Cancel_loaner_request</fullName>
|
<description>通知-备品申请取消</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<field>Person_In_Charge__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Loaner_cancel_decline</template>
|
</alerts>
|
<alerts>
|
<fullName>Delivered_Email</fullName>
|
<description>出库通知邮件提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<field>OBA3_Email_Group__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/RentalApplySetStockOutMail</template>
|
</alerts>
|
<alerts>
|
<fullName>Extension_Loaner_App_HTML</fullName>
|
<description>延期申请批准邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Extension_Loaner_App_HTML</template>
|
</alerts>
|
<alerts>
|
<fullName>Extension_Loaner_App_HTML_CC</fullName>
|
<description>CC延期申请批准邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Extension_Loaner_App_HTML_CC</template>
|
</alerts>
|
<alerts>
|
<fullName>Extension_Loaner_Reg_HTML</fullName>
|
<description>延期申请驳回邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Extension_Loaner_Reg_HTML</template>
|
</alerts>
|
<alerts>
|
<fullName>Extension_Loaner_Reg_HTML_CC</fullName>
|
<description>CC延期申请驳回邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Extension_Loaner_Reg_HTML_CC</template>
|
</alerts>
|
<alerts>
|
<fullName>Extension_Loaner_request_HTML</fullName>
|
<description>CC延期申请审批邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/CC_Extension_Loaner_request_HTML</template>
|
</alerts>
|
<alerts>
|
<fullName>HP_Re_received_callback_warning</fullName>
|
<description>备品回收提前7天提醒通知</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Person_In_Charge__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>DefaultWorkflowUser</senderType>
|
<template>Loaner_function/HP_Re_received_callback_HTML</template>
|
</alerts>
|
<alerts>
|
<fullName>HP_Re_received_sign_confirm_mail</fullName>
|
<description>医院重新收到确认给备品中心</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/HP_Re_received_sign_confirm</template>
|
</alerts>
|
<alerts>
|
<fullName>HP_received_sign_confirm_mail</fullName>
|
<description>医院收到确认给备品中心</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/HP_received_sign_confirm</template>
|
</alerts>
|
<alerts>
|
<fullName>Loaner_request_AddCC</fullName>
|
<description>追加备品借出申请HTMLCC</description>
|
<protected>false</protected>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Loaner_request_HTML_AddCC</template>
|
</alerts>
|
<alerts>
|
<fullName>Loaner_request_HTMLCC</fullName>
|
<description>备品借出申请HTMLCC</description>
|
<protected>false</protected>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Loaner_request_HTMLCC</template>
|
</alerts>
|
<alerts>
|
<fullName>Loaner_request_decline_annoucement</fullName>
|
<description>备品申请驳回通知</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Loaner_request_decline</template>
|
</alerts>
|
<alerts>
|
<fullName>Loaner_request_decline_annoucementAddCC</fullName>
|
<description>追加备品申请驳回通知CC</description>
|
<protected>false</protected>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Loaner_request_decline_AddCC</template>
|
</alerts>
|
<alerts>
|
<fullName>Loaner_request_decline_annoucementCC</fullName>
|
<description>备品申请驳回通知CC</description>
|
<protected>false</protected>
|
<recipients>
|
<field>CC_EmailUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Loaner_request_declineCC</template>
|
</alerts>
|
<alerts>
|
<fullName>Lost_Item_ActionEmail</fullName>
|
<description>欠品明细邮件通知</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<field>Person_In_Charge__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Lost_RA_EmailTemplate</template>
|
</alerts>
|
<alerts>
|
<fullName>Reminder_Submit_LostEmail</fullName>
|
<description>提醒提交欠品邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<field>BuchangApprovalManagerSales__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Person_In_Charge__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SalesManager__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Reminder_Submit_LostEmail</template>
|
</alerts>
|
<alerts>
|
<fullName>RentalApplyCantShipAll</fullName>
|
<ccEmails>hiroki_hotta@olympus.com.cn</ccEmails>
|
<description>没有全部出库通知</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>Loaner_function/RentalApplyCantShipAll_HTML</template>
|
</alerts>
|
<alerts>
|
<fullName>RentalApplyOutStock</fullName>
|
<ccEmails>hiroki_hotta@olympus.com.cn</ccEmails>
|
<description>***出库通知</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>Loaner_function/RentalApplyOutStock</template>
|
</alerts>
|
<alerts>
|
<fullName>RentalApplyWariateInfo</fullName>
|
<ccEmails>hiroki_hotta@olympus.com.cn</ccEmails>
|
<description>***引当通知</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>ocm_te2ampj@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>Loaner_function/RentalApplyWariateInfo</template>
|
</alerts>
|
<alerts>
|
<fullName>RentalJump</fullName>
|
<ccEmails>sfdc_lvxueyan@olympus.com.cn</ccEmails>
|
<description>备品出借一览允许插队</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/RentalJump</template>
|
</alerts>
|
<alerts>
|
<fullName>Repair_Del_Cancel_Mail</fullName>
|
<description>修理状态变更为取消/删除邮件通知</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Repair_Del_Cancel_Mail</template>
|
</alerts>
|
<alerts>
|
<fullName>Return_TO_Set_Mail</fullName>
|
<description>回库通知</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<field>OBA3_Email_Group__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/RentalApplySetReturnBackMail</template>
|
</alerts>
|
<alerts>
|
<fullName>Return_TO_Set_Mail_Agency</fullName>
|
<description>回库通知(办事处助理)</description>
|
<protected>false</protected>
|
<recipients>
|
<field>OBA3_Email_Group__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<field>Office_Assistant1__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Office_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/RentalApplySetReturnBackMail</template>
|
</alerts>
|
<alerts>
|
<fullName>Sign_ng</fullName>
|
<description>备品签收单不合格通知</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Person_In_Charge__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/HP_received_sign_NG</template>
|
</alerts>
|
<alerts>
|
<fullName>Submit_Draft_ActionEmail</fullName>
|
<description>提醒草案中需要提交的申请</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Person_In_Charge__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Reminder_Submit_DraftEmail</template>
|
</alerts>
|
<alerts>
|
<fullName>Submit_Draft_ActionEmailCC</fullName>
|
<description>提醒草案中需要提交的申请CC</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/Reminder_Submit_DraftEmailCC</template>
|
</alerts>
|
<alerts>
|
<fullName>isCanceledMail</fullName>
|
<description>被动取消邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<field>Loaner_centre_mail_address__c</field>
|
<type>email</type>
|
</recipients>
|
<recipients>
|
<field>Person_In_Charge__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant2__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Rental_Assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>applyUser__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Loaner_function/isCanceled_Mail_Model</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>ActionFieldUpdate1</fullName>
|
<field>Work_Location_text__c</field>
|
<formula>Work_Location__c</formula>
|
<name>设定-借出申请人-工作地(文本)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Add_Blank_loaner_request_date</fullName>
|
<field>Add_Request_demo_time__c</field>
|
<name>更新-追加备品申请时间空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Add_Set_loaner_request_status_draft</fullName>
|
<field>Add_Approval_Status__c</field>
|
<literalValue>草案中</literalValue>
|
<name>更新追加备品申请状态-草案</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Add_Update_Loaner_request_approval_time</fullName>
|
<field>Add_Request_approval_time__c</field>
|
<formula>NOW()</formula>
|
<name>更新追加备品申请批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Add_Update_Loaner_request_tine</fullName>
|
<field>Add_Request_demo_time__c</field>
|
<formula>now()</formula>
|
<name>更新追加备品申请时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Add_Update_loaner_Request_status1</fullName>
|
<field>Add_Approval_Status__c</field>
|
<literalValue>申请中</literalValue>
|
<name>更新备追加品借出申请状态 申请中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Add_Update_loaner_request_status</fullName>
|
<field>Add_Approval_Status__c</field>
|
<literalValue>已批准</literalValue>
|
<name>更新追加备品借出申请状态 批准</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Asset_loaner_closed_date</fullName>
|
<field>Asset_loaner_closed_day__c</field>
|
<formula>Asset_loaner_closed_date__c</formula>
|
<name>设定备品预计回收日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Asset_loaner_start_date</fullName>
|
<field>Asset_loaner_start_day__c</field>
|
<formula>Asset_loaner_start_date__c</formula>
|
<name>设定备品预计出货日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Blank_loaner_request_date</fullName>
|
<field>Request_demo_time__c</field>
|
<name>更新-备品申请时间空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clean_Extension_Request2_Time</fullName>
|
<field>ExtensionApplicationTime_Final__c</field>
|
<name>更新延期申请时间清空最终</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clean_Extension_Request_Time</fullName>
|
<field>ExtensionApplicationTime_Initial__c</field>
|
<name>更新延期申请时间清空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clean_Notice_of_Delivery_Text</fullName>
|
<field>Notice_of_Delivery_Text__c</field>
|
<name>出库通知邮件内容清除</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clear_Request_answer_time</fullName>
|
<field>Request_answer_time__c</field>
|
<name>清除申请受理时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clear_Request_approval_time</fullName>
|
<field>Request_approval_time__c</field>
|
<name>清除申请提交时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clear_Request_demo_time</fullName>
|
<field>Request_demo_time__c</field>
|
<name>清除申请时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clear_Sign_NG</fullName>
|
<field>HP_received_sign_NG__c</field>
|
<literalValue>0</literalValue>
|
<name>清空签收单不合格</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clear_Sign_NG_Reason</fullName>
|
<field>HP_received_sign_NG_Reason__c</field>
|
<name>清空签收单不合格理由</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clear_received_sign_NGFlag</fullName>
|
<field>HP_received_sign_NG__c</field>
|
<literalValue>0</literalValue>
|
<name>清除不合格签收单Flag</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clear_received_sign_NG_Reason</fullName>
|
<field>HP_received_sign_NG_Reason__c</field>
|
<name>清除不合格签收单理由</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>First_level_actual_approver</fullName>
|
<field>First_level_actual_approver__c</field>
|
<formula>$User.Name__c</formula>
|
<name>更新一级实际审批人</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Follow_Inquiry_Level_Copy</fullName>
|
<field>Follow_Inquiry_Level_Text__c</field>
|
<formula>Follow_Inquiry_Level__c</formula>
|
<name>询价等级(申请时)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Follow_Inquiry_Stage_Copy</fullName>
|
<field>Follow_Inquiry_Stage_Text__c</field>
|
<formula>Follow_Inquiry_Stage__c</formula>
|
<name>询价阶段(申请时)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Loaner_Status_Text</fullName>
|
<field>RA_Status_Text__c</field>
|
<formula>RA_Status__c</formula>
|
<name>备品状态文本化</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>NorentalEquipmentReqNo</fullName>
|
<field>Name</field>
|
<formula>/* "BR-" & */
|
requestNoJoinStr1__c &"-"& requestNoJoinStr3_New__c &
|
"-"& RIGHT(requestNoJoinStr2__c, 5)</formula>
|
<name>借出备品申请No自动设值</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Onwer_job_category</fullName>
|
<field>Onwer_job_category_text__c</field>
|
<formula>Onwer_job_category__c</formula>
|
<name>设定-借出申请人-职种(文本)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Owner_province_text</fullName>
|
<field>Owner_province_text__c</field>
|
<formula>Owner_province__c</formula>
|
<name>设定-借出申请人-省(文本)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Rental_Apply_Request_answer_time</fullName>
|
<field>Request_answer_time__c</field>
|
<formula>now()</formula>
|
<name>备品申请受理时间(回答时间)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Salesdepartment</fullName>
|
<field>Salesdepartment_text__c</field>
|
<formula>Salesdepartment__c</formula>
|
<name>设定-借出申请人-销售本部(文本)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Second_level_actual_approver</fullName>
|
<field>Second_level_actual_approver__c</field>
|
<formula>$User.Name__c</formula>
|
<name>更新二级实际审批人</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_Cant_Ship_Mail_time</fullName>
|
<field>Cant_Ship_All_Mail_Time__c</field>
|
<formula>now()</formula>
|
<name>设定 没有全部出库通知送信时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_cancel_after_loaner_arranged</fullName>
|
<field>cancel_after_loaner_arranged__c</field>
|
<literalValue>1</literalValue>
|
<name>设定 出库指示后取消</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_loaner_request_status_draft</fullName>
|
<field>Status__c</field>
|
<literalValue>草案中</literalValue>
|
<name>更新备品申请状态-草案</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Set_request_cancel_time</fullName>
|
<field>Cancel_time__c</field>
|
<formula>NOW()</formula>
|
<name>设定-备品申请取消日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Status_back</fullName>
|
<field>Status__c</field>
|
<literalValue>引当済</literalValue>
|
<name>状态更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Status_update</fullName>
|
<field>Status__c</field>
|
<literalValue>出库指示済</literalValue>
|
<name>状态更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateJumpDateRental</fullName>
|
<description>更新插队日期(备品)</description>
|
<field>JumpDate_Rental__c</field>
|
<formula>TODAY()</formula>
|
<name>更新插队日期(备品)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_NewStep_AppTime</fullName>
|
<field>Extension_NewStep_AppTime__c</field>
|
<formula>NOW()</formula>
|
<name>更新延期申请步骤批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_Request2_App_Time</fullName>
|
<field>ExtensionApprovalTime_Final__c</field>
|
<formula>NOW()</formula>
|
<name>更新延期申请批准时间最终</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_Request2_Time</fullName>
|
<field>ExtensionApplicationTime_Final__c</field>
|
<formula>NOW()</formula>
|
<name>更新延期申请时间最终</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_Request_App_Time</fullName>
|
<field>ExtensionApprovalTime_Initial__c</field>
|
<formula>NOW()</formula>
|
<name>更新延期申请批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_Request_Status_App</fullName>
|
<field>ExtensionStatus__c</field>
|
<literalValue>已批准</literalValue>
|
<name>更新延期申请状态(已批准)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_Request_Status_Cancel</fullName>
|
<field>ExtensionStatus__c</field>
|
<literalValue>驳回</literalValue>
|
<name>更新延期申请状态(驳回)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_Request_Status_Clean</fullName>
|
<field>ExtensionStatus__c</field>
|
<name>更新延期申请状态(清空)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_Request_Status_Requesti</fullName>
|
<field>ExtensionStatus__c</field>
|
<literalValue>申请中</literalValue>
|
<name>更新延期申请状态(申请中)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Extension_Request_Time</fullName>
|
<field>ExtensionApplicationTime_Initial__c</field>
|
<formula>NOW()</formula>
|
<name>更新延期申请时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_HP_pic_sign_day</fullName>
|
<field>HP_pic_sign_day__c</field>
|
<formula>today()</formula>
|
<name>更新:CDS确认签字日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_HP_received_sign_day</fullName>
|
<field>HP_received_sign_day__c</field>
|
<formula>today()</formula>
|
<name>更新:医院收到确认日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Loaner_request_approval_time</fullName>
|
<field>Request_approval_time__c</field>
|
<formula>now()</formula>
|
<name>更新备品申请批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Loaner_request_tine</fullName>
|
<field>Request_demo_time__c</field>
|
<formula>now()</formula>
|
<name>更新备品申请时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_OCSM_Pro_Rental_Apply</fullName>
|
<field>OCSM_Pro_Rental_Apply__c</field>
|
<formula>OCSM_Pro_Rental__c</formula>
|
<name>更新OCSM管理省(备品用)(申请时)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Salesdept_Apply</fullName>
|
<field>Salesdept_Apply__c</field>
|
<formula>Salesdept__c</formula>
|
<name>更新申请者销售本部(申请时)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_WorkPlace_Apply</fullName>
|
<field>WorkPlace_Apply__c</field>
|
<formula>WorkPlace__c</formula>
|
<name>更新申请者办事处(申请时)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_loaner_Request_status1</fullName>
|
<field>Status__c</field>
|
<literalValue>申请中</literalValue>
|
<name>更新备品借出申请状态 申请中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_loaner_Storage_mail_address</fullName>
|
<description>马上要超限,正式刷测试,测试邮箱修改加 .f 减少换行可以解决</description>
|
<field>Loaner_Storage_mail_address__c</field>
|
<formula>IF( NOT(ISBLANK(TEXT(Cross_Region_Assign__c))),
|
CASE(Cross_Region_Assign__c,
|
"北京 备品中心","OCMAssetBJ_Storage@olympus.com.cn",
|
"上海 备品中心","OCMAssetSH_Storage@olympus.com.cn",
|
"广州 备品中心","OCMAssetGZ_Storage@olympus.com.cn",
|
""),
|
IF(Owner:User.Category6__c ="能量产品西南推广课","OCMAssetGZ_Storage@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品东北推广课","OCMAssetBJ_Storage@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品华北推广课","OCMAssetBJ_Storage@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品华南推广课","OCMAssetGZ_Storage@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品华东推广课","OCMAssetSH_Storage@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品西北推广课","OCMAssetBJ_Storage@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="能量事业本部",TEXT(Owner:User.Branch__c) ="北京"),"OCMAssetBJ_Storage@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="能量事业本部",TEXT(Owner:User.Branch__c) ="上海"),"OCMAssetSH_Storage@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="能量事业本部",TEXT(Owner:User.Branch__c) ="广州"),"OCMAssetGZ_Storage@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="MA本部",TEXT(Product_category__c) ="GI"),"OCMAssetBJ_Storage@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="MA本部",TEXT(Product_category__c) ="SP"),"OCMAssetSH_Storage@olympus.com.cn",
|
IF(AND(OR(TEXT(Owner:User.Dept__c) ="医疗备品管理中心"|| TEXT(Owner:User.Dept__c) ="医疗服务本部"),TEXT(Owner:User.Branch__c) ="广州"),"OCMAssetGZ_Storage@olympus.com.cn",
|
IF(AND(OR(TEXT(Owner:User.Dept__c) ="医疗备品管理中心"|| TEXT(Owner:User.Dept__c) ="医疗服务本部"),TEXT(Owner:User.Branch__c) ="上海"),"OCMAssetSH_Storage@olympus.com.cn",
|
IF(AND(OR(TEXT(Owner:User.Dept__c) ="医疗备品管理中心"|| TEXT(Owner:User.Dept__c) ="医疗服务本部"),TEXT(Owner:User.Branch__c) ="北京"),"OCMAssetBJ_Storage@olympus.com.cn",
|
CASE(Salesdept__c,
|
"医疗华北营业本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"华北营业本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"华北销售本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"医疗东北营业本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"东北营业本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"东北销售本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"医疗西北营业本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"西北营业本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"西北销售本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"服务本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"备品管理中心","OCMAssetBJ_Storage@olympus.com.cn",
|
"医疗华南营业本部","OCMAssetGZ_Storage@olympus.com.cn",
|
"华南营业本部","OCMAssetGZ_Storage@olympus.com.cn",
|
"华南销售本部","OCMAssetGZ_Storage@olympus.com.cn",
|
"医疗西南营业本部","OCMAssetGZ_Storage@olympus.com.cn",
|
"西南营业本部","OCMAssetGZ_Storage@olympus.com.cn",
|
"西南销售本部","OCMAssetGZ_Storage@olympus.com.cn",
|
"医疗华东营业本部","OCMAssetSH_Storage@olympus.com.cn",
|
"华东营业本部","OCMAssetSH_Storage@olympus.com.cn",
|
"华东销售本部","OCMAssetSH_Storage@olympus.com.cn",
|
"医疗产品培训本部","OCMAssetSH_Storage@olympus.com.cn",
|
"消化·呼吸内镜事业本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"外科事业本部","OCMAssetSH_Storage@olympus.com.cn",
|
"Solution本部","OCMAssetSH_Storage@olympus.com.cn",
|
"战略创新本部","OCMAssetBJ_Storage@olympus.com.cn",
|
"OCMAssetBJ_Storage@olympus.com.cn")
|
)))))))))))))))</formula>
|
<name>更新备品仓库的邮箱地址</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_loaner_centre_mail_address</fullName>
|
<description>北方南方を判断してメールアドレスをセットする。
|
|
OCM_Asset@olympus.com.cn
|
OCM_AssetGZ@olympus.com.cn</description>
|
<field>Loaner_centre_mail_address__c</field>
|
<formula>IF( NOT(ISBLANK(TEXT(Cross_Region_Assign__c))),
|
CASE(Cross_Region_Assign__c,
|
"北京 备品中心","OCM_Asset@olympus.com.cn",
|
"上海 备品中心","OCM_AssetSH@olympus.com.cn",
|
"广州 备品中心","OCM_AssetGZ@olympus.com.cn",
|
""),
|
IF(Owner:User.Category6__c ="能量产品西南推广课","OCM_AssetGZ@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品东北推广课","OCM_Asset@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品华北推广课","OCM_Asset@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品华南推广课","OCM_AssetGZ@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品华东推广课","OCM_AssetSH@olympus.com.cn",
|
IF(Owner:User.Category6__c ="能量产品西北推广课","OCM_Asset@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="能量事业本部",TEXT(Owner:User.Branch__c) ="北京"),"OCM_Asset@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="能量事业本部",TEXT(Owner:User.Branch__c) ="上海"),"OCM_AssetSH@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="能量事业本部",TEXT(Owner:User.Branch__c) ="广州"),"OCM_AssetGZ@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="MA本部",TEXT(Product_category__c) ="GI"),"OCM_Asset@olympus.com.cn",
|
IF(AND(TEXT(Owner:User.Dept__c) ="MA本部",TEXT(Product_category__c) ="SP"),"OCM_AssetSH@olympus.com.cn",
|
IF(AND(OR(TEXT(Owner:User.Dept__c) ="医疗备品管理中心"|| TEXT(Owner:User.Dept__c) ="医疗服务本部"),TEXT(Owner:User.Branch__c) ="广州"),"OCM_AssetGZ@olympus.com.cn",
|
IF(AND(OR(TEXT(Owner:User.Dept__c) ="医疗备品管理中心"|| TEXT(Owner:User.Dept__c) ="医疗服务本部"),TEXT(Owner:User.Branch__c) ="上海"),"ocm_assetsh@olympus.com.cn",
|
IF(AND(OR(TEXT(Owner:User.Dept__c) ="医疗备品管理中心"|| TEXT(Owner:User.Dept__c) ="医疗服务本部"),TEXT(Owner:User.Branch__c) ="北京"),"ocm_asset@olympus.com.cn",
|
CASE(Salesdept__c,
|
"医疗华北营业本部","OCM_Asset@olympus.com.cn",
|
"华北营业本部","OCM_Asset@olympus.com.cn",
|
"华北销售本部","OCM_Asset@olympus.com.cn",
|
"医疗东北营业本部","OCM_Asset@olympus.com.cn",
|
"东北营业本部","OCM_Asset@olympus.com.cn",
|
"东北销售本部","OCM_Asset@olympus.com.cn",
|
"医疗西北营业本部","OCM_Asset@olympus.com.cn",
|
"西北营业本部","OCM_Asset@olympus.com.cn",
|
"西北销售本部","OCM_Asset@olympus.com.cn",
|
"服务本部","OCM_Asset@olympus.com.cn",
|
"备品管理中心","OCM_Asset@olympus.com.cn",
|
"医疗华南营业本部","OCM_AssetGZ@olympus.com.cn",
|
"华南营业本部","OCM_AssetGZ@olympus.com.cn",
|
"华南销售本部","OCM_AssetGZ@olympus.com.cn",
|
"医疗西南营业本部","OCM_AssetGZ@olympus.com.cn",
|
"西南营业本部","OCM_AssetGZ@olympus.com.cn",
|
"西南销售本部","OCM_AssetGZ@olympus.com.cn",
|
"医疗华东营业本部","OCM_AssetSH@olympus.com.cn",
|
"华东营业本部","OCM_AssetSH@olympus.com.cn",
|
"华东销售本部","OCM_AssetSH@olympus.com.cn",
|
"医疗产品培训本部","OCM_AssetSH@olympus.com.cn",
|
"消化·呼吸内镜事业本部","OCM_Asset@olympus.com.cn",
|
"外科事业本部","OCM_AssetSH@olympus.com.cn",
|
"Solution本部","OCM_AssetSH@olympus.com.cn",
|
"战略创新本部","OCM_Asset@olympus.com.cn",
|
"OCM_Asset@olympus.com.cn")
|
)))))))))))))))</formula>
|
<name>更新备品中心的邮箱地址</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_loaner_dept_answer_time</fullName>
|
<field>Request_answer_time__c</field>
|
<formula>now()</formula>
|
<name>输入-备品管理课回答时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_loaner_request_status</fullName>
|
<field>Status__c</field>
|
<literalValue>已批准</literalValue>
|
<name>更新备品借出申请状态 批准</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_ra_status_yindang</fullName>
|
<field>Status__c</field>
|
<literalValue>引当完了</literalValue>
|
<name>更新备品借出申请状态 引当完了</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>applyuser_branch</fullName>
|
<field>Branch_text__c</field>
|
<formula>Branch__c</formula>
|
<name>设定-借出申请人-分公司(文本)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>applyuser_salesdept</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>applyuser_work_location</fullName>
|
<field>Work_Location_text__c</field>
|
<formula>Work_Location__c</formula>
|
<name>设定-借出申请人-工作地(文本)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>rentalEquipmentReqNo</fullName>
|
<field>Request_demo_detail__c</field>
|
<formula>"BR-" & requestNoJoinStr1__c & "-149PA-12345"</formula>
|
<name>借出备品申请No自动设值</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>set_Rental_Received_Day</fullName>
|
<field>Rental_Received_Day__c</field>
|
<formula>Today()</formula>
|
<name>设定-到货签收确认日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>修理状态变更为取消%2F删除邮件通知</fullName>
|
<actions>
|
<name>Repair_Del_Cancel_Mail</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<description>SendRepairCancelDeleteEmail__c</description>
|
<formula>SendRepairCancelDeleteEmail__c &&
|
RA_Status__c <> '草案中' &&
|
RA_Status__c <> '申请中' &&
|
RA_Status__c <> '取消'</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>全部回库邮件通知</fullName>
|
<actions>
|
<name>Return_TO_Set_Mail</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<description>归还发送未完了数==0 and (备品申请状态 = ‘已回寄’ 或 ‘申请者已收货’)and 不发送邮件Flag = false
|
|
OLD
|
Asset_return_ng_num__c =0 && Text(Status__c)='已出库指示'&&Rental_Apply_Equipment_Set_Cnt__c>0 && NotSendMessageFlag__c = false</description>
|
<formula>LEN(Asset_return_Text__c) > 0</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>全部回库邮件通知%28办事处非同城%29</fullName>
|
<actions>
|
<name>Return_TO_Set_Mail_Agency</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<description>办事处非同城,发给办事处助理</description>
|
<formula>LEN(Asset_return_Text__c) > 0 && Owner:User.OCM_man_province_Rental__c != TEXT(ToAgency__c) && LEFT(RecordTypeId, 15)!='01210000000RHIi' && LEFT(RecordTypeId, 15)!='01210000000RHIn'</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>出库通知</fullName>
|
<actions>
|
<name>Delivered_Email</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<description>/*Sum_of_Deliveried__c + Sum_Before_Delivery_Check_NG__c = Sum_Of_Details__c */ /* (Shipment_requested_cnt__c + Pre_inspection_ng_num__c == Rental_Apply_Equipment_Set_Cnt__c)&&(Rental_Apply_Equipment_Set_Cnt__c!=0) && (Shipment_requested_cnt__c !=0)</description>
|
<formula>AND(LEN(Notice_of_Delivery_Text__c) > 0, ISCHANGED(Notice_of_Delivery_Hash__c), RA_Status__c != '完了')</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>医院收到确认日</fullName>
|
<actions>
|
<name>HP_received_sign_confirm_mail</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<description>签字が貼られたら自動セットする。確認メールを出す。</description>
|
<formula>Not(isblank(HP_received_sign_text__c))&& ischanged(HP_received_sign_text__c) && HP_received_sign_NG__c = FALSE && AssetManageConfirm__c = FALSE</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>医院重新收到确认日</fullName>
|
<actions>
|
<name>HP_Re_received_sign_confirm_mail</name>
|
<type>Alert</type>
|
</actions>
|
<actions>
|
<name>Clear_Sign_NG</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Clear_Sign_NG_Reason</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>HP_received_sign_text__c != null && ISCHANGED(HP_received_sign_text__c)&& HP_received_sign_NG__c =TRUE</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>备品中心确认</fullName>
|
<actions>
|
<name>set_Rental_Received_Day</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Rental_Apply__c.AssetManageConfirm__c</field>
|
<operation>equals</operation>
|
<value>真</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>备品借出申请No设定</fullName>
|
<actions>
|
<name>NorentalEquipmentReqNo</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>((ISNEW())||(ISNULL(Name) ||ischanged(Name)|| ISCHANGED( Product_category__c)))&&(Old_Rental_Apply__c==null) && (SupplementCreated__c = false)</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>备品出借一览允许插队</fullName>
|
<actions>
|
<name>RentalJump</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Rental_Apply__c.Email_Jump__c</field>
|
<operation>equals</operation>
|
<value>真</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>备品回收提前7天提醒</fullName>
|
<active>true</active>
|
<booleanFilter>(1 AND 2 AND 8) AND ( (3 AND 5) OR (4 AND 6) OR 7 )</booleanFilter>
|
<criteriaItems>
|
<field>Rental_Apply__c.Bollow_Date__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Rental_Apply__c.Asset_return_day2__c</field>
|
<operation>equals</operation>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Rental_Apply__c.demo_purpose2__c</field>
|
<operation>equals</operation>
|
<value>一般用户,保修用户,市场多年保修,再修理,故障排查</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Rental_Apply__c.demo_purpose2__c</field>
|
<operation>equals</operation>
|
<value>已购待货</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Rental_Apply__c.RC_return_to_office__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Rental_Apply__c.Shipping_Finished_Day_Func__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Rental_Apply__c.demo_purpose2__c</field>
|
<operation>notEqual</operation>
|
<value>已购待货,一般用户,保修用户,市场多年保修,再修理,故障排查</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Rental_Apply__c.RA_Status_Text__c</field>
|
<operation>notEqual</operation>
|
<value>完了</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
<workflowTimeTriggers>
|
<actions>
|
<name>HP_Re_received_callback_warning</name>
|
<type>Alert</type>
|
</actions>
|
<offsetFromField>Rental_Apply__c.Return_dadeline_final__c</offsetFromField>
|
<timeLength>-7</timeLength>
|
<workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
|
</workflowTimeTriggers>
|
</rules>
|
<rules>
|
<fullName>备品引当联络</fullName>
|
<actions>
|
<name>Asset_loaner_closed_date</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Asset_loaner_start_date</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>Asset_loaner_closed_day__c 备品预计回收日 、从入日期画面填写</description>
|
<formula>(Asset_loaner_start_day__c <> Asset_loaner_start_date__c)
|
||
|
(Asset_loaner_closed_day__c<> Asset_loaner_closed_date__c)</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>备品申请取消 出库指示完了后</fullName>
|
<actions>
|
<name>Set_cancel_after_loaner_arranged</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>Not(IsNew()) && RA_Status__c = '取消' && (PRIORVALUE(RA_Status__c) = '已出库指示' || PRIORVALUE(RA_Status__c) = '已下架' || PRIORVALUE(RA_Status__c) = '出库前已检测')</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>备品申请取消 取消邮件通知</fullName>
|
<actions>
|
<name>Cancel_loaner_request</name>
|
<type>Alert</type>
|
</actions>
|
<actions>
|
<name>Set_request_cancel_time</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>Not(IsNew()) && RA_Status__c = '取消'&& isCanceled_TF__c =false && (PRIORVALUE(RA_Status__c) = '已批准' || PRIORVALUE(RA_Status__c) = '已分配' || PRIORVALUE(RA_Status__c) = '已出库指示' || PRIORVALUE(RA_Status__c) = '已下架' || PRIORVALUE(RA_Status__c) = '出库前已检测')</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>备品申请时更新字段</fullName>
|
<actions>
|
<name>Update_OCSM_Pro_Rental_Apply</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Update_Salesdept_Apply</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Update_WorkPlace_Apply</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>TEXT(Status__c) = '填写完毕' || TEXT(Status__c) = '申请中(OPD未通过)'</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>备品签收单不合格通知</fullName>
|
<actions>
|
<name>Sign_ng</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<formula>HP_received_sign_NG__c=TRUE</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>提醒提交欠品邮件</fullName>
|
<actions>
|
<name>Reminder_Submit_LostEmail</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Rental_Apply__c.Reminder_Submit_LostText__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>更新插队_更新插队日期%28备品%29</fullName>
|
<actions>
|
<name>UpdateJumpDateRental</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>插队时候生成插队日期</description>
|
<formula>IsJump_Rental__c == true</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>欠品确认后清除不合格签收单信息</fullName>
|
<actions>
|
<name>Clear_received_sign_NGFlag</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Clear_received_sign_NG_Reason</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>false</active>
|
<description>2019/2/18,和刘丹沟通后,禁用</description>
|
<formula>HP_received_sign_NG__c = TRUE && NOT(ISBLANK(HP_received_sign_NG_Reason__c)) && Lost_item_finish__c > 0 && AssetManageConfirm__c = FALSE</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>确认欠品邮件通知</fullName>
|
<actions>
|
<name>Lost_Item_ActionEmail</name>
|
<type>Alert</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Rental_Apply__c.Lost_Item_Email_Detail__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>自动引当完了%EF%BC%88先引当再批准%EF%BC%89</fullName>
|
<actions>
|
<name>Update_ra_status_yindang</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>false</active>
|
<description>//bp2 inactive</description>
|
<formula>TEXT(Status__c) = '已批准' && Rental_Apply_Equipment_Set_Cnt__c > 0 && ISCHANGED(Status__c)</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>草案中需要提交的申请</fullName>
|
<active>true</active>
|
<criteriaItems>
|
<field>Rental_Apply__c.Status__c</field>
|
<operation>equals</operation>
|
<value>草案中</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Rental_Apply__c.Request_shipping_day__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<description>草案中需要提交的申请</description>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
<workflowTimeTriggers>
|
<actions>
|
<name>Submit_Draft_ActionEmail</name>
|
<type>Alert</type>
|
</actions>
|
<actions>
|
<name>Submit_Draft_ActionEmailCC</name>
|
<type>Alert</type>
|
</actions>
|
<offsetFromField>Rental_Apply__c.Request_shipping_day__c</offsetFromField>
|
<timeLength>-3</timeLength>
|
<workflowTimeTriggerUnit>Days</workflowTimeTriggerUnit>
|
</workflowTimeTriggers>
|
</rules>
|
<rules>
|
<fullName>被动取消</fullName>
|
<actions>
|
<name>isCanceledMail</name>
|
<type>Alert</type>
|
</actions>
|
<actions>
|
<name>Set_request_cancel_time</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>Rental_Apply__c.isCanceled_TF_Set_Cnt__c</field>
|
<operation>greaterThan</operation>
|
<value>0</value>
|
</criteriaItems>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>设定-备品中心%2F仓库的邮箱地址</fullName>
|
<actions>
|
<name>Update_loaner_Storage_mail_address</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Update_loaner_centre_mail_address</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>True</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>设定-申请者相关字段文本化</fullName>
|
<actions>
|
<name>ActionFieldUpdate1</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Onwer_job_category</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Owner_province_text</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Salesdepartment</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>applyuser_branch</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>applyuser_salesdept</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>false</active>
|
<formula>OR( ISBLANK(Work_Location_text__c), ISBLANK(Owner_province_text__c), ISBLANK(Onwer_job_category_text__c), ISBLANK(Salesdepartment_text__c), ISBLANK(Branch_text__c), ISBLANK(Salesdept_text__c), ISCHANGED(OwnerId) )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>询价阶段和等级申请时</fullName>
|
<actions>
|
<name>Follow_Inquiry_Level_Copy</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Follow_Inquiry_Stage_Copy</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>(TEXT(demo_purpose2__c) = '试用(有询价)' || TEXT(demo_purpose2__c) = '已购待货' ) && NOT(ISBLANK(Follow_UP_Opp__c)) && (TEXT(Status__c) = '填写完毕' || TEXT(Status__c) = '申请中(OPD未通过)')</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>输入-备品管理课回答时间</fullName>
|
<actions>
|
<name>Update_loaner_dept_answer_time</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>PRIORVALUE(Select_Status__c) = '待分配' &&( Select_Status__c = '部分分配' || Select_Status__c = '全部分配') && ISBLANK(Request_answer_time__c) && PRIORVALUE(Wei_Assigned_Cnt__c) > Wei_Assigned_Cnt__c</description>
|
<formula>Yi_Assigned_Cnt_Sum__c > 0 &&
|
ISBLANK(Request_answer_time__c)</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
</Workflow>
|