<?xml version="1.0" encoding="UTF-8"?>
|
<WebLink xmlns="http://soap.sforce.com/2006/04/metadata">
|
<fullName>Contrary_Logical_del</fullName>
|
<availability>online</availability>
|
<description>反向逻辑删除招投标</description>
|
<displayType>button</displayType>
|
<linkType>javascript</linkType>
|
<masterLabel>反逻辑删除</masterLabel>
|
<openType>onClickJavaScript</openType>
|
<protected>false</protected>
|
<url>{!RequireScript("/soap/ajax/51.0/connection.js")}
|
{!RequireScript("/soap/ajax/51.0/apex.js")}
|
{!RequireScript("/resource/CommonUtilJs")}
|
//2021-10-22 gwy 版本更改为51.0
|
var ContraryL = function(){
|
var DTenId = "{!Tender_information__c.Id}";//删除的招投标
|
var rtn = sforce.apex.execute("TenderWebService", "ContraryLogicalDel", {DTenId : DTenId } );
|
//重新加载页面
|
window.location.reload();
|
}
|
ContraryL();</url>
|
</WebLink>
|