| | |
| | | |
| | | public Boolean isIEDealer{get; set; } |
| | | |
| | | public String staticResource {get; set;} |
| | | public String opportunityAWSDataId{get; set;} |
| | | |
| | | public NewOpportunityController() { |
| | | baseUrl = URL.getSalesforceBaseUrl().toExternalForm(); |
| | | String path = URL.getCurrentRequestUrl().getPath(); |
| | |
| | | if(acc.compo_Acc__c == 'COMPO客户' && acc.ProductSegment__c == 'IE'){ |
| | | opp.compo_opp__c = true; |
| | | } |
| | | if(acc.UserType__c == 'OEM客户' && acc.ProductSegment__c == 'BS'){ |
| | | /*if(acc.UserType__c == 'OEM客户' && acc.ProductSegment__c == 'BS'){ |
| | | opp.useing__c = 'OEM'; |
| | | } |
| | | }*/ |
| | | opp.AccountId = acc.Id; |
| | | opp.Account = acc; |
| | | opp.ProductSegment__c = acc.ProductSegment__c; |
| | |
| | | opp.Dealer__c = dealerId; |
| | | } |
| | | |
| | | staticResource = JSON.serialize(PIHelper.getPIIntegrationInfo('Opportunity')); |
| | | return null; |
| | | } |
| | | |