<?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>false</enableActivities>
|
<enableBulkApi>true</enableBulkApi>
|
<enableChangeDataCapture>false</enableChangeDataCapture>
|
<enableFeeds>false</enableFeeds>
|
<enableHistory>false</enableHistory>
|
<enableReports>false</enableReports>
|
<enableSearch>false</enableSearch>
|
<enableSharing>true</enableSharing>
|
<enableStreamingApi>true</enableStreamingApi>
|
<externalSharingModel>ReadWrite</externalSharingModel>
|
<fields>
|
<fullName>OppNumber__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<label>OppNumber</label>
|
<referenceTo>Opportunity</referenceTo>
|
<relationshipLabel>利益计算表</relationshipLabel>
|
<relationshipName>ProfitTables_Inquiry</relationshipName>
|
<required>false</required>
|
<trackTrending>false</trackTrending>
|
<type>Lookup</type>
|
</fields>
|
<fields>
|
<fullName>ProductSegment__c</fullName>
|
<externalId>false</externalId>
|
<label>ProductSegment</label>
|
<required>false</required>
|
<trackTrending>false</trackTrending>
|
<type>Picklist</type>
|
<valueSet>
|
<restricted>true</restricted>
|
<valueSetDefinition>
|
<sorted>false</sorted>
|
<value>
|
<fullName>BS</fullName>
|
<default>false</default>
|
<label>BS</label>
|
</value>
|
<value>
|
<fullName>IE</fullName>
|
<default>false</default>
|
<label>IE</label>
|
</value>
|
<value>
|
<fullName>RVI</fullName>
|
<default>false</default>
|
<label>RVI</label>
|
</value>
|
<value>
|
<fullName>NDT</fullName>
|
<default>false</default>
|
<label>NDT</label>
|
</value>
|
<value>
|
<fullName>ANI</fullName>
|
<default>false</default>
|
<label>ANI</label>
|
</value>
|
</valueSetDefinition>
|
</valueSet>
|
</fields>
|
<label>利益计算表</label>
|
<nameField>
|
<label>ProfitTable_Inquiry Name</label>
|
<type>Text</type>
|
</nameField>
|
<pluralLabel>利益计算表</pluralLabel>
|
<searchLayouts/>
|
<sharingModel>ReadWrite</sharingModel>
|
<visibility>Public</visibility>
|
<webLinks>
|
<fullName>New_ProfitTableInq</fullName>
|
<availability>online</availability>
|
<displayType>massActionButton</displayType>
|
<linkType>javascript</linkType>
|
<masterLabel>New ProfitTableInq</masterLabel>
|
<openType>onClickJavaScript</openType>
|
<protected>false</protected>
|
<requireRowSelection>true</requireRowSelection>
|
<url>var oppname = '{!Opportunity.Name}';
|
var oppid = '{!Opportunity.Id}';
|
var productsegment = '{!Opportunity.ProductSegment__c}';
|
|
var url = 'a0J/e?retURL=%2F' + encodeURIComponent(oppid) + '&00N0K00000JkT6G='+ encodeURIComponent(productsegment) + '&CF00N0K00000JkT6B_lkid='+ encodeURIComponent(oppid) + '&CF00N0K00000JkT6B='+ encodeURIComponent(oppname) ;
|
|
window.top.location.href = url;</url>
|
</webLinks>
|
</CustomObject>
|