Skip to main content
답변 2개
  1. 2019년 6월 6일 오전 7:39
    Hi Nithya,

    Try the below query, it may be helpful for you:

    List<Opportunity> oppList = [SELECT Id, Name, Account.Name,(SELECT Quantity, UnitPrice, TotalPrice,PricebookEntry.Name, PricebookEntry.Product2.Family FROM OpportunityLineItems) FROM Opportunity WHERE Id = :'0060o00001D774JAAR'];

    System.debug('oppList-->'+oppList);

    I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

    Thanks,

    Ajay Dubedi
0/9000