| | |
| | | Order_ForHospital__c,Deliver_date__c,Order_Reason__c, |
| | | Order_date__c,Total_amount__c,Order_ProType__c, |
| | | Offers_Price__c,Order_effective_contact__r.Business_Assistant__r.Province_Text__c |
| | | ,Order_effective_contact__r.OSH_Dealer__c //20230323 lt DB202303088261 两票制 add |
| | | From Consumable_order__c |
| | | Where Id =:ESetId]; |
| | | if (qs.size()>0){ |
| | |
| | | '河南省' => '奥林巴斯(北京)销售服务有限公司', |
| | | '浙江省' => '奥林巴斯(北京)销售服务有限公司上海分公司', |
| | | '安徽省' => '奥林巴斯(北京)销售服务有限公司上海分公司', |
| | | 'OSH-安徽省' => '奥林巴斯贸易(上海)有限公司', //20230323 lt DB202303088261 两票制 add |
| | | '江西省' => '奥林巴斯(北京)销售服务有限公司上海分公司', |
| | | '福建省' => '奥林巴斯(北京)销售服务有限公司上海分公司', |
| | | '江苏省' => '奥林巴斯(北京)销售服务有限公司上海分公司', |
| | |
| | | //CHAN-B42D6F 安徽ET特约经销商来的询价 SAP上传省 紧急对应为北京 以后会修改 TODO |
| | | //CHAN-BTF64C 安徽ENG经销商的询价默认SAP上传省修改 update by rentongxiao 2020-09-14 start |
| | | // String province = coc.Order_effective_contact__r.Business_Assistant__r.Province_Text__c == '安徽省' ? '北京市' : coc.Order_effective_contact__r.Business_Assistant__r.Province_Text__c; |
| | | String province = coc.Order_effective_contact__r.Business_Assistant__r.Province_Text__c == '安徽省' && coc.Order_ProType__c == 'ET' ? '北京市' : coc.Order_effective_contact__r.Business_Assistant__r.Province_Text__c; |
| | | //20230323 lt DB202303088261 两票制 start |
| | | String province = ''; |
| | | if(coc.Order_effective_contact__r.OSH_Dealer__c == TRUE){ |
| | | province = 'OSH-安徽省'; |
| | | }else if(coc.Order_effective_contact__r.Business_Assistant__r.Province_Text__c == '安徽省' && coc.Order_ProType__c == 'ET'){ |
| | | province = '北京市'; |
| | | }else{ |
| | | province = coc.Order_effective_contact__r.Business_Assistant__r.Province_Text__c; |
| | | } |
| | | // String province = coc.Order_effective_contact__r.Business_Assistant__r.Province_Text__c == '安徽省' && coc.Order_ProType__c == 'ET' ? '北京市' : coc.Order_effective_contact__r.Business_Assistant__r.Province_Text__c; |
| | | //20230323 lt DB202303088261 两票制 end |
| | | //CHAN-BTF64C 安徽ENG经销商的询价默认SAP上传省修改 update by rentongxiao 2020-09-14 end |
| | | |
| | | |