<?xml version="1.0" encoding="UTF-8"?>
|
<CustomObject xmlns="http://soap.sforce.com/2006/04/metadata">
|
<actionOverrides>
|
<actionName>AddCampaign</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>AddToCampaign</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>CallHighlightAction</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>EmailHighlightAction</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>EnableCustomerPortal</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>EnablePartnerPortalUser</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>EnableSelfService</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>List</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>ListClean</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>Merge</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>NewContact</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>RequestUpdate</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>SaveEdit</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>SmsHighlightAction</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>Tab</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>View</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>ViewCustomerPortal</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>ViewPartnerPortalUser</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<actionOverrides>
|
<actionName>ViewSelfService</actionName>
|
<type>Default</type>
|
</actionOverrides>
|
<compactLayoutAssignment>SYSTEM</compactLayoutAssignment>
|
<enableEnhancedLookup>true</enableEnhancedLookup>
|
<enableFeeds>true</enableFeeds>
|
<enableHistory>true</enableHistory>
|
<externalSharingModel>ControlledByParent</externalSharingModel>
|
<fields>
|
<fullName>AWS_Data_Id__c</fullName>
|
<externalId>false</externalId>
|
<label>AWS Data Id</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>AccountId</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>AccountId__c</fullName>
|
<externalId>false</externalId>
|
<formula>AccountId</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>AccountId</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>AccountRecordTypeId__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.RecordTypeId</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>AccountRecordTypeId</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>AccountRecordTypyID__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.RecordType.Id</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>AccountRecordTypyID</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>AccountSelectOwner__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.DealerSelectOwner__c</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Account Select Owner</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>AccountStaut__c</fullName>
|
<externalId>false</externalId>
|
<formula>TEXT(Account.stautesD__c )</formula>
|
<label>AccountStatu</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Account_Owner_Id__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.OwnerID__c</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Account Owner Id</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Account_Owner_Name__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.OwnerName__c</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Account Owner Name</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Account_Record_Type_DeveloperName__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.RecordType.DeveloperName</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Account Record Type DeveloperName</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Account_ServiceStaff_Id__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.OCNServiceStaff__r.Id</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Account ServiceStaff Id</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Account_ServiceStaff_Name__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.OCNServiceStaff__r.LastName + Account.OCNServiceStaff__r.FirstName</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Account ServiceStaff Name</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Address1D_Encrypted__c</fullName>
|
<description>地址1. Encrypted</description>
|
<externalId>false</externalId>
|
<label>Address1D Encrypted</label>
|
<length>2000</length>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>LongTextArea</type>
|
<visibleLines>2</visibleLines>
|
</fields>
|
<fields>
|
<fullName>Address1D__c</fullName>
|
<externalId>false</externalId>
|
<label>Address1.</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Address1_Encrypted__c</fullName>
|
<description>地址1 Encrypted</description>
|
<externalId>false</externalId>
|
<label>Address1 Encrypted</label>
|
<length>2000</length>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>LongTextArea</type>
|
<visibleLines>2</visibleLines>
|
</fields>
|
<fields>
|
<fullName>Address1_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(Address1__c <> Address1D__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Address1-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>Address1__c</fullName>
|
<externalId>false</externalId>
|
<label>Address1</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Address2D_Encrypted__c</fullName>
|
<description>地址2(其他地址). Encrypted</description>
|
<externalId>false</externalId>
|
<label>Address2D Encrypted</label>
|
<length>2000</length>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>LongTextArea</type>
|
<visibleLines>2</visibleLines>
|
</fields>
|
<fields>
|
<fullName>Address2D__c</fullName>
|
<externalId>false</externalId>
|
<label>Address2 (for different location).</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Address2_Encrypted__c</fullName>
|
<description>地址2(其他地址) Encrypted</description>
|
<externalId>false</externalId>
|
<label>Address2 Encrypted</label>
|
<length>2000</length>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>LongTextArea</type>
|
<visibleLines>2</visibleLines>
|
</fields>
|
<fields>
|
<fullName>Address2_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(Address2__c <> Address2D__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Address2-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>Address2__c</fullName>
|
<externalId>false</externalId>
|
<label>Address2 (for different location)</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Address3D_Encrypted__c</fullName>
|
<description>地址3(其他地址). Encrypted</description>
|
<externalId>false</externalId>
|
<label>Address3D Encrypted</label>
|
<length>2000</length>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>LongTextArea</type>
|
<visibleLines>2</visibleLines>
|
</fields>
|
<fields>
|
<fullName>Address3D__c</fullName>
|
<externalId>false</externalId>
|
<label>Address3 (for different location).</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Address3_Encrypted__c</fullName>
|
<description>地址3(其他地址) Encrypted</description>
|
<externalId>false</externalId>
|
<label>Address3 Encrypted</label>
|
<length>2000</length>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>LongTextArea</type>
|
<visibleLines>2</visibleLines>
|
</fields>
|
<fields>
|
<fullName>Address3_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(Address3__c <> Address3D__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Address3-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>Address3__c</fullName>
|
<externalId>false</externalId>
|
<label>Address3 (for different location)</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>AssistantName</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>AssistantPhone</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>Birthdate</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>CampaignUpsertContact__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>市场活动导入创建/更新联系人</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>CanAllowPortalSelfReg</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>CancelReasonD__c</fullName>
|
<externalId>false</externalId>
|
<label>Cancel Reason.</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>CancelReason_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(CancelReason__c <> CancelReasonD__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>CancelReason-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>CancelReason__c</fullName>
|
<externalId>false</externalId>
|
<label>Cancel Reason</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>ContactEnglishName_Encrypted__c</fullName>
|
<description>英文名 Encrypted</description>
|
<externalId>false</externalId>
|
<label>ContactEnglishName Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>ContactEnglishName__c</fullName>
|
<externalId>false</externalId>
|
<label>英文名</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>ContactLink__c</fullName>
|
<externalId>false</externalId>
|
<formula>HYPERLINK('/' + Id, LastName + FirstName, '_blank')</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Contact Link</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>ContactNumber__c</fullName>
|
<displayFormat>C-{YYYY}-{00000}</displayFormat>
|
<externalId>false</externalId>
|
<label>ContactNumber</label>
|
<trackHistory>false</trackHistory>
|
<type>AutoNumber</type>
|
</fields>
|
<fields>
|
<fullName>ContactStatusD__c</fullName>
|
<externalId>false</externalId>
|
<label>Contact Status.</label>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Picklist</type>
|
<valueSet>
|
<valueSetDefinition>
|
<sorted>false</sorted>
|
<value>
|
<fullName>Active</fullName>
|
<default>true</default>
|
<label>Active</label>
|
</value>
|
<value>
|
<fullName>Cancel</fullName>
|
<default>false</default>
|
<label>Cancel</label>
|
</value>
|
</valueSetDefinition>
|
</valueSet>
|
</fields>
|
<fields>
|
<fullName>ContactStatus__c</fullName>
|
<externalId>false</externalId>
|
<label>Contact Status</label>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
<type>Picklist</type>
|
<valueSet>
|
<valueSetDefinition>
|
<sorted>false</sorted>
|
<value>
|
<fullName>Active</fullName>
|
<default>true</default>
|
<label>Active</label>
|
</value>
|
<value>
|
<fullName>Cancel</fullName>
|
<default>false</default>
|
<label>Cancel</label>
|
</value>
|
</valueSetDefinition>
|
</valueSet>
|
</fields>
|
<fields>
|
<fullName>Contact_Status_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(TEXT(ContactStatus__c) <> TEXT(ContactStatusD__c), true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Contact Status-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>CurrencyIsoCode</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>DealerSelectOwner__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<label>Dealer Select Owner</label>
|
<referenceTo>User</referenceTo>
|
<relationshipName>dealer_select_account_owner</relationshipName>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>Department</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
</fields>
|
<fields>
|
<fullName>Description</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>DoNotCall</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>Email</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>EmailD_Encrypted__c</fullName>
|
<description>电子邮箱. Encrypted</description>
|
<externalId>false</externalId>
|
<label>EmailD Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>EmailD__c</fullName>
|
<externalId>false</externalId>
|
<label>Email.</label>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Email</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Email_Encrypted__c</fullName>
|
<description>电子邮件 Encrypted</description>
|
<externalId>false</externalId>
|
<label>Email Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Email_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(Email <> EmailD__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Email-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>EnglishAddress_Encrypted__c</fullName>
|
<description>英文地址 Encrypted</description>
|
<externalId>false</externalId>
|
<label>EnglishAddress Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>EnglishAddress__c</fullName>
|
<externalId>false</externalId>
|
<label>英文地址</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Fax</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>FaxD_Encrypted__c</fullName>
|
<description>传真. Encrypted</description>
|
<externalId>false</externalId>
|
<label>FaxD Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>FaxD__c</fullName>
|
<externalId>false</externalId>
|
<label>Fax.</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Fax_Encrypted__c</fullName>
|
<description>传真 Encrypted</description>
|
<externalId>false</externalId>
|
<label>Fax Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Fax_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(Fax <> FaxD__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Fax-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>FirstName_Encrypted__c</fullName>
|
<externalId>false</externalId>
|
<label>FirstName Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>HasOptedOutOfEmail</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>HasOptedOutOfFax</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>HomePhone</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>IEAccount__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(AccountRecordTypeId__c = '0120K000000OptS',true,false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>IE直销联系人</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>IndividualId</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>IsFromSPO__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>是否来自SPO</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>IsNew__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>Is New</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>Jigsaw</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>LastCURequestDate</fullName>
|
</fields>
|
<fields>
|
<fullName>LastCUUpdateDate</fullName>
|
</fields>
|
<fields>
|
<fullName>LastName_Encrypted__c</fullName>
|
<externalId>false</externalId>
|
<label>LastName Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>LeadSource</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Picklist</type>
|
</fields>
|
<fields>
|
<fullName>MailingAddress</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>ManagementCode_Ext__c</fullName>
|
<caseSensitive>true</caseSensitive>
|
<externalId>true</externalId>
|
<label>Contact Code</label>
|
<length>20</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
<type>Text</type>
|
<unique>true</unique>
|
</fields>
|
<fields>
|
<fullName>ManagementCode_F__c</fullName>
|
<externalId>false</externalId>
|
<formula>BlankValue(ManagementCode_Ext__c, ContactNumber__c)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Management Code</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>MobilePhone</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
</fields>
|
<fields>
|
<fullName>MobilePhoneD_Encrypted__c</fullName>
|
<description>手机. Encrypted</description>
|
<externalId>false</externalId>
|
<label>MobilePhoneD Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>MobilePhoneD__c</fullName>
|
<externalId>false</externalId>
|
<label>MobilePhone.</label>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Phone</type>
|
</fields>
|
<fields>
|
<fullName>MobilePhone_Encrypted__c</fullName>
|
<description>手机 Encrypted</description>
|
<externalId>false</externalId>
|
<label>MobilePhone Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>MobilePhone_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(MobilePhone <> MobilePhoneD__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>MobilePhone-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>Name</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
</fields>
|
<fields>
|
<fullName>Name_Encrypted__c</fullName>
|
<externalId>false</externalId>
|
<label>Name Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Name__c</fullName>
|
<externalId>false</externalId>
|
<formula>LastName & FirstName</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Name</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>OtherAddress</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>OtherPhone</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>OtherPhoneD_Encrypted__c</fullName>
|
<description>其他电话. Encrypted</description>
|
<externalId>false</externalId>
|
<label>OtherPhoneD Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>OtherPhoneD__c</fullName>
|
<externalId>false</externalId>
|
<label>OtherPhone.</label>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Phone</type>
|
</fields>
|
<fields>
|
<fullName>OtherPhone_Encrypted__c</fullName>
|
<description>其它电话 Encrypted</description>
|
<externalId>false</externalId>
|
<label>OtherPhone Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>OtherPhone_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(OtherPhone <> OtherPhoneD__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>OtherPhone-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>OwnerId</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>OwnerId__c</fullName>
|
<externalId>false</externalId>
|
<formula>OwnerId</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Owner ID</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Phone</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
</fields>
|
<fields>
|
<fullName>PhoneD_Encrypted__c</fullName>
|
<description>电话. Encrypted</description>
|
<externalId>false</externalId>
|
<label>PhoneD Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>PhoneD__c</fullName>
|
<externalId>false</externalId>
|
<label>Phone.</label>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Phone</type>
|
</fields>
|
<fields>
|
<fullName>Phone_Encrypted__c</fullName>
|
<description>电话 Encrypted</description>
|
<externalId>false</externalId>
|
<label>Phone Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Phone_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(Phone <> PhoneD__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Phone-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>PostcodeD_Encrypted__c</fullName>
|
<description>邮政编码. Encrypted</description>
|
<externalId>false</externalId>
|
<label>PostcodeD Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>PostcodeD__c</fullName>
|
<externalId>false</externalId>
|
<label>Postcode.</label>
|
<length>10</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Postcode_Encrypted__c</fullName>
|
<description>邮政编码 Encrypted</description>
|
<externalId>false</externalId>
|
<label>Postcode Encrypted</label>
|
<length>255</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Postcode_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(Postcode__c <> PostcodeD__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Postcode-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>Postcode__c</fullName>
|
<externalId>false</externalId>
|
<label>Postcode</label>
|
<length>10</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>ProductSegmentANI__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>ANI</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>ProductSegmentBS__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>BS</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>ProductSegmentIE__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>IE</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>ProductSegmentNDT__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>NDT</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>ProductSegmentRVI__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>RVI</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>ProductSegment__c</fullName>
|
<externalId>false</externalId>
|
<formula>TEXT(Account.ProductSegment__c)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>ProductSegment</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Province__c</fullName>
|
<externalId>false</externalId>
|
<formula>TEXT(Account.Province__c)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Province</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Remark__c</fullName>
|
<externalId>false</externalId>
|
<label>Remark</label>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>TextArea</type>
|
</fields>
|
<fields>
|
<fullName>ReportsToId</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>StatusD__c</fullName>
|
<externalId>false</externalId>
|
<label>Status.</label>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>true</trackHistory>
|
<type>Picklist</type>
|
<valueSet>
|
<valueSetDefinition>
|
<sorted>false</sorted>
|
<value>
|
<fullName>Draft</fullName>
|
<default>true</default>
|
<label>Draft</label>
|
</value>
|
<value>
|
<fullName>Completed</fullName>
|
<default>false</default>
|
<label>Completed</label>
|
</value>
|
<value>
|
<fullName>Submit</fullName>
|
<default>false</default>
|
<label>Submit</label>
|
</value>
|
<value>
|
<fullName>Reject</fullName>
|
<default>false</default>
|
<label>Reject</label>
|
</value>
|
<value>
|
<fullName>Pass</fullName>
|
<default>false</default>
|
<label>Pass</label>
|
</value>
|
</valueSetDefinition>
|
</valueSet>
|
</fields>
|
<fields>
|
<fullName>SubmitUser__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<label>Submit User</label>
|
<referenceTo>User</referenceTo>
|
<relationshipName>Submit_Contact_User</relationshipName>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>TechnicalServiceCreated__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>技术服务部创建</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>Title</fullName>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
</fields>
|
<fields>
|
<fullName>TitleD_Encrypted__c</fullName>
|
<description>职务. Encrypted</description>
|
<externalId>false</externalId>
|
<label>TitleD Encrypted</label>
|
<length>128</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>TitleD__c</fullName>
|
<externalId>false</externalId>
|
<label>Title.</label>
|
<length>128</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Title_Encrypted__c</fullName>
|
<description>职务 Encrypted</description>
|
<externalId>false</externalId>
|
<label>Title Encrypted</label>
|
<length>128</length>
|
<required>false</required>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>Title_IsChanged__c</fullName>
|
<externalId>false</externalId>
|
<formula>IF(Title <> TitleD__c, true, false)</formula>
|
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
|
<label>Title-IsChanged</label>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>TransitionFlag__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>Transition Flag</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>UserOwningProducts__c</fullName>
|
<externalId>false</externalId>
|
<label>User's owning products</label>
|
<length>2000</length>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>LongTextArea</type>
|
<visibleLines>4</visibleLines>
|
</fields>
|
<fields>
|
<fullName>accountType__c</fullName>
|
<externalId>false</externalId>
|
<formula>Account.RecordType__c</formula>
|
<label>accountType</label>
|
<required>false</required>
|
<trackHistory>false</trackHistory>
|
<type>Text</type>
|
<unique>false</unique>
|
</fields>
|
<fields>
|
<fullName>isBatch__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>isBatch</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<fields>
|
<fullName>isServiceCreate__c</fullName>
|
<defaultValue>false</defaultValue>
|
<externalId>false</externalId>
|
<label>是否服务部创建</label>
|
<trackFeedHistory>false</trackFeedHistory>
|
<trackHistory>false</trackHistory>
|
<type>Checkbox</type>
|
</fields>
|
<listViews>
|
<fullName>NewThisWeek</fullName>
|
<columns>FULL_NAME</columns>
|
<columns>ACCOUNT.NAME</columns>
|
<columns>CONTACT.DEPARTMENT</columns>
|
<columns>CONTACT.TITLE</columns>
|
<columns>Province__c</columns>
|
<columns>Address1__c</columns>
|
<columns>CONTACT.PHONE1</columns>
|
<columns>CONTACT.EMAIL</columns>
|
<columns>CORE.USERS.ALIAS</columns>
|
<filterScope>Everything</filterScope>
|
<filters>
|
<field>CONTACT.CREATED_DATE</field>
|
<operation>equals</operation>
|
<value>THIS_WEEK</value>
|
</filters>
|
<label>新建本周</label>
|
<language>zh_CN</language>
|
</listViews>
|
<listViews>
|
<fullName>View1</fullName>
|
<columns>FULL_NAME</columns>
|
<columns>ACCOUNT.NAME</columns>
|
<columns>CONTACT.TITLE</columns>
|
<columns>CONTACT.PHONE1</columns>
|
<columns>CONTACT.EMAIL</columns>
|
<columns>CORE.USERS.ALIAS</columns>
|
<columns>ManagementCode_Ext__c</columns>
|
<filterScope>Everything</filterScope>
|
<label>全部联系人</label>
|
<language>zh_CN</language>
|
</listViews>
|
<listViews>
|
<fullName>View11</fullName>
|
<columns>FULL_NAME</columns>
|
<columns>ACCOUNT.NAME</columns>
|
<columns>CONTACT.TITLE</columns>
|
<columns>CONTACT.PHONE1</columns>
|
<columns>CONTACT.EMAIL</columns>
|
<columns>CORE.USERS.ALIAS</columns>
|
<filterScope>Everything</filterScope>
|
<filters>
|
<field>StatusD__c</field>
|
<operation>equals</operation>
|
<value>Draft</value>
|
</filters>
|
<label>草案中</label>
|
<language>zh_CN</language>
|
</listViews>
|
<listViews>
|
<fullName>View12</fullName>
|
<columns>FULL_NAME</columns>
|
<columns>ACCOUNT.NAME</columns>
|
<columns>CONTACT.TITLE</columns>
|
<columns>CONTACT.PHONE1</columns>
|
<columns>CONTACT.EMAIL</columns>
|
<columns>CORE.USERS.ALIAS</columns>
|
<filterScope>Everything</filterScope>
|
<filters>
|
<field>StatusD__c</field>
|
<operation>equals</operation>
|
<value>Submit</value>
|
</filters>
|
<label>已提交</label>
|
<language>zh_CN</language>
|
</listViews>
|
<listViews>
|
<fullName>View13</fullName>
|
<columns>FULL_NAME</columns>
|
<columns>ACCOUNT.NAME</columns>
|
<columns>CONTACT.TITLE</columns>
|
<columns>CONTACT.PHONE1</columns>
|
<columns>CONTACT.EMAIL</columns>
|
<columns>CORE.USERS.ALIAS</columns>
|
<filterScope>Everything</filterScope>
|
<filters>
|
<field>StatusD__c</field>
|
<operation>equals</operation>
|
<value>Pass</value>
|
</filters>
|
<label>批准</label>
|
<language>zh_CN</language>
|
</listViews>
|
<listViews>
|
<fullName>View14</fullName>
|
<columns>FULL_NAME</columns>
|
<columns>ACCOUNT.NAME</columns>
|
<columns>CONTACT.TITLE</columns>
|
<columns>CONTACT.PHONE1</columns>
|
<columns>CONTACT.EMAIL</columns>
|
<columns>CORE.USERS.ALIAS</columns>
|
<filterScope>Everything</filterScope>
|
<filters>
|
<field>StatusD__c</field>
|
<operation>equals</operation>
|
<value>Reject</value>
|
</filters>
|
<label>驳回</label>
|
<language>zh_CN</language>
|
</listViews>
|
<recordTypeTrackFeedHistory>false</recordTypeTrackFeedHistory>
|
<recordTypeTrackHistory>false</recordTypeTrackHistory>
|
<recordTypes>
|
<fullName>SSBD</fullName>
|
<active>true</active>
|
<label>SSBD</label>
|
<picklistValues>
|
<picklist>ContactStatusD__c</picklist>
|
<values>
|
<fullName>Active</fullName>
|
<default>true</default>
|
</values>
|
<values>
|
<fullName>Cancel</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
<picklistValues>
|
<picklist>ContactStatus__c</picklist>
|
<values>
|
<fullName>Active</fullName>
|
<default>true</default>
|
</values>
|
<values>
|
<fullName>Cancel</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
<picklistValues>
|
<picklist>LeadSource</picklist>
|
<values>
|
<fullName>Exhibition %2F Seminar</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>From Olympus</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Others</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Sales activity of distributor</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Sub-dealer%2FTrading house</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Web of distributor</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
<picklistValues>
|
<picklist>Name</picklist>
|
<values>
|
<fullName>Dr%2E</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Mr%2E</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Mrs%2E</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Ms%2E</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Prof%2E</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
<picklistValues>
|
<picklist>StatusD__c</picklist>
|
<values>
|
<fullName>Completed</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Draft</fullName>
|
<default>true</default>
|
</values>
|
<values>
|
<fullName>Pass</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Reject</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Submit</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
</recordTypes>
|
<recordTypes>
|
<fullName>SSBD_Approval</fullName>
|
<active>true</active>
|
<label>SSBD Approval</label>
|
<picklistValues>
|
<picklist>ContactStatusD__c</picklist>
|
<values>
|
<fullName>Active</fullName>
|
<default>true</default>
|
</values>
|
<values>
|
<fullName>Cancel</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
<picklistValues>
|
<picklist>ContactStatus__c</picklist>
|
<values>
|
<fullName>Active</fullName>
|
<default>true</default>
|
</values>
|
<values>
|
<fullName>Cancel</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
<picklistValues>
|
<picklist>LeadSource</picklist>
|
<values>
|
<fullName>Exhibition %2F Seminar</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>From Olympus</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Others</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Sales activity of distributor</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Sub-dealer%2FTrading house</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Web of distributor</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
<picklistValues>
|
<picklist>Name</picklist>
|
<values>
|
<fullName>Dr%2E</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Mr%2E</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Mrs%2E</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Ms%2E</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Prof%2E</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
<picklistValues>
|
<picklist>StatusD__c</picklist>
|
<values>
|
<fullName>Completed</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Draft</fullName>
|
<default>true</default>
|
</values>
|
<values>
|
<fullName>Pass</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Reject</fullName>
|
<default>false</default>
|
</values>
|
<values>
|
<fullName>Submit</fullName>
|
<default>false</default>
|
</values>
|
</picklistValues>
|
</recordTypes>
|
<searchLayouts>
|
<customTabListAdditionalFields>FULL_NAME</customTabListAdditionalFields>
|
<customTabListAdditionalFields>ACCOUNT.NAME</customTabListAdditionalFields>
|
<customTabListAdditionalFields>CONTACT.DEPARTMENT</customTabListAdditionalFields>
|
<customTabListAdditionalFields>Province__c</customTabListAdditionalFields>
|
<customTabListAdditionalFields>Address1__c</customTabListAdditionalFields>
|
<customTabListAdditionalFields>CONTACT.PHONE1</customTabListAdditionalFields>
|
<excludedStandardButtons>AddToCampaign</excludedStandardButtons>
|
<excludedStandardButtons>NewContact</excludedStandardButtons>
|
<lookupDialogsAdditionalFields>FULL_NAME</lookupDialogsAdditionalFields>
|
<lookupDialogsAdditionalFields>ACCOUNT.NAME</lookupDialogsAdditionalFields>
|
<lookupDialogsAdditionalFields>ACCOUNT.SITE</lookupDialogsAdditionalFields>
|
<lookupDialogsAdditionalFields>StatusD__c</lookupDialogsAdditionalFields>
|
<lookupDialogsAdditionalFields>ContactStatusD__c</lookupDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>FULL_NAME</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>ACCOUNT.NAME</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>ACCOUNT.SITE</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>CONTACT.PHONE1</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>CONTACT.PHONE3</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>CONTACT.PHONE4</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>CONTACT.PHONE5</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>CONTACT.PHONE6</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>OtherPhoneD__c</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>MobilePhoneD__c</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>PhoneD__c</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>ACCOUNT.PHONE1</lookupPhoneDialogsAdditionalFields>
|
<lookupPhoneDialogsAdditionalFields>Account.PhoneD__c</lookupPhoneDialogsAdditionalFields>
|
<searchResultsAdditionalFields>FULL_NAME</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>ACCOUNT.NAME</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>ACCOUNT.SITE</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>CONTACT.PHONE1</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>CONTACT.EMAIL</searchResultsAdditionalFields>
|
<searchResultsAdditionalFields>CORE.USERS.ALIAS</searchResultsAdditionalFields>
|
</searchLayouts>
|
<sharingModel>ControlledByParent</sharingModel>
|
<validationRules>
|
<fullName>Contact_information_check</fullName>
|
<active>false</active>
|
<errorConditionFormula>TEXT($User.UserType) <> 'PowerPartner' &&
|
ISBLANK(MobilePhone) &&
|
ISBLANK(Phone) &&
|
ISBLANK(Email)</errorConditionFormula>
|
<errorMessage>Mobile phone,telephone and E-mail,choose one to fill out at least.</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Dealer_Can_Not_Update</fullName>
|
<active>true</active>
|
<errorConditionFormula>TEXT($User.UserType) = 'PowerPartner' && NOT(IsNew__c) &&
|
(
|
ISCHANGED(AccountId) ||
|
ISCHANGED(FirstName) ||
|
ISCHANGED(LastName) ||
|
ISCHANGED(Department) ||
|
ISCHANGED(OwnerId)
|
)</errorConditionFormula>
|
<errorMessage>Dealer can not update these fields.(Account,Name,Department,Owner,ANI,BS,IE,NDT,RVI)</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Dealer_Cancel_Contact_Check</fullName>
|
<active>true</active>
|
<errorConditionFormula>TEXT($User.UserType) = 'PowerPartner' &&
|
TEXT(ContactStatusD__c) = 'Cancel' && ISBLANK(CancelReasonD__c)</errorConditionFormula>
|
<errorDisplayField>CancelReasonD__c</errorDisplayField>
|
<errorMessage>Must input cancel reason.</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>Dealer_Contact_information_check</fullName>
|
<active>true</active>
|
<errorConditionFormula>TEXT($User.UserType) = 'PowerPartner' &&
|
ISBLANK(MobilePhoneD__c) &&
|
ISBLANK(PhoneD__c) &&
|
ISBLANK(EmailD__c)</errorConditionFormula>
|
<errorMessage>Mobile phone,telephone and E-mail,choose one to fill out at least.</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>check_Contact</fullName>
|
<active>false</active>
|
<errorConditionFormula>!ISNEW() && ( $Profile.Id == '00e28000000YQMx' || $Profile.Id == '00e28000001sZE6' || $User.Id == '00528000000YWC6' || $User.Id == '00528000000YWE7') &&( CreatedById !='00528000000YWC6' && CreatedById !='00528000000YWE7' && CreatedBy.ProfileId != '00e28000000YQMx' && CreatedBy.ProfileId != '00e28000001sZE6')</errorConditionFormula>
|
<errorMessage>不能修改联系人信息。</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>check_Contact_new</fullName>
|
<active>true</active>
|
<description>不能修改联系人信息。</description>
|
<errorConditionFormula>!ISNEW() && (CONTAINS($Label.TechnicalService,LEFT( $User.Id ,15)) || $User.Id == '00528000000YWC6' || $User.Id == '00528000000YWE7') &&( CreatedById !='00528000000YWC6' && CreatedById !='00528000000YWE7' && !CONTAINS($Label.TechnicalService,LEFT(CreatedById,15)))</errorConditionFormula>
|
<errorMessage>不能修改联系人信息。</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>check_dContact</fullName>
|
<active>false</active>
|
<errorConditionFormula>(AccountRecordTypyID__c ='012280000005gnE' || AccountRecordTypyID__c ='01228000000TF3Q') && ISNEW() && ( $Profile.Id == '00e28000000YQMx' || $Profile.Id == '00e28000001sZE6' || $User.Id == '00528000000YWC6' || $User.Id == '00528000000YWE7')</errorConditionFormula>
|
<errorMessage>不能在代理商公司下创建联系人</errorMessage>
|
</validationRules>
|
<validationRules>
|
<fullName>check_dContact_new</fullName>
|
<active>true</active>
|
<description>新的获取简档ID</description>
|
<errorConditionFormula>(AccountRecordTypyID__c ='012280000005gnE' || AccountRecordTypyID__c ='01228000000TF3Q') && ISNEW() && ( CONTAINS($Label.TechnicalService,LEFT($User.Id,15)) || $User.Id == '00528000000YWC6' || $User.Id == '00528000000YWE7')</errorConditionFormula>
|
<errorMessage>不能在代理商公司下创建联系人</errorMessage>
|
</validationRules>
|
<webLinks>
|
<fullName>GoogleMaps</fullName>
|
<availability>online</availability>
|
<displayType>link</displayType>
|
<encodingKey>UTF-8</encodingKey>
|
<hasMenubar>false</hasMenubar>
|
<hasScrollbars>true</hasScrollbars>
|
<hasToolbar>false</hasToolbar>
|
<height>600</height>
|
<isResizable>true</isResizable>
|
<linkType>url</linkType>
|
<masterLabel>Google Maps</masterLabel>
|
<openType>newWindow</openType>
|
<position>none</position>
|
<protected>false</protected>
|
<showsLocation>false</showsLocation>
|
<showsStatus>false</showsStatus>
|
<url>http://maps.google.com/maps?f=q&hl=en&q={!Contact_MailingStreet}+{!Contact_MailingCity}+{!Contact_MailingState}&om=1</url>
|
</webLinks>
|
<webLinks>
|
<fullName>GoogleSearch</fullName>
|
<availability>online</availability>
|
<displayType>link</displayType>
|
<encodingKey>UTF-8</encodingKey>
|
<hasMenubar>false</hasMenubar>
|
<hasScrollbars>true</hasScrollbars>
|
<hasToolbar>false</hasToolbar>
|
<height>600</height>
|
<isResizable>true</isResizable>
|
<linkType>url</linkType>
|
<masterLabel>Google Search</masterLabel>
|
<openType>newWindow</openType>
|
<position>none</position>
|
<protected>false</protected>
|
<showsLocation>false</showsLocation>
|
<showsStatus>false</showsStatus>
|
<url>http://www.google.com/search?q={!Contact_FirstName} {!Contact_LastName}</url>
|
</webLinks>
|
<webLinks>
|
<fullName>New_Contact</fullName>
|
<availability>online</availability>
|
<displayType>massActionButton</displayType>
|
<linkType>javascript</linkType>
|
<masterLabel>New Contact</masterLabel>
|
<openType>onClickJavaScript</openType>
|
<protected>false</protected>
|
<requireRowSelection>false</requireRowSelection>
|
<url>var foo = function() {
|
|
if ('{!Account.AccountStatus__c}' == 'Cancel'){
|
alert ("客户为取消状态,不能创建联系人!");
|
return;
|
}
|
|
var url = "003/e?retURL=%2F{!URLENCODE(Account.Id)}&con4={!URLENCODE(Account.Name)}&con4_lkid={!URLENCODE(Account.Id)}&00NN0000001kF6n={!URLENCODE(Account.PhoneD__c)}&00NN0000001kF6J={!URLENCODE(Account.FaxD__c)}&00N2800000B346F={!URLENCODE(Account.PhoneD__c)}&00N2800000B3468={!URLENCODE(Account.FaxD__c)}&00N2800000B345s={!URLENCODE(Account.Address1D__c)}&00N2800000B346H={!URLENCODE(Account.PostCodeD__c)}&00N28000002VRVO={!URLENCODE(Account.Address1D__c)}&00N28000002VRZf={!URLENCODE(Account.PostCodeD__c)}";
|
var segment = "{!Account.ProductSegment__c}";
|
if (segment == "BS") {
|
url = url + "&00N28000002VRZk=1";
|
} else if (segment == "IE") {
|
url = url + "&00N28000002VRZp=1";
|
} else if (segment == "RVI") {
|
url = url + "&00N28000002VRZz=1";
|
} else if (segment == "NDT") {
|
url = url + "&00N28000002VRa4=1";
|
} else if (segment == "ANI") {
|
url = url + "&00N28000002VRa9=1";
|
}
|
window.top.location.href = url;
|
|
}
|
|
foo();</url>
|
</webLinks>
|
<webLinks>
|
<fullName>New_Contact_BS</fullName>
|
<availability>online</availability>
|
<displayType>massActionButton</displayType>
|
<linkType>javascript</linkType>
|
<masterLabel>New Contact BS</masterLabel>
|
<openType>onClickJavaScript</openType>
|
<protected>false</protected>
|
<requireRowSelection>false</requireRowSelection>
|
<url>var foo = function() {
|
|
if ('{!Account.AccountStatus__c}' == 'Cancel'){
|
alert ("客户为取消状态,不能创建联系人!");
|
return;
|
}
|
|
var url = "003/e?retURL=%2F{!URLENCODE(Account.Id)}&con4={!URLENCODE(Account.Name)}&con4_lkid={!URLENCODE(Account.Id)}&con6={!URLENCODE(Account.DepartmentNameD__c)}&00NN0000001kF6n={!URLENCODE(Account.PhoneD__c)}&00NN0000001kF6J={!URLENCODE(Account.FaxD__c)}&00N2800000B346F={!URLENCODE(Account.PhoneD__c)}&00N2800000B3468={!URLENCODE(Account.FaxD__c)}&00N2800000B345s={!URLENCODE(Account.Address1D__c)}&00N2800000B346H={!URLENCODE(Account.PostCodeD__c)}&00N28000002VRVO={!URLENCODE(Account.Address1D__c)}&00N28000002VRZf={!URLENCODE(Account.PostCodeD__c)}";
|
var segment = "{!Account.ProductSegment__c}";
|
if (segment == "BS") {
|
url = url + "&00N28000002VRZk=1";
|
} else if (segment == "IE") {
|
url = url + "&00N28000002VRZp=1";
|
} else if (segment == "RVI") {
|
url = url + "&00N28000002VRZz=1";
|
} else if (segment == "NDT") {
|
url = url + "&00N28000002VRa4=1";
|
} else if (segment == "ANI") {
|
url = url + "&00N28000002VRa9=1";
|
}
|
window.top.location.href = url;
|
|
}
|
|
foo();</url>
|
</webLinks>
|
<webLinks>
|
<fullName>SendGmail</fullName>
|
<availability>online</availability>
|
<displayType>link</displayType>
|
<encodingKey>UTF-8</encodingKey>
|
<hasMenubar>false</hasMenubar>
|
<hasScrollbars>true</hasScrollbars>
|
<hasToolbar>false</hasToolbar>
|
<height>600</height>
|
<isResizable>true</isResizable>
|
<linkType>url</linkType>
|
<masterLabel>Send Gmail</masterLabel>
|
<openType>newWindow</openType>
|
<position>none</position>
|
<protected>false</protected>
|
<showsLocation>false</showsLocation>
|
<showsStatus>false</showsStatus>
|
<url>https://mail.google.com/mail?view=cm&tf=0&to={!Contact_Email}<{!Contact_LastName}, {!Contact_FirstName}>&tf=1</url>
|
</webLinks>
|
<webLinks>
|
<fullName>YahooMaps</fullName>
|
<availability>online</availability>
|
<displayType>link</displayType>
|
<encodingKey>UTF-8</encodingKey>
|
<hasMenubar>true</hasMenubar>
|
<hasScrollbars>true</hasScrollbars>
|
<hasToolbar>true</hasToolbar>
|
<height>600</height>
|
<isResizable>true</isResizable>
|
<linkType>url</linkType>
|
<masterLabel>Yahoo! Maps</masterLabel>
|
<openType>newWindow</openType>
|
<position>none</position>
|
<protected>false</protected>
|
<showsLocation>true</showsLocation>
|
<showsStatus>true</showsStatus>
|
<url>http://maps.yahoo.com/py/maps.py?cn={!Contact_MailingCountry}&csz={!Contact_MailingCity}+{!Contact_MailingState}+{!Contact_MailingPostalCode}+&addr={!Contact_MailingAddress}</url>
|
</webLinks>
|
<webLinks>
|
<fullName>YahooWeather</fullName>
|
<availability>online</availability>
|
<displayType>link</displayType>
|
<encodingKey>UTF-8</encodingKey>
|
<hasMenubar>false</hasMenubar>
|
<hasScrollbars>true</hasScrollbars>
|
<hasToolbar>false</hasToolbar>
|
<height>600</height>
|
<isResizable>true</isResizable>
|
<linkType>url</linkType>
|
<masterLabel>Yahoo! Weather</masterLabel>
|
<openType>newWindow</openType>
|
<position>none</position>
|
<protected>false</protected>
|
<showsLocation>false</showsLocation>
|
<showsStatus>false</showsStatus>
|
<url>http://weather.yahoo.com/search/weather2?p={!Contact_MailingPostalCode}</url>
|
</webLinks>
|
<webLinks>
|
<fullName>approval_process</fullName>
|
<availability>online</availability>
|
<displayType>button</displayType>
|
<linkType>javascript</linkType>
|
<masterLabel>Approval Process</masterLabel>
|
<openType>onClickJavaScript</openType>
|
<protected>false</protected>
|
<url>{!RequireScript("/soap/ajax/51.0/connection.js")}
|
{!RequireScript("/soap/ajax/51.0/apex.js")}
|
|
var getConnectDMLErrorMessages = function (results) {
|
var messages = [],
|
i = 0,
|
len = results.length,
|
r;
|
for (; i < len; i++) {
|
r = results[i];
|
if (! r.getBoolean("success")) {
|
messages = messages.concat(getConnectDMLMessagesOfAResult(r));
|
}
|
}
|
return messages;
|
};
|
var getConnectDMLMessagesOfAResult = function (res) {
|
var messages = [],
|
errors = res.getArray("errors"),
|
i = 0,
|
len = errors.length,
|
e;
|
for (; i < len; i++) {
|
e = errors[i];
|
messages.push(e.message + " " + getConnectDMLErrorFields(e));
|
}
|
return messages;
|
};
|
var getConnectDMLErrorFields = function (error) {
|
var fields = error.getArray('fields');
|
if (fields.length > 0) {
|
return "[" + fields.join(",") + "]"
|
} else {
|
return "";
|
}
|
};
|
|
var foo = function() {
|
//技术服务部或相关用户客户提交审批字段验证
|
var TechnicalService = '{!Contact.TechnicalServiceCreated__c}';
|
if (TechnicalService == '1') {
|
var contactId= '{!Contact.Id}';
|
var olych = sforce.apex.execute("AccountWebService", "ContactRequiredField", {contactId:contactId});
|
if (olych != '1'){
|
alert(olych);
|
return;
|
}
|
}
|
|
var now_status = '{!Contact.Address1_IsChanged__c}' == '1' ||
|
'{!Contact.Address2_IsChanged__c}' == '1' ||
|
'{!Contact.Address3_IsChanged__c}' == '1' ||
|
'{!Contact.CancelReason_IsChanged__c}' == '1' ||
|
'{!Contact.Contact_Status_IsChanged__c}' == '1' ||
|
'{!Contact.Email_IsChanged__c}' == '1' ||
|
'{!Contact.Fax_IsChanged__c}' == '1' ||
|
'{!Contact.MobilePhone_IsChanged__c}' == '1' ||
|
'{!Contact.OtherPhone_IsChanged__c}' == '1' ||
|
'{!Contact.Phone_IsChanged__c}' == '1' ||
|
'{!Contact.Postcode_IsChanged__c}' == '1' ||
|
'{!Contact.Title_IsChanged__c}' == '1';
|
//var proname = '{!$Profile.Name}';
|
var proname_new = {!CONTAINS($Label.AccountButonApproval_Process_proname,LEFT($User.Id,15))};
|
//if (!now_status && proname != 'SSBG LS') {
|
//alert("联系人信息没有变化,无需提交审批。");
|
//return;
|
//}
|
|
if (!now_status && proname_new != true) {
|
alert("联系人信息没有变化,无需提交审批。");
|
return;
|
}
|
|
if (!confirm("一旦提交此记录以待批准,根据您的设置您可能不再能够编辑此记录或将他从批准过程中调回。是否继续?")) {
|
return;
|
}
|
|
var rac = new sforce.SObject("Contact");
|
rac.Id = "{!Contact.Id}";
|
rac.StatusD__c = "Completed";
|
rac.SubmitUser__c = "{!$User.Id}";
|
rac.DealerSelectOwner__c = "{!Contact.AccountSelectOwner__c}";
|
var result = sforce.connection.update([rac]);
|
var messages = getConnectDMLErrorMessages(result);
|
if (messages.length > 0) {
|
alert(messages.join("\n"));
|
return;
|
}
|
|
var request = new sforce.ProcessSubmitRequest();
|
request.objectId = "{!Contact.Id}";
|
var processResults = sforce.connection.process([request]);
|
if (processResults[0].errors != null) {
|
var back = new sforce.SObject("Contact");
|
back.Id = "{!Contact.Id}";
|
back.StatusD__c = "Draft";
|
var backResult = sforce.connection.update([back]);
|
backMessages = getConnectDMLErrorMessages(backResult);
|
if (backMessages.length > 0) {
|
alert(backMessages.join("\n"));
|
return;
|
}
|
var errmsg = processResults[0].errors.message.toString();
|
alert(errmsg);
|
return;
|
}
|
window.location.reload();
|
};
|
foo();</url>
|
</webLinks>
|
</CustomObject>
|