<?xml version="1.0" encoding="UTF-8"?>
|
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Inventory_Page</fullName>
|
<availability>online</availability>
|
<description>IF(NOTISBLANK(Asset__c), '/apex/LostReportEditAsset?id=', '')</description>
|
<displayType>button</displayType>
|
<linkType>javascript</linkType>
|
<masterLabel>遗失报告画面</masterLabel>
|
<openType>onClickJavaScript</openType>
|
<protected>false</protected>
|
<url>var urlstr = '/apex/LostReportEditAsset?id={!LostReport__c.Id}';
|
if ('{!LostReport__c.Asset__c}' == '' || '{!LostReport__c.Asset__c}' == null) {
|
urlstr = '/apex/LostReportEdit?id={!LostReport__c.Id}';
|
}
|
|
window.location.href = urlstr;</url>
|
</WebLink>
|