From bfca7a84bec815da594f1d12558535ed06d2490b Mon Sep 17 00:00:00 2001
From: 沙世明 <shashiming@prec-tech.com>
Date: 星期二, 13 九月 2022 09:57:32 +0800
Subject: [PATCH] 本地提交备份
---
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..e0cb05d 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}"){
+ 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