| | |
| | | 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; |
| | |
| | | , 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 |
| | | ]; |
| | |
| | | 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); |