<?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>true</enableSearch>
|
<enableSharing>true</enableSharing>
|
<enableStreamingApi>true</enableStreamingApi>
|
<externalSharingModel>Private</externalSharingModel>
|
<fields>
|
<fullName>OrderNumber_del__c</fullName>
|
<deleteConstraint>SetNull</deleteConstraint>
|
<externalId>false</externalId>
|
<label>OrderNumber</label>
|
<referenceTo>Order</referenceTo>
|
<relationshipName>ProfitCalculationTables_del</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>
|
<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>ProfitTable</label>
|
<nameField>
|
<label>ProfitTable</label>
|
<type>Text</type>
|
</nameField>
|
<pluralLabel>ProfitTables</pluralLabel>
|
<searchLayouts/>
|
<sharingModel>Private</sharingModel>
|
<visibility>Public</visibility>
|
<webLinks>
|
<fullName>New_ProfitTable</fullName>
|
<availability>online</availability>
|
<displayType>massActionButton</displayType>
|
<linkType>javascript</linkType>
|
<masterLabel>New ProfitTable</masterLabel>
|
<openType>onClickJavaScript</openType>
|
<protected>false</protected>
|
<requireRowSelection>true</requireRowSelection>
|
<url>var ordernumber = '{!Order.OrderNumber}';
|
var orderid = '{!Order.Id}';
|
var productsegment = '{!Order.ProductSegment__c}';
|
|
var url = 'a07/e?retURL=%2Fa07%2Fo&CF00N2800000CHqeb='+ encodeURIComponent(ordernumber) + '&CF00N2800000CHqeb_lkid='+ encodeURIComponent(orderid) + '&00N2800000CHqep='+ encodeURIComponent(productsegment);
|
window.top.location.href = url;</url>
|
</webLinks>
|
</CustomObject>
|