force-app/main/default/classes/IENewOpportunityController.cls
@@ -1,3 +1,10 @@ /** * @description : * @author : ChangeMeIn@UserSettingsUnder.SFDoc * @group : * @last modified on : 04-08-2022 * @last modified by : ChangeMeIn@UserSettingsUnder.SFDoc **/ public with sharing class IENewOpportunityController { public boolean hasError { get; set; } //public boolean isDealerPage { get; set; } @@ -52,6 +59,7 @@ opp.compo_opp__c = true; } opp.AccountId = acc.Id; opp.Name = acc.Name;//dennis updated for test opp.Account = acc; opp.ProductSegment__c = acc.ProductSegment__c; opp.Type = 'Not Traget';