Activity Forums Salesforce® Discussions How to fetch ProductLineItem Id for opportunity in Salesforce?

  • Sumit

    Member
    May 15, 2020 at 1:33 pm

    List<Opportunity> oppWithItems = [Select Id, Name,
    (Select PricebookEntry.Product2Id FROM OpportunityLineItem) FROM Opportunity];

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos