<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>ActionEmail</fullName>
|
<ccEmails>jhtaizxt@163.com</ccEmails>
|
<description>首次方案提交日数提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/EmailTemplate6</template>
|
</alerts>
|
<alerts>
|
<fullName>SolutionApprovedMail</fullName>
|
<ccEmails>jhtaizxt@163.com</ccEmails>
|
<description>Solution项目需求最终批准邮件</description>
|
<protected>false</protected>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/SolutionApproveMailTemplate</template>
|
</alerts>
|
<alerts>
|
<fullName>solutionProjectApprovalNoPassTemplate</fullName>
|
<description>solution项目需求审批驳回模板</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solutionProjectApprovalNoPassTemplate</template>
|
</alerts>
|
<alerts>
|
<fullName>solutionProjectApprovalPassTemplate</fullName>
|
<description>solution项目需求审批通过模板</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solutionProjectApprovalPassTemplate</template>
|
</alerts>
|
<alerts>
|
<fullName>testEmail1</fullName>
|
<ccEmails>jhtaizxt@163.com</ccEmails>
|
<description>测试1</description>
|
<protected>false</protected>
|
<senderType>CurrentUser</senderType>
|
<template>SolutionProject/solutionProjectApplyEmail</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>GIR_ID</fullName>
|
<field>GIR_ID__c</field>
|
<formula>$User.Id</formula>
|
<name>GIR窗口ID</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>GIR_ID_NULL</fullName>
|
<field>GIR_ID__c</field>
|
<name>GIR窗口ID清空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>GIR_Solution_Acceptanc</fullName>
|
<field>GIR_Solution_Acceptanc__c</field>
|
<formula>NOW()</formula>
|
<name>GIR Solution受理时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>GirwindowdirectorApproved</fullName>
|
<field>GirWindowDirectorApproved__c</field>
|
<literalValue>1</literalValue>
|
<name>GIR窗口部长已审批</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionProjectApprovalStatus</fullName>
|
<field>Status__c</field>
|
<literalValue>03方案制作中</literalValue>
|
<name>Solution项目需求审批后状态更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionProjectColsingTime</fullName>
|
<field>Scheme_Closing_Time__c</field>
|
<formula>NOW()</formula>
|
<name>Solution项目结案时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionProjectSubmissionStatus</fullName>
|
<field>Status__c</field>
|
<literalValue>02需求已提交</literalValue>
|
<name>Solution项目需求提交审批后状态更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SolutionSolutionProjectRefuseStatus</fullName>
|
<field>Status__c</field>
|
<literalValue>08需求已拒绝</literalValue>
|
<name>Solution项目需求拒绝后状态更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Submint_TF_Null</fullName>
|
<field>Submint_TF__c</field>
|
<literalValue>0</literalValue>
|
<name>是否提交审批清空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatusSol</fullName>
|
<field>Status__c</field>
|
<literalValue>01草案中</literalValue>
|
<name>重置项目状态-草案</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>solutionNewName</fullName>
|
<field>Name</field>
|
<formula>IF( ISBLANK( NoHand_Writing__c ) , OCM_period__c & '-' & ProvinceAbbreviation__c & '-' & Area_Number__c, NoHand_Writing__c )</formula>
|
<name>solution名称赋值</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>updateSalesCenter</fullName>
|
<field>Salesdepartment_HP_T__c</field>
|
<formula>Salesdepartment_HP__c</formula>
|
<name>更新销售本部(文本)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>SolutionUpClosingTime</fullName>
|
<actions>
|
<name>SolutionProjectColsingTime</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>SolutionProjectRequirements__c.Status__c</field>
|
<operation>equals</operation>
|
<value>07结案</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>SolutionProjectRequirements__c.Scheme_Closing_Time__c</field>
|
<operation>equals</operation>
|
</criteriaItems>
|
<description>结案时完善结案时间</description>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>solution项目需求名称赋值</fullName>
|
<actions>
|
<name>solutionNewName</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>false</active>
|
<formula>true</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>销售本部%EF%BC%88文本%EF%BC%89</fullName>
|
<actions>
|
<name>updateSalesCenter</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<criteriaItems>
|
<field>SolutionProjectRequirements__c.Salesdepartment_HP__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
</Workflow>
|