<?xml version="1.0" encoding="UTF-8"?>
|
<Workflow xmlns="http://soap.sforce.com/2006/04/metadata">
|
<alerts>
|
<fullName>ActionEmailToGIandSPAss</fullName>
|
<description>提醒助理发生招投标项目申请</description>
|
<protected>false</protected>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/Tender_notRespApply</template>
|
</alerts>
|
<alerts>
|
<fullName>AlertAsstoRelateOppEmail</fullName>
|
<description>提醒助理关联或新建询价</description>
|
<protected>false</protected>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>Prospect/RelateOppAlertEmailTemplate</template>
|
</alerts>
|
<alerts>
|
<fullName>BIdCloseAlertEmail</fullName>
|
<description>进入结果阶段提醒担当和助理</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>Prospect/TenderCloseTemplate</template>
|
</alerts>
|
<alerts>
|
<fullName>TenderApprovalActionEmail</fullName>
|
<description>不应标审批通过提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>Prospect/Tender_notRespApproval</template>
|
</alerts>
|
<alerts>
|
<fullName>TenderApprovalActionEmail2</fullName>
|
<description>不应标审批通过提醒(部长)</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>Buchang_sales__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>Prospect/Tender_notRespApproval</template>
|
</alerts>
|
<alerts>
|
<fullName>TenderApprovalActionEmail3</fullName>
|
<description>不应标审批通过提醒(总监)</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>Zongjian_Sales__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>Prospect/Tender_notRespApproval</template>
|
</alerts>
|
<alerts>
|
<fullName>TenderTerminateApprovalActionEmail</fullName>
|
<ccEmails>olympus@prec-tech.com</ccEmails>
|
<description>终止审批通过提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderType>CurrentUser</senderType>
|
<template>unfiled$public/Tender_TerminateApproval</template>
|
</alerts>
|
<alerts>
|
<fullName>TerminateTtenderRejectalertEmail</fullName>
|
<ccEmails>olympus@prec-tech.com</ccEmails>
|
<description>终止审批驳回提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>unfiled$public/Tender_TerminateReject</template>
|
</alerts>
|
<alerts>
|
<fullName>tenderRejectalertEmail</fullName>
|
<description>不应标审批驳回提醒</description>
|
<protected>false</protected>
|
<recipients>
|
<type>owner</type>
|
</recipients>
|
<recipients>
|
<field>GI_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<recipients>
|
<field>SP_assistant__c</field>
|
<type>userLookup</type>
|
</recipients>
|
<senderAddress>lu_liu@olympus.com.cn</senderAddress>
|
<senderType>OrgWideEmailAddress</senderType>
|
<template>Prospect/Tender_notRespReject</template>
|
</alerts>
|
<fieldUpdates>
|
<fullName>Bid_Winning_Date_Clear</fullName>
|
<field>Bid_Winning_Date__c</field>
|
<name>中标日(OBSAP)清空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ClearAssistantWarn</fullName>
|
<field>Strategic_department_MainId__c</field>
|
<name>清空担当提醒</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ClearAssistantWarn1</fullName>
|
<field>Strategic_department_MainId1__c</field>
|
<name>清空担当提醒1</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ClearAssistantWarn2</fullName>
|
<field>Strategic_department_MainId2__c</field>
|
<name>清空担当提醒2</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ClearAssistantWarn3</fullName>
|
<field>Strategic_department_MainId3__c</field>
|
<name>清空担当提醒3</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ClearAssistantWarn4</fullName>
|
<field>Strategic_department_MainId4__c</field>
|
<name>清空担当提醒4</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Clear_ProjectRestartFLG</fullName>
|
<field>ProjectRestartFLG__c</field>
|
<literalValue>0</literalValue>
|
<name>清空项目重启标识</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>CorrelationConfirmationAssistant</fullName>
|
<field>ConfirmationAssistant__c</field>
|
<formula>$User.Alias</formula>
|
<name>更新相关性确认助理</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>DeleteTender</fullName>
|
<field>Logical_delete__c</field>
|
<literalValue>1</literalValue>
|
<name>逻辑删除</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>IsTerminate</fullName>
|
<field>IsTerminate__c</field>
|
<name>是否终止</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>ProjectRestartFLG</fullName>
|
<field>ProjectRestartFLG__c</field>
|
<literalValue>1</literalValue>
|
<name>项目重启标识</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>PushNewInformation</fullName>
|
<field>PushNewInformation__c</field>
|
<formula>NOW()</formula>
|
<name>千里马推送新信息时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SET_OBSAP_PR</fullName>
|
<field>OBSAP_PR__c</field>
|
<formula>$User.Alias</formula>
|
<name>设定-OBSAP负责人</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SetRelateTime</fullName>
|
<field>RelateOppTime__c</field>
|
<formula>now()</formula>
|
<name>设定关联询价时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>SetTenderManageCode</fullName>
|
<field>TenderManageCode__c</field>
|
<formula>Text(Year(Datevalue(CreatedDate))) +
|
if(Month(Datevalue(CreatedDate)) > 9 , '','0') +
|
|
Text(Month(Datevalue(CreatedDate))) +
|
|
if(Day(Datevalue(CreatedDate)) > 9 , '','0') +
|
Text(Day(Datevalue(CreatedDate))) + right(AutoNumber__c,4)</formula>
|
<name>设置招投标项目编码</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>StatusToApply</fullName>
|
<field>NotBidApprovalStatus__c</field>
|
<literalValue>申请中</literalValue>
|
<name>状态 = 申请中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>StatusToApplyTerminate</fullName>
|
<field>TerminateApprovalStatus__c</field>
|
<literalValue>申请中</literalValue>
|
<name>状态 = 申请中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>TenderDate_Clear</fullName>
|
<field>TenderDate__c</field>
|
<name>招标日(OBSAP)清空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Tender_ResultDate_Clear</fullName>
|
<field>ResultDate__c</field>
|
<name>结果记录日清空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>TerminateApprovalStatus</fullName>
|
<field>TerminateApprovalStatus__c</field>
|
<name>终止审批状态</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>TerminateApprovalTime</fullName>
|
<field>TerminateApprovalTime__c</field>
|
<name>终止批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Null</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>TerminateUpdateStatusDraft</fullName>
|
<field>TerminateApprovalStatus__c</field>
|
<literalValue>草案中</literalValue>
|
<name>终止状态 = 草案中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>TerminateUpdatebackToNull</fullName>
|
<field>IsTerminate__c</field>
|
<name>是否终止设为空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateIrresponseApprovalTerminate</fullName>
|
<field>TerminateApprovalTime__c</field>
|
<formula>NOW()</formula>
|
<name>设定-终止批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateIrresponseTerminateApply</fullName>
|
<field>TerminateApplyTime__c</field>
|
<formula>NOW()</formula>
|
<name>设定-终止申请时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatusApproval</fullName>
|
<field>NotBidApprovalStatus__c</field>
|
<literalValue>批准</literalValue>
|
<name>不应标状态 = 批准</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatusApprovalTerminate</fullName>
|
<field>TerminateApprovalStatus__c</field>
|
<literalValue>批准</literalValue>
|
<name>终止状态 = 批准</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatusDraft</fullName>
|
<field>NotBidApprovalStatus__c</field>
|
<literalValue>草案中</literalValue>
|
<name>不应标状态 = 草案中</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatusRefuse</fullName>
|
<field>NotBidApprovalStatus__c</field>
|
<literalValue>驳回</literalValue>
|
<name>不应标状态 = 驳回</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateStatusRefuseTerminate</fullName>
|
<field>TerminateApprovalStatus__c</field>
|
<literalValue>驳回</literalValue>
|
<name>终止状态 = 驳回</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>Update_Salesdepartment_SAP_Text</fullName>
|
<description>课题:SWAG-C4N62F</description>
|
<field>Salesdepartment_SAP_Text__c</field>
|
<formula>Salesdepartment_SAP__c</formula>
|
<name>本部文本更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateirresponseApply</fullName>
|
<field>irresponseApplyTime__c</field>
|
<formula>NOW()</formula>
|
<name>设定-不应标申请时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateirresponseApproval</fullName>
|
<field>irresponseApprovalTime__c</field>
|
<formula>now()</formula>
|
<name>设定-不应标批准时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdaterelativeTime</fullName>
|
<field>relativeTime__c</field>
|
<formula>IF(isblank(Text(IsRelateProject__c)),null , Now())</formula>
|
<name>设定-相关性记录时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>UpdateresponseTime</fullName>
|
<field>responseTime__c</field>
|
<formula>if(isblank(Text(IsBid__c)),null, now())</formula>
|
<name>设定-应标记录时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>fieldUpdatebackToNull</fullName>
|
<field>IsBid__c</field>
|
<name>是否应标设为空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Literal</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>fieldupd_tender_infotitle</fullName>
|
<field>InfoTitle__c</field>
|
<formula>Name</formula>
|
<name>更新招标项目名</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>publicDate_Clear</fullName>
|
<field>publicDate__c</field>
|
<formula>IF( TEXT( InfoType__c ) = '1:预告' , null, publicDate__c )</formula>
|
<name>公告记录日清空</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>setOppNoDefault</fullName>
|
<field>OpportunityNum__c</field>
|
<formula>if(!ISblank(Text( IsBid__c)),if( isblank(OpportunityNum__c),0,OpportunityNum__c) ,null)</formula>
|
<name>询价数量默认值</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>set_OBSAP_relativeTime</fullName>
|
<field>OBSAP_relativeTime__c</field>
|
<formula>IF(isblank(Text(IsRelateProject__c)),null , Now())</formula>
|
<name>设定-OBSAP相关性记录时间</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>statusUpdate</fullName>
|
<field>status_text__c</field>
|
<formula>status__c</formula>
|
<name>OLY确认状态文本更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>updateOCSMProvinceText</fullName>
|
<description>这个必须要勾选修改后重新评估,以便把本部公式拷文本</description>
|
<field>OCSMProvinceText__c</field>
|
<formula>OCSMProvince__c</formula>
|
<name>OCSM管理省文本更新</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>true</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>updateTenderDate_c</fullName>
|
<description>根据 投标开始时间 、投标截止时间 、公告记录日 顺序 赋值
|
//20231218 lt update add 项目阶段
|
IF( ISNULL(TenderBeginTime__c) , IF(ISNULL(TenderEndTime__c), IF(ISNULL(publicDate__c), null, publicDate__c) , DATEVALUE(TenderEndTime__c)) ,DATEVALUE(TenderBeginTime__c))</description>
|
<field>TenderDate__c</field>
|
<formula>IF( OR( TEXT( InfoType__c ) = '1:预告' , TEXT( TerminateApprovalStatus__c ) = '批准') , null,
|
IF( ISNULL(TenderBeginTime__c) , IF(ISNULL(TenderEndTime__c), IF(ISNULL(publicDate__c), null, publicDate__c) , DATEVALUE(TenderEndTime__c)) ,DATEVALUE(TenderBeginTime__c)))</formula>
|
<name>更新招标日</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>update_OBSAP_Bid_Winning_Date_c</fullName>
|
<field>Bid_Winning_Date__c</field>
|
<formula>ResultDate__c</formula>
|
<name>更新中标日(OBSAP)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<fieldUpdates>
|
<fullName>update_OBSAP_Winner_amount</fullName>
|
<field>OBSAP_WinnerAmount__c</field>
|
<formula>WinnerAmountNumber__c</formula>
|
<name>更新中标金额(OBSAP)</name>
|
<notifyAssignee>false</notifyAssignee>
|
<operation>Formula</operation>
|
<protected>false</protected>
|
<reevaluateOnChange>false</reevaluateOnChange>
|
</fieldUpdates>
|
<rules>
|
<fullName>OCSM管理省公式拷文本</fullName>
|
<actions>
|
<name>updateOCSMProvinceText</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>OCSMProvince__c <> OCSMProvinceText__c</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>OLY确认状态公式拷文本</fullName>
|
<actions>
|
<name>statusUpdate</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>status__c <> status_text__c</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>Tender_Delete</fullName>
|
<actions>
|
<name>DeleteTender</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>逻辑删除更新后的招投标</description>
|
<formula>Retain_Tender__c != null</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标项目终止申请状态回退</fullName>
|
<actions>
|
<name>IsTerminate</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>ProjectRestartFLG</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>TerminateApprovalStatus</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>TerminateApprovalTime</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>项目重新更新传输新信息(项目阶段废标流标除外、项目终止理由:经销商原因除外)</description>
|
<formula>AND(ISCHANGED( subInfoType__c ),OR(TEXT( subInfoType__c ) = '2-2:重新招标',TEXT( subInfoType__c ) = '3-5:中标通知',TEXT( subInfoType__c ) = '3-6:合同公告' ), TEXT(TerminateApprovalStatus__c)= '批准', TEXT(TerminateReason__c )!= '经销商原因',$User.Id ='00510000000fSYI')</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标项目记录千里马推送新信息批准即重启</fullName>
|
<actions>
|
<name>IsTerminate</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>ProjectRestartFLG</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>TerminateApprovalStatus</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>TerminateApprovalTime</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>千里马推送新信息批准项目终止申请即项目重启</description>
|
<formula>AND(TerminateApplyTime__c < PushNewInformation__c ,PushNewInformation__c < TerminateApprovalTime__c ,TEXT(TerminateReason__c ) != '经销商原因', TEXT(TerminateApprovalStatus__c )= '批准')</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标项目记录千里马推送新信息时间</fullName>
|
<actions>
|
<name>PushNewInformation</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>千里马推送新信息时间</description>
|
<formula>AND(ISCHANGED( subInfoType__c ),OR(TEXT( subInfoType__c ) = '2-2:重新招标',TEXT( subInfoType__c ) = '3-5:中标通知',TEXT( subInfoType__c ) = '3-6:合同公告' ), $User.Id ='00510000000fSYI')</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标项目首页提醒清空</fullName>
|
<actions>
|
<name>ClearAssistantWarn</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>关联医院1-4清空,担当提醒有值时,清空担当提醒</description>
|
<formula>AND(ISBLANK(Hospital__c) , ! ISBLANK(Strategic_department_MainId__c ) )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标项目首页提醒清空1</fullName>
|
<actions>
|
<name>ClearAssistantWarn1</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>关联医院1-4清空,担当提醒有值时,清空担当提醒</description>
|
<formula>AND(ISBLANK(Hospital1__c) , ! ISBLANK(Strategic_department_MainId1__c ) )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标项目首页提醒清空2</fullName>
|
<actions>
|
<name>ClearAssistantWarn2</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>关联医院1-4清空,担当提醒有值时,清空担当提醒</description>
|
<formula>AND(ISBLANK(Hospital2__c) , !ISBLANK(Strategic_department_MainId2__c ) )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标项目首页提醒清空3</fullName>
|
<actions>
|
<name>ClearAssistantWarn3</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>关联医院1-4清空,担当提醒有值时,清空担当提醒</description>
|
<formula>AND(ISBLANK(Hospital3__c) , !ISBLANK(Strategic_department_MainId3__c ) )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>招标项目首页提醒清空4</fullName>
|
<actions>
|
<name>ClearAssistantWarn4</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>关联医院1-4清空,担当提醒有值时,清空担当提醒</description>
|
<formula>AND(ISBLANK(Hospital4__c) , !ISBLANK(Strategic_department_MainId4__c ) )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>更新中标日%EF%BC%88OBSAP%EF%BC%89</fullName>
|
<actions>
|
<name>update_OBSAP_Bid_Winning_Date_c</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>IF( ISNULL(ResultDate__c) , false, true)</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>更新中标金额%EF%BC%88OBSAP%EF%BC%89</fullName>
|
<actions>
|
<name>update_OBSAP_Winner_amount</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>true</formula>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>更新招投标项目名称</fullName>
|
<actions>
|
<name>fieldupd_tender_infotitle</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>IF(RecordType.DeveloperName = 'Mannual', true, false)</formula>
|
<triggerType>onCreateOrTriggeringUpdate</triggerType>
|
</rules>
|
<rules>
|
<fullName>更新招标日%EF%BC%88OBSAP%EF%BC%89</fullName>
|
<actions>
|
<name>updateTenderDate_c</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>true</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>更新相关性确认助理</fullName>
|
<actions>
|
<name>CorrelationConfirmationAssistant</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>( ISCHANGED( IsRelateProject__c ) || ISCHANGED( irrelevantReasons__c ) || ISCHANGED( irrelevantReasonOther__c ) || ISCHANGED( Hospital__c ) || ISCHANGED( Hospital1__c ) || ISCHANGED( Hospital2__c ) || ISCHANGED( department_selection__c )) && ( $Profile.Id != '00e10000000s2fZ' && $Profile.Id != '00e10000000s3Jp' )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>更新预算金额%EF%BC%88OBSAP%EF%BC%89</fullName>
|
<active>false</active>
|
<formula>true</formula>
|
<triggerType>onCreateOnly</triggerType>
|
</rules>
|
<rules>
|
<fullName>本部公式拷文本</fullName>
|
<actions>
|
<name>Update_Salesdepartment_SAP_Text</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>SWAG-C4N62F</description>
|
<formula>Salesdepartment_SAP__c <> Salesdepartment_SAP_Text__c</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>结果时提醒助理和担当</fullName>
|
<actions>
|
<name>BIdCloseAlertEmail</name>
|
<type>Alert</type>
|
</actions>
|
<active>false</active>
|
<formula>ISCHANGED(InfoType__c) && Text(InfoType__c) = '3:结果' && ( Text(IsBid__c) = '是' || ( Text(IsBid__c) = '否' && OpportunityNum__c != null && OpportunityNum__c > 0) )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>设定-OBSAP相关性记录时间</fullName>
|
<actions>
|
<name>SET_OBSAP_PR</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>set_OBSAP_relativeTime</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>ISCHANGED(IsRelateProject__c) &&( ISBLANK(Text(PRIORVALUE(IsRelateProject__c))) || isblank(Text(IsRelateProject__c)) ) && ( $Profile.Id = '00e10000000s2fZ' || $Profile.Id = '00e10000000s3Jp' )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>设定-关联询价时间</fullName>
|
<actions>
|
<name>SetRelateTime</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>ischanged(OpportunityNum__c) && OpportunityNum__c>0 && isblank(RelateOppTime__c)</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>设定-应标记录时间</fullName>
|
<actions>
|
<name>UpdateresponseTime</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>ischanged(IsBid__c)&&( (Text(IsBid__c) = '是' && Text( PRIORVALUE(IsBid__c))!= '是') || (ISblank(Text( IsBid__c)) && !ISblank(Text( PRIORVALUE(IsBid__c))) ))</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>设定-相关性记录时间</fullName>
|
<actions>
|
<name>UpdaterelativeTime</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<formula>ISCHANGED(IsRelateProject__c) &&( ISBLANK(Text(PRIORVALUE(IsRelateProject__c))) || isblank(Text(IsRelateProject__c)) ) && ( $Profile.Id != '00e10000000s2fZ' )</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>设置招投标项目编码</fullName>
|
<actions>
|
<name>SetTenderManageCode</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<description>isnew() || true //20231010 lt update</description>
|
<formula>TenderManageCode__c == null</formula>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
<rules>
|
<fullName>阶段变更清空结果记录日</fullName>
|
<actions>
|
<name>Bid_Winning_Date_Clear</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>Tender_ResultDate_Clear</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<actions>
|
<name>publicDate_Clear</name>
|
<type>FieldUpdate</type>
|
</actions>
|
<active>true</active>
|
<booleanFilter>(1 AND 2) OR (3 AND 4)</booleanFilter>
|
<criteriaItems>
|
<field>Tender_information__c.InfoType__c</field>
|
<operation>notEqual</operation>
|
<value>3:结果</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Tender_information__c.ResultDate__c</field>
|
<operation>notEqual</operation>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Tender_information__c.InfoType__c</field>
|
<operation>equals</operation>
|
<value>3:结果</value>
|
</criteriaItems>
|
<criteriaItems>
|
<field>Tender_information__c.subInfoType__c</field>
|
<operation>equals</operation>
|
<value>3-1:废标公告,3-2:流标公告</value>
|
</criteriaItems>
|
<description>2022-11-29 DB202211552746 增加逻辑 废标流标时也清空</description>
|
<triggerType>onAllChanges</triggerType>
|
</rules>
|
</Workflow>
|