<?xml version="1.0" encoding="UTF-8"?>
|
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
|
<actionOverrides>
|
<actionName>Accept</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>CancelEdit</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>Clone</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>Delete</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>Edit</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>List</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>New</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>SaveEdit</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>Tab</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>View</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<allowInChatterGroups>false</allowInChatterGroups>
|
<compactLayoutAssignment>SYSTEM</compactLayoutAssignment>
|
<deploymentStatus>Deployed</deploymentStatus>
|
<enableActivities>true</enableActivities>
|
<enableBulkApi>true</enableBulkApi>
|
<enableChangeDataCapture>false</enableChangeDataCapture>
|
<enableFeeds>false</enableFeeds>
|
<enableHistory>true</enableHistory>
|
<enableReports>true</enableReports>
|
<enableSearch>true</enableSearch>
|
<enableSharing>true</enableSharing>
|
<enableStreamingApi>true</enableStreamingApi>
|
<externalSharingModel>Private</externalSharingModel>
|
<fields>
|
<fullName>Account_Salesdepartment__c</fullName>
|
<externalId>false</externalId>
|
<label>科室-本部</label>
|
<length>80</length>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Account_State__c</fullName>
|
<externalId>false</externalId>
|
<label>科室-省</label>
|
<length>80</length>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Caller_phone__c</fullName>
|
<externalId>false</externalId>
|
<label>联系电话</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Phone</type>
|
</fields>
|
<fields>
|
<fullName>Creator_Job_Category__c</fullName>
|
<externalId>false</externalId>
|
<label>作成者-職種</label>
|
<length>80</length>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Customer_Problem_c__c</fullName>
|
<externalId>false</externalId>
|
<label>故障描述</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>TextArea</type>
|
</fields>
|
<fields>
|
<fullName>Customer_sigh_c__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>有无用户签字</label>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>Customer_sigh_day_c__c</fullName>
|
<externalId>false</externalId>
|
<label>用户签字日期</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Date</type>
|
</fields>
|
<fields>
|
<fullName>Daily_Report__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<label>日报一览</label>
|
<referenceTo>Daily_Report__c</referenceTo>
|
<relationshipLabel>On-Call</relationshipLabel>
|
<relationshipName>On_Call</relationshipName>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>Elapsed_time_2__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(ISNULL(Trable_occur_day_c__c),0,
|
|
if ( isnull( From_c__c ), now() - Taking_call_Time_c__c, From_c__c - Taking_call_Time_c__c) *24)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>收电-初次对应经过时间</label>
|
<precision>18</precision>
|
<required>false</required>
|
<scale>0</scale>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Number</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Event_Id__c</fullName>
|
<externalId>false</externalId>
|
<label>活动ID</label>
|
<length>18</length>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Failuor_month__c</fullName>
|
<externalId>false</externalId>
|
<formula>Case(text(month(Trable_occur_daY_collect_c__c)),
|
"10",mid(text(Year(Trable_occur_daY_collect_c__c)),3,2)&"年"&text(month(Trable_occur_daY_collect_c__c))&"月",
|
"11",mid(text(Year(Trable_occur_daY_collect_c__c)),3,2)&"年"&text(month(Trable_occur_daY_collect_c__c))&"月",
|
"12",mid(text(Year(Trable_occur_daY_collect_c__c)),3,2)&"年"&text(month(Trable_occur_daY_collect_c__c))&"月",
|
mid(text(Year(Trable_occur_daY_collect_c__c)),3,2)&"年0"&text(month(Trable_occur_daY_collect_c__c))&"月")</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>故障发生月</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>FinalStatus__c</fullName>
|
<externalId>false</externalId>
|
<label>On-Call跟进结果</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Picklist</type>
|
<valueSet>
|
<valueSetDefinition>
|
<sorted>false</sorted>
|
<value>
|
<fullName>OnCall跟进中</fullName>
|
<default>true</default>
|
<label>OnCall跟进中</label>
|
</value>
|
<value>
|
<fullName>OnCall完毕</fullName>
|
<default>false</default>
|
<label>OnCall完毕</label>
|
</value>
|
<value>
|
<fullName>修理</fullName>
|
<default>false</default>
|
<label>修理</label>
|
</value>
|
<value>
|
<fullName>投诉(QIS)</fullName>
|
<default>false</default>
|
<label>投诉(QIS)</label>
|
</value>
|
<value>
|
<fullName>修理及投诉(QIS)</fullName>
|
<default>false</default>
|
<label>修理及投诉(QIS)</label>
|
</value>
|
</valueSetDefinition>
|
</valueSet>
|
</fields>
|
<fields>
|
<fullName>FinishDataTime__c</fullName>
|
<externalId>false</externalId>
|
<label>On-Call完毕时间</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>DateTime</type>
|
</fields>
|
<fields>
|
<fullName>FinishDataday__c</fullName>
|
<externalId>false</externalId>
|
<formula>FinishDataTime__c</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>完毕日期</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Date</type>
|
</fields>
|
<fields>
|
<fullName>First_ploblem_c__c</fullName>
|
<externalId>false</externalId>
|
<label>用户描述问题/电话咨询内容</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>TextArea</type>
|
</fields>
|
<fields>
|
<fullName>From_c__c</fullName>
|
<externalId>false</externalId>
|
<label>现场检测时间(From)</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>DateTime</type>
|
</fields>
|
<fields>
|
<fullName>HP__c</fullName>
|
<externalId>false</externalId>
|
<formula>segment__r.Parent.Parent.Name</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>病院</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>HospitalId__c</fullName>
|
<externalId>false</externalId>
|
<formula>segment__r.Parent.Parent.Id</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>医院ID</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Hospital_Unmatch__c</fullName>
|
<description>0:医院未填
|
1:医院不是“科室的医院”</description>
|
<externalId>false</externalId>
|
<formula>IF(ISBLANK(Hospital__c), "0",
|
IF(Hospital__c <> segment__r.Parent.ParentId, "1",
|
"2")
|
)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Hospital_Unmatch</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Hospital__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<inlineHelpText>变更了科室以后,请手动将此字段的值更改为科室所属的医院</inlineHelpText>
|
<label>医院</label>
|
<lookupFilter>
|
<active>true</active>
|
<errorMessage>On-Call医院的值不存在或与筛选条件不匹配。</errorMessage>
|
<filterItems>
|
<field>Account.RecordTypeId</field>
|
<operation>equals</operation>
|
<value>病院,</value>
|
</filterItems>
|
<isOptional>false</isOptional>
|
</lookupFilter>
|
<referenceTo>Account</referenceTo>
|
<relationshipLabel>On-Call (医院)</relationshipLabel>
|
<relationshipName>On_Call_Hospital</relationshipName>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>Incharge_Staff_c__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<label>对应者(负责人)</label>
|
<referenceTo>User</referenceTo>
|
<relationshipName>OnCallstaff</relationshipName>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>OCM_category__c</fullName>
|
<externalId>false</externalId>
|
<formula>text(Hospital__r.OCM_Category__c)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>OCSM分类</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>On_Call_complete__c</fullName>
|
<externalId>false</externalId>
|
<formula>CASE(Status_c__c , "完毕", 1,0)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>已完毕On-Call次数</label>
|
<precision>18</precision>
|
<required>false</required>
|
<scale>0</scale>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Number</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>On_Call_count__c</fullName>
|
<externalId>false</externalId>
|
<formula>1</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>On-Call次数</label>
|
<precision>18</precision>
|
<required>false</required>
|
<scale>0</scale>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Number</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>On_Call_notCompletet__c</fullName>
|
<externalId>false</externalId>
|
<formula>CASE(Status_c__c ,
|
"完毕", 0,
|
"取消", 0,
|
1)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>还没完毕On-Call次数</label>
|
<precision>18</precision>
|
<required>false</required>
|
<scale>0</scale>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Number</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>On_call_product_ID__c</fullName>
|
<externalId>false</externalId>
|
<formula>Oncall_Equipment__r.Product2Id</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>On-Call对象产品ID</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>On_called_product__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(ISBLANK(Oncall_Equipment__c),Oncall_Product_manual__c, Oncall_Equipment__r.OwnershipMachine_No__c )</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>对象产品</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Oncall_Equipment__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<label>对象产品</label>
|
<lookupFilter>
|
<active>true</active>
|
<filterItems>
|
<field>Asset.Hospital__c</field>
|
<operation>equals</operation>
|
<valueField>$Source.Hospital__c</valueField>
|
</filterItems>
|
<isOptional>false</isOptional>
|
</lookupFilter>
|
<referenceTo>Asset</referenceTo>
|
<relationshipLabel>OnCall</relationshipLabel>
|
<relationshipName>OnCallEquipmentsetnull</relationshipName>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>Oncall_Product_manual__c</fullName>
|
<externalId>false</externalId>
|
<label>产品信息(手动)</label>
|
<length>30</length>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Oncall_report_number_c__c</fullName>
|
<externalId>false</externalId>
|
<label>On-Call单据号</label>
|
<length>12</length>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Responsible_Person_HP__c</fullName>
|
<externalId>false</externalId>
|
<label>院方负责人</label>
|
<length>80</length>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Salesdepartment_HP_ID__c</fullName>
|
<externalId>false</externalId>
|
<formula>segment__r.Parent.Id</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>战略科室ID</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Salesdepartment_HP__c</fullName>
|
<externalId>false</externalId>
|
<formula>segment__r.Parent.Name</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>战略科室</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Status_c__c</fullName>
|
<externalId>false</externalId>
|
<label>状态</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Picklist</type>
|
<valueSet>
|
<valueSetDefinition>
|
<sorted>false</sorted>
|
<value>
|
<fullName>跟进中</fullName>
|
<default>true</default>
|
<label>跟进中</label>
|
</value>
|
<value>
|
<fullName>完毕</fullName>
|
<default>false</default>
|
<label>完毕</label>
|
</value>
|
<value>
|
<fullName>取消</fullName>
|
<default>false</default>
|
<label>取消</label>
|
</value>
|
</valueSetDefinition>
|
</valueSet>
|
</fields>
|
<fields>
|
<fullName>Taking_call_Time_c__c</fullName>
|
<defaultValue>now()</defaultValue>
|
<externalId>false</externalId>
|
<label>受電时间</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>DateTime</type>
|
</fields>
|
<fields>
|
<fullName>To_c__c</fullName>
|
<externalId>false</externalId>
|
<label>现场检测时间(To)</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>DateTime</type>
|
</fields>
|
<fields>
|
<fullName>Trable_occur_daY_collect_c__c</fullName>
|
<externalId>false</externalId>
|
<formula>Trable_occur_day_c__c</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>故障发生日期</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Date</type>
|
</fields>
|
<fields>
|
<fullName>Trable_occur_day_c__c</fullName>
|
<externalId>false</externalId>
|
<label>故障发生时间</label>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>DateTime</type>
|
</fields>
|
<fields>
|
<fullName>callcount__c</fullName>
|
<externalId>false</externalId>
|
<formula>1</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>受電件数</label>
|
<precision>18</precision>
|
<required>false</required>
|
<scale>0</scale>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Number</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>elapsed__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(ISNULL(Trable_occur_day_c__c),0,
|
|
if ( isnull( FinishDataTime__c ), now() - Taking_call_Time_c__c, FinishDataTime__c - Taking_call_Time_c__c) *24)</formula>
|
<label>收电-完毕经过时间</label>
|
<precision>18</precision>
|
<required>false</required>
|
<scale>0</scale>
|
<trackHistory>false</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Number</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>segment__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<label>科室</label>
|
<lookupFilter>
|
<active>true</active>
|
<filterItems>
|
<field>Account.RecordTypeId</field>
|
<operation>equals</operation>
|
<value>診療科 その他, 診療科 呼吸科, 診療科 婦人科, 診療科 普外科, 診療科 泌尿科, 診療科 消化科, 診療科 耳鼻喉科</value>
|
</filterItems>
|
<filterItems>
|
<field>Account.Is_Active_Formula__c</field>
|
<operation>notEqual</operation>
|
<value>无效</value>
|
</filterItems>
|
<isOptional>true</isOptional>
|
</lookupFilter>
|
<referenceTo>Account</referenceTo>
|
<relationshipLabel>OnCall</relationshipLabel>
|
<relationshipName>segmentReference</relationshipName>
|
<required>false</required>
|
<trackHistory>true</trackHistory>
|
<trackTrending>false</trackTrending>
|
<type>Lookup</type>
|
</fields>
|
<label>On-Call</label>
|
<listViews>
|
<fullName>ALL_OnCall</fullName>
|
<columns>NAME</columns>
|
<columns>segment__c</columns>
|
<columns>Status_c__c</columns>
|
<columns>Trable_occur_daY_collect_c__c</columns>
|
<columns>elapsed__c</columns>
|
<columns>FinishDataday__c</columns>
|
<columns>Incharge_Staff_c__c</columns>
|
<filterScope>Everything</filterScope>
|
<label>01 全部On-Call</label>
|
<language>zh_CN</language>
|
</listViews>
|
<listViews>
|
<fullName>ALL_OnCallcomplate</fullName>
|
<columns>NAME</columns>
|
<columns>segment__c</columns>
|
<columns>Status_c__c</columns>
|
<columns>Trable_occur_daY_collect_c__c</columns>
|
<columns>elapsed__c</columns>
|
<columns>FinishDataday__c</columns>
|
<columns>Incharge_Staff_c__c</columns>
|
<columns>Account_State__c</columns>
|
<filterScope>Everything</filterScope>
|
<filters>
|
<field>Status_c__c</field>
|
<operation>equals</operation>
|
<value>完毕</value>
|
</filters>
|
<filters>
|
<field>Account_State__c</field>
|
<operation>contains</operation>
|
<value>内蒙</value>
|
</filters>
|
<label>03 全部On-Call(已完毕)</label>
|
<language>zh_CN</language>
|
</listViews>
|
<listViews>
|
<fullName>ALL_OnCallfollow</fullName>
|
<columns>NAME</columns>
|
<columns>segment__c</columns>
|
<columns>Status_c__c</columns>
|
<columns>Trable_occur_daY_collect_c__c</columns>
|
<columns>elapsed__c</columns>
|
<columns>FinishDataday__c</columns>
|
<columns>Incharge_Staff_c__c</columns>
|
<filterScope>Everything</filterScope>
|
<filters>
|
<field>Status_c__c</field>
|
<operation>equals</operation>
|
<value>跟进中</value>
|
</filters>
|
<label>02 全部On-Call(跟进中)</label>
|
<language>zh_CN</language>
|
</listViews>
|
<nameField>
|
<displayFormat>{YYYY}{MM}{00000}</displayFormat>
|
<label>On-Call_ID</label>
|
<trackHistory>false</trackHistory>
|
<type>AutoNumber</type>
|
</nameField>
|
<searchLayouts>
|
<customTabListAdditionalFields>segment__c</customTabListAdditionalFields>
|
<customTabListAdditionalFields>Status_c__c</customTabListAdditionalFields>
|
<customTabListAdditionalFields>Trable_occur_daY_collect_c__c</customTabListAdditionalFields>
|
<customTabListAdditionalFields>elapsed__c</customTabListAdditionalFields>
|
<customTabListAdditionalFields>Incharge_Staff_c__c</customTabListAdditionalFields>
|
<lookupDialogsAdditionalFields>segment__c</lookupDialogsAdditionalFields>
|
<lookupDialogsAdditionalFields>Oncall_Equipment__c</lookupDialogsAdditionalFields>
|
<lookupDialogsAdditionalFields>Status_c__c</lookupDialogsAdditionalFields>
|
<lookupDialogsAdditionalFields>Trable_occur_daY_collect_c__c</lookupDialogsAdditionalFields>
|
<lookupDialogsAdditionalFields>elapsed__c</lookupDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>segment__c</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>Responsible_Person_HP__c</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>Caller_phone__c</lookupPhoneDialogsAdditionalFields>
|
<searchFilterFields>segment__c</searchFilterFields>
|
<searchFilterFields>Incharge_Staff_c__c</searchFilterFields>
|
<searchFilterFields>Oncall_Equipment__c</searchFilterFields>
|
<searchResultsAdditionalFields>segment__c</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>Oncall_Equipment__c</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>Status_c__c</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>Trable_occur_daY_collect_c__c</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>elapsed__c</searchResultsAdditionalFields>
|
</searchLayouts>
|
<sharingModel>Private</sharingModel>
|
<validationRules>
|
<fullName>First_follow_up_time</fullName>
|
<active>true</active>
|
<description>如果现场检测时间(From)对比故障发生时间早的话,不能保存</description>
|
<errorConditionFormula>Text(Status_c__c) = '完毕' && Taking_call_Time_c__c > From_c__c</errorConditionFormula>
|
<errorDisplayField>From_c__c</errorDisplayField>
|
<errorMessage>请确认现场检测时间(From)对比收到联络时间早</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Is_Active_Account</fullName>
|
<active>true</active>
|
<errorConditionFormula>(Isnew() || Ischanged(segment__c)) && Not(Isblank(segment__c)) && OR (
|
/* 无效 ==> 报错 */
|
segment__r.Is_Active_Formula__c == "无效",
|
/* 看父记录,不是医院 ==> 报错 */
|
Not(segment__r.Parent.Parent.RecordTypeId = "01210000000QemG")
|
)</errorConditionFormula>
|
<errorDisplayField>segment__c</errorDisplayField>
|
<errorMessage>请选择有效的科室</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Is_Active_Hospital</fullName>
|
<active>true</active>
|
<errorConditionFormula>(Isnew() || Ischanged(Hospital__c) || Ischanged(segment__c)) && OR (
|
/* 和科室的医院不一样 ==> 报错 */
|
Hospital__c <> segment__r.Parent.ParentId
|
)</errorConditionFormula>
|
<errorDisplayField>Hospital__c</errorDisplayField>
|
<errorMessage>和科室的医院不一样</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Need_Follow_up_result</fullName>
|
<active>true</active>
|
<errorConditionFormula>Text(Status_c__c) = '完毕' && Isblank
|
(Customer_Problem_c__c )</errorConditionFormula>
|
<errorDisplayField>Customer_Problem_c__c</errorDisplayField>
|
<errorMessage>FSE对故障现象描述必填</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>On_Call_finish_day_check</fullName>
|
<active>false</active>
|
<description>暂时不使用 = 使用另外的规则</description>
|
<errorConditionFormula>and( not( isBlank( FinishDataday__c)) , isBlank( Trable_occur_day_c__c))</errorConditionFormula>
|
<errorDisplayField>Trable_occur_day_c__c</errorDisplayField>
|
<errorMessage>请输入故障发生时间,并重新保存以下</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>On_call_finish_time</fullName>
|
<active>true</active>
|
<description>如果On-Call完毕时间对比故障发生时间早的话,不能保存</description>
|
<errorConditionFormula>Taking_call_Time_c__c > FinishDataTime__c</errorConditionFormula>
|
<errorDisplayField>FinishDataTime__c</errorDisplayField>
|
<errorMessage>请确认On-Call完毕时间对比收到联络时间早</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Request_on_call_document_number</fullName>
|
<active>true</active>
|
<errorConditionFormula>Text(Status_c__c) = '完毕' && Isblank
|
(Oncall_report_number_c__c)</errorConditionFormula>
|
<errorDisplayField>Oncall_report_number_c__c</errorDisplayField>
|
<errorMessage>On-Call单据号“”OCSM-XXX“必填</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Request_on_call_follow_time_from</fullName>
|
<active>true</active>
|
<errorConditionFormula>Text(Status_c__c) = '完毕' && Isblank
|
(From_c__c )</errorConditionFormula>
|
<errorDisplayField>From_c__c</errorDisplayField>
|
<errorMessage>现场检测时间(From)必填</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Request_on_call_follow_time_to</fullName>
|
<active>true</active>
|
<errorConditionFormula>Text(Status_c__c) = '完毕' && Isblank
|
(To_c__c )</errorConditionFormula>
|
<errorDisplayField>To_c__c</errorDisplayField>
|
<errorMessage>现场检测时间(To)必填</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Requst_On_call_complete_time</fullName>
|
<active>true</active>
|
<errorConditionFormula>Text(Status_c__c) = '完毕' && Isblank
|
(FinishDataTime__c )</errorConditionFormula>
|
<errorDisplayField>FinishDataTime__c</errorDisplayField>
|
<errorMessage>On-Call完毕时间必填</errorMessage>
|
</validationRules>
|
<visibility>Public</visibility>
|
<webLinks>
|
<fullName>Create_ON_CALL_From_Asset</fullName>
|
<availability>online</availability>
|
<displayType>massActionButton</displayType>
|
<encodingKey>UTF-8</encodingKey>
|
<linkType>url</linkType>
|
<masterLabel>新建ON-CALL</masterLabel>
|
<openType>replace</openType>
|
<protected>false</protected>
|
<requireRowSelection>false</requireRowSelection>
|
<url>/a0e/e?retURL=%2F{!Asset.Id}
|
&CF00N10000002FH8l={!Asset.Account}
|
&CF00N10000002FH8l_lkid={!Asset.AccountId}
|
&CF00N10000002FH8d={!Asset.Name}
|
&CF00N10000002FH8d_lkid={!Asset.Id}</url>
|
</webLinks>
|
</CustomObject>
|