Activity Forums Salesforce® Discussions How to fetch OpportunityLineItem from Opportunity in Salesforce?

  • Aditya

    Member
    August 22, 2020 at 10:06 am

    when we query from parent -> child (i.e. from Opportunity to OpportunityLineItem), we don't store field information from the OpportunityLineItem on the Opportunity object. They are stored on the OpportunityLineItem object, and because an Opportunity can have more than one line item, they are stored in a List.

  • Pooja

    Member
    August 23, 2020 at 5:32 am

    when we query from parent -> child (i.e. from Opportunity to OpportunityLineItem), we don't store field information from the OpportunityLineItem on the Opportunity object.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos