From ca1c0956ec5d16a44bd0a2c10e0e49db37c0fb32 Mon Sep 17 00:00:00 2001 From: 黄千龙 <huangqianlong@prec-tech.com> Date: 星期三, 08 三月 2023 09:35:52 +0800 Subject: [PATCH] 20230307询价2期Batch增加入Schedule --- force-app/main/default/objects/Agency_Opportunity__c/webLinks/newOpp.webLink-meta.xml | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/force-app/main/default/objects/Agency_Opportunity__c/webLinks/newOpp.webLink-meta.xml b/force-app/main/default/objects/Agency_Opportunity__c/webLinks/newOpp.webLink-meta.xml index 7ea43a7..a4f448f 100644 --- a/force-app/main/default/objects/Agency_Opportunity__c/webLinks/newOpp.webLink-meta.xml +++ b/force-app/main/default/objects/Agency_Opportunity__c/webLinks/newOpp.webLink-meta.xml @@ -9,7 +9,7 @@ <protected>false</protected> <url>{!REQUIRESCRIPT("/soap/ajax/51.0/connection.js")}; {!REQUIRESCRIPT("/soap/ajax/51.0/apex.js")}; -//2021-10-22 gwy 鐗堟湰鏇存敼涓�51.0 + // 鑾峰彇SI浜у搧鍖哄垎鐨勫悕瀛� var ProductTypes_query = "Select id, Name From ProductTypes__c WHERE id = 'a2b10000001Hvre'"; var ProductTypes_records = sforce.connection.query(ProductTypes_query).getArray('records'); @@ -80,11 +80,11 @@ fId_Department_Class__c = record.DurableId.toString().split('.')[1]; } var accountName = "{!Agency_Opportunity__c.Department_Class_Opp_Name__c}" + ' ' + "{!Agency_Opportunity__c.Department_Name_Text__c}"; -console.log(accountName ); +//alert(accountName ); var AccountQuery = "Select id, name From Account WHERE Name = \'" + accountName +"\'"; -console.log(AccountQuery ); +//alert(AccountQuery ); var accountrecords = sforce.connection.query(AccountQuery).getArray('records'); -console.log(accountrecords ); +//alert(accountrecords ); var accountID = ''; if(accountrecords.length > 0){ accountID = accountrecords[0].Id; -- Gitblit v1.9.1