+ Start a Discussion

Called Child Filed Values From Parent

          I have 2 objects Quote,Quoe-line-item i want to call the line item fields from Quote by using soql query may i know how can i call the child fields from parent object
You can use a query something like  SELECT Id, (SELECT Id from quotelineitem) FROM quote include all the fields you need from quote line items in the sub query.

For more examples on queries refer to :  http://simplysfdc.blogspot.com/2013/09/salesforce-soql-query.html

    It Showing An error
       Didn't understand relationship 'Quote_Item__c' in FROM part of query call. If you are attempting to use a custom relationship, be sure to append the '__r' after the custom relationship name. Please reference your WSDL or the describe call for the appropriate names.
Try this - similar to what Ramu_SFDC posted, but make sure to include the 's' at the end of QuoteLineItems:

SELECT Id, (SELECT Id FROM QuoteLineItems) FROM Quote

If you're still having trouble, could you please post the entire query here?
my bad. Thanks Martha :)