From f24a5026dbfb2981e234ce46ed503584c03ce420 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期一, 18 四月 2022 17:49:35 +0800
Subject: [PATCH] SelectAssetEstimateVMController
---
force-app/main/default/classes/NFM104Rest.cls | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/classes/NFM104Rest.cls b/force-app/main/default/classes/NFM104Rest.cls
index 653b2d9..074a13e 100644
--- a/force-app/main/default/classes/NFM104Rest.cls
+++ b/force-app/main/default/classes/NFM104Rest.cls
@@ -23,6 +23,9 @@
public InspectionResultInformation[] InspectionResultInformation;
public FailureInformation[] FailureInformation;
public ActivityInformation[] ActivityInformation;
+ // PK 2021/12/6 start
+ public String AdvancePaymentFlag;
+ // PK 2021/12/6 end
}
global class DiscountInformation {
public String DiscountType;
@@ -144,6 +147,7 @@
, FirstQuotationDate__c, ListPrice__c, TotalPrice__c
, Repair_Discount_Date__c
, CafeteriaFlag__c, MessageGroupNumber__c
+ , Is_RecognitionModel__c
from Repair_Quotation__c
where Name in :quotationNoList
];
@@ -199,7 +203,14 @@
iflog.ErrorLog__c += 'isnot SFDCRepairNo[' + quoteInfo.SFDCRepairNo + ']\'s child\n';
}
}
-
+ // PK 2021/12/6 start
+ if('X'.equals(quoteInfo.AdvancePaymentFlag)){
+ rq.Is_RecognitionModel__c = true;
+ }else{
+ rq.Is_RecognitionModel__c = false;
+ }
+ // PK 2021/12/6 end
+
rq.Name = quoteInfo.SAPQuotationNo;
if (rqUpdateMap.get(rq.Name) == null) {
rqUpdateMap.put(rq.Name, rq);
--
Gitblit v1.9.1