buli
2022-04-08 f1c525740c6a45b875d8ed96fb0ddb68c97ef3df
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';