function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sudeep SinghSudeep Singh 

Inner Query

There are three objects .
Quote line group is Master-Detail with Quote.
Quote line is related to Quote Line group.

I need to query in SOQL fields of Quote Line group and Quote line based on Quote object .

How to Achieve this
Best Answer chosen by Sudeep Singh
Virendra ChouhanVirendra Chouhan

Hi Sudeep,

You can do SOQL on Quote Line Group based on Quote someting like:

SELECT Id, {QUOTE fields based on dot operator }, (SELECT id from Quote_lines) from QUOTE_LINE_GROUP WHER QuoteId =: quoteId

Assumption Quote line is child of Quote line group.