<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>Request_assistant_create_asset</fullName>
|
<description>手动登录点检结果后,委托给助理创建设备的邮件</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<recipient>haijuan_wang@olympus.com.cn</recipient>
|
<type>user</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Inspection/Request_create_asset_from_PM</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>OER_inspection_number</fullName>
|
<field>OER_Inspection_formula__c</field>
|
<formula>OER_Inspection__c</formula>
|
<name>更新-OER点检次数</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_contract_inspection</fullName>
|
<field>Contract_product_number_formula__c</field>
|
<formula>Contract_product_number__c</formula>
|
<name>更新-维修合同点检</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>手动登录结果通知给助理</fullName>
|
<actions>
|
<name>Request_assistant_create_asset</name>
|
<type>Alert</type>
|
</actions>
|
<active>false</active>
|
<formula>AND( ISBLANK(AssetId__c),not(ISBLANK(Product_Manual__c)), InsReportStatus__c = "申请中")</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>点检报告书明细点检次数文本化</fullName>
|
<actions>
|
<name>OER_inspection_number</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Update_contract_inspection</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>true</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
</Workflow>
|