<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Salesforce SOQL query from multiple objects in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-SOQL-query-from-multiple-objects/m-p/2346821#M114173</link>
    <description>&lt;P&gt;Hello @Ramesh KR​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It's ok to query multiple objects by SOQL query in tSalesforceInput component if there are relationships between them.&lt;/P&gt;&lt;P&gt;e.g. the below query is working fine in tSalesforceInput component&lt;/P&gt;&lt;P&gt;SELECT Id, Name, Account.Name&lt;/P&gt;&lt;P&gt;FROM Contact &lt;/P&gt;&lt;P&gt;WHERE Account.Industry = 'media'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check if you have created relationship  Account and Opportunity in Quote object in the salesforce console?&lt;/P&gt;&lt;P&gt;if yes, you can query the fields of Account and Opportunity in Quote object by using SOQL like&lt;/P&gt;&lt;P&gt;&lt;B&gt;Select Id, Opportunity.Company__c, Account.Customer_ID__c ... FROM Quote ...&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please refer to &lt;/P&gt;&lt;P&gt;https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_query_using.htm&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 02:51:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-06-01T02:51:10Z</dc:date>
    <item>
      <title>Salesforce SOQL query from multiple objects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-SOQL-query-from-multiple-objects/m-p/2346820#M114172</link>
      <description>&lt;P&gt;I am trying to get quote data from an existing SOQL query that works fine in Salesforce and the same works in Jitterbit, and the query involves 3 objects (Account, Opportunity and Quote)&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;soql query i am trying to execute 'SELECT Id,Opportunity_Company__c, Account_Customer_ID__c, Opportunity_Customer_Number__c, Ship_To_Number__c, Tax, Opportunity_Account_Territory__c, TotalPrice, Opportunity_Sales_Rep_Code__c, Opportunity_Id,Opportunity_Name,Quote_Number__c, ,Opportunity_Currency_Code_f__c,Status FROM Quote where Opportunity_Account_Division__c = 'Industrial Products' and Opportunity_RecordType.Name = 'Project Opportunity Record' And Opportunity_Company__c != null And Opportunity_Customer_Number__c != null And Opportunity_Sales_Rep_Code__c != null Order by Opportunity_Company__c'&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;I have set the column delimiter as '_' under advanced settings of the tsalesforceinput object. Below is the error i am getting&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;&lt;B&gt;No such column 'Opportunity_Epicor_Company__c' on entity 'Quote'&lt;/B&gt;&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Is there a way to execute soql query or do i need to get data separately and compare.&lt;/P&gt;&lt;P&gt;​&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 21:45:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-SOQL-query-from-multiple-objects/m-p/2346820#M114172</guid>
      <dc:creator>RKR1685519471</dc:creator>
      <dc:date>2024-11-15T21:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce SOQL query from multiple objects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-SOQL-query-from-multiple-objects/m-p/2346821#M114173</link>
      <description>&lt;P&gt;Hello @Ramesh KR​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;It's ok to query multiple objects by SOQL query in tSalesforceInput component if there are relationships between them.&lt;/P&gt;&lt;P&gt;e.g. the below query is working fine in tSalesforceInput component&lt;/P&gt;&lt;P&gt;SELECT Id, Name, Account.Name&lt;/P&gt;&lt;P&gt;FROM Contact &lt;/P&gt;&lt;P&gt;WHERE Account.Industry = 'media'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please check if you have created relationship  Account and Opportunity in Quote object in the salesforce console?&lt;/P&gt;&lt;P&gt;if yes, you can query the fields of Account and Opportunity in Quote object by using SOQL like&lt;/P&gt;&lt;P&gt;&lt;B&gt;Select Id, Opportunity.Company__c, Account.Customer_ID__c ... FROM Quote ...&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please refer to &lt;/P&gt;&lt;P&gt;https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_relationships_query_using.htm&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 02:51:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-SOQL-query-from-multiple-objects/m-p/2346821#M114173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-06-01T02:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Salesforce SOQL query from multiple objects</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Salesforce-SOQL-query-from-multiple-objects/m-p/2346822#M114174</link>
      <description>&lt;P&gt;Thanks Achen. I dont have permission on the salesforce side but i can check. In the meantime, tsalesforceinput component started giving out data when i changed the QueryMode property from 'Query' to 'Bulk' , not sure what this means.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 06:55:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Salesforce-SOQL-query-from-multiple-objects/m-p/2346822#M114174</guid>
      <dc:creator>RKR1685519471</dc:creator>
      <dc:date>2023-06-01T06:55:11Z</dc:date>
    </item>
  </channel>
</rss>

