| | |
| | | if (mso.containsKey('00N10000002CpF9')) { |
| | | controller.getRecord().put('Purchase_Type__c', mso.get('00N10000002CpF9')); |
| | | } |
| | | //20220427 |
| | | if (mso.containsKey('00N1m000007YNMM')) { //招标项目Id |
| | | controller.getRecord().put('Tender_information__c', mso.get('00N1m000007YNMM')); |
| | | } |
| | | if (mso.containsKey('00N1m000007YNN0')) { //经销商询价Id |
| | | controller.getRecord().put('Agency_Opportunity__c', mso.get('00N1m000007YNN0')); |
| | | } |
| | | if (mso.containsKey('00N10000008rqHj')) { //经销商询价--招标方式 |
| | | controller.getRecord().put('Sales_Method__c', mso.get('00N10000008rqHj')); |
| | | } |
| | | // 2022-04-13 来源 jz end 0414 lt |
| | | rtTypeId = ApexPages.currentPage().getParameters().get('RecordType'); |
| | | // 20220420 lt OBSAP start |
| | | if (String.isBlank(rtTypeId) && mso.containsKey('RecordTypeId')) { |
| | | rtTypeId = mso.get('RecordTypeId'); |
| | | } |
| | | // 20220420 lt OBSAP end |
| | | obj.put('OwnerId',UserInfo.getUserId()); |
| | | } |
| | | LayoutDescriberHelper.LayoutWrapper LayoutWrapperValue = LayoutDescriberHelper.describeSectionWithFieldsWrapper(rtTypeId, 'Lead','classic'); |