From df5aa8087c2c7328dc4188f05d762c8df1f0b07a Mon Sep 17 00:00:00 2001 From: buli <137736985@qq.com> Date: 星期二, 18 七月 2023 09:19:12 +0800 Subject: [PATCH] changeorg --- force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml b/force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml index 0b3da26..43ef2a1 100644 --- a/force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml +++ b/force-app/main/default/objects/Maintenance_Contract_Estimate__c/webLinks/CustomAnew.webLink-meta.xml @@ -14,7 +14,13 @@ var ids = {!GETRECORDIDS( $ObjectType.Maintenance_Contract_Estimate__c)}; if (ids.length == 1) { if("{!Maintenance_Contract__c.RecordTypeId}" == "01210000000gTYq"){ - window.open( "/apex/SelectAssetEstimateVM?copyid=" + ids[0], "_top"); + //URF闄愭鍚堝悓2鏈� LY 20220902 start + if("{!Maintenance_Contract__c.URF_Contract__c}"==true){ + window.open( "/apex/SelectAssetEstimateURF?copyid=" + ids[0], "_top"); + }else { + window.open( "/apex/SelectAssetEstimateVM?copyid=" + ids[0], "_top"); + } + //URF闄愭鍚堝悓2鏈� LY 20220902 end }else{ window.open( "/apex/SelectAssetEstimate?copyid=" + ids[0], "_top"); } -- Gitblit v1.9.1