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
<?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 = &quot;申请中&quot;)</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>