高章伟
2023-03-03 d8dc84a3d56df839895f1c417a4d9cbee763d262
force-app/main/default/objects/TransferApply__c/webLinks/TransferApplyPDF.webLink-meta.xml
@@ -3,7 +3,7 @@
    <fullName>TransferApplyPDF</fullName>
    <availability>online</availability>
    <description>update lxy 2021/7/9 按钮名字修改 XLII-C4R8NL 课题
ljh SFDC-C56D3K  已下架-&gt;已批准</description>
20210805 ljh SFDC-C56D3K 已下架-&gt;已批准</description>
    <displayType>button</displayType>
    <linkType>javascript</linkType>
    <masterLabel>调拨明细确认单PDF</masterLabel>
@@ -11,10 +11,10 @@
    <protected>false</protected>
    <url>{!RequireScript(&quot;/soap/ajax/51.0/connection.js&quot;)}
{!RequireScript(&quot;/soap/ajax/51.0/apex.js&quot;)}
//2021-10-22 gwy 版本更改为51.0
var foo = function() {
    var sql = &quot;select Id from TransferApplySummary__c where TransferApply__c = &apos;{!TransferApply__c.Id}&apos; and ApprovalDetails__c &gt; 0 and TAS_Status__c != &apos;取消&apos;&quot;;
   //Yi_StockDown__c-&gt;ApprovalDetails__c  20210805 ljh SFDC-C56D3K 已下架-&gt;已批准
    var sqlResult = sforce.connection.query(sql);
    var records = sqlResult.getArray(&quot;records&quot;);
    var size =records.length;