| | |
| | | mpdDetailsRecordsView[i].mpdrdd.Key_product_155P__c = mpdDetailsRecordsView[i].Prod.Key_product_155P__c; |
| | | mpdDetailsRecordsView[i].mpdrdd.Celon_Product__c = mpdDetailsRecordsView[i].Prod.Celon_Product__c; |
| | | // FY23修改 WLIG-CFV4AV 重点产品维护(新)end |
| | | // 20221020 ljh SWAG-CJ98AJ start |
| | | mpdDetailsRecordsView[i].mpdrdd.suitDepartment__c = mpdDetailsRecordsView[i].Prod.suitDepartment__c; |
| | | // 20221020 ljh SWAG-CJ98AJ end |
| | | } |
| | | if(RecordTypeName.equals('GuranteeMain')){ |
| | | Integer Entend_gurantee_period_all = mpdDetailsRecordsView[i].Prod.Entend_gurantee_period_all__c.intValue(); |
| | |
| | | InsAfterDel.Celon_Product__c = ass.mpdrdd.Celon_Product__c; |
| | | InsAfterDel.Celon_Product_Old__c = ass.Prod.Celon_Product__c; |
| | | // FY23修改 WLIG-CFV4AV 重点产品维护(新)end |
| | | // 20221020 ljh SWAG-CJ98AJ start |
| | | InsAfterDel.suitDepartment__c = ass.mpdrdd.suitDepartment__c; |
| | | InsAfterDel.suitDepartment_Old__c = ass.Prod.suitDepartment__c; |
| | | // 20221020 ljh SWAG-CJ98AJ end |
| | | |
| | | } |
| | | when 'GuranteeMain'{ |
| | | //InsAfterDel.RecordTypeName__c = 'GuranteeMain'; |
| | |
| | | upMpd.Key_product_155P__c = ass.mpded.Key_product_155P__c; |
| | | upMpd.Celon_Product__c = ass.mpded.Celon_Product__c; |
| | | // FY23修改 WLIG-CFV4AV 重点产品维护(新)end |
| | | // 20221020 ljh SWAG-CJ98AJ start |
| | | upMpd.suitDepartment__c = ass.mpded.suitDepartment__c; |
| | | // 20221020 ljh SWAG-CJ98AJ end |
| | | } |
| | | when 'GuranteeMain'{ |
| | | upMpd.Entend_gurantee_period__c=ass.mpded.Entend_gurantee_period__c; |