I have to transfer SalesForce data into java but when i wrote quries on opportunity,opportunitylineitem,account null is coming how to join these objects help me.
Here is the SOQL query for getting OpportunityLineitem and Account from Opportunity.
SOQL query:
select id,Accountid, (select id from opportunitylineitems) from Opportunity
Important : Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Hi,
Here is the SOQL query for getting OpportunityLineitem and Account from Opportunity.
SOQL query:
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thanks,
Hitesh Patel
SFDC Certified Developer & Administrator
Thanks.But when u query it in java you will get null value of
opportunitylineitem