<?xml version="1.0" encoding="UTF-8"?> 
 | 
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata"> 
 | 
    <fullName>Fill_other_detail</fullName> 
 | 
    <availability>online</availability> 
 | 
    <displayType>button</displayType> 
 | 
    <linkType>javascript</linkType> 
 | 
    <masterLabel>全入库(Lot)</masterLabel> 
 | 
    <openType>onClickJavaScript</openType> 
 | 
    <protected>false</protected> 
 | 
    <url>{!RequireScript("/soap/ajax/51.0/connection.js")}  
 | 
{!RequireScript("/soap/ajax/51.0/apex.js")}  
 | 
  
 | 
sforce.connection.sessionId = "{!GETSESSIONID()}"; 
 | 
var esid = '{!Equipment_Set__c.Id}'; 
 | 
try { 
 | 
    var rtn = sforce.apex.execute("RentalApplyWebService", "fillOtherDetail", {eSetId: esid}); 
 | 
    if (rtn == '1') { 
 | 
        location.href = "/{!URLENCODE(Equipment_Set__c.Id)}";  
 | 
    } else { 
 | 
        alert(rtn); 
 | 
    } 
 | 
} catch(e) { 
 | 
    alert(e); 
 | 
}</url> 
 | 
</WebLink> 
 |