<?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: Need help with lookup in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339988#M108067</link>
    <description>I do not know what kind of Talend component you are looking for. You can achieve this with a simple job like tFileInputExcel --&amp;gt; tMap --&amp;gt; tSalesforceOutput(BulkExec). The Java split should be placed into the expression of the corresponding field in the output of the tMap. This is all the Java knowledge you need for this. The rest of the magic will happen in the Salesforce component. Sorry, but there is no simpler way to do this - you will need some Salesforce integration knowledge to achieve this.</description>
    <pubDate>Tue, 13 Sep 2016 20:26:10 GMT</pubDate>
    <dc:creator>JR1</dc:creator>
    <dc:date>2016-09-13T20:26:10Z</dc:date>
    <item>
      <title>Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339982#M108061</link>
      <description>&lt;P&gt;Talend Version: 6.21&amp;nbsp;&lt;BR /&gt;Hello Everybody&amp;nbsp;&lt;BR /&gt;We have an ERP ( Oracle Database) --&amp;gt; &amp;nbsp;SF Data Process with our Quotes.&lt;BR /&gt;The Quotes are creating an Opportunity on Salesforce an these ones are linked with the Quote.&lt;BR /&gt;The Problem is that the ERP Recreates a new Quotes when an Update is created on ERP-Side.&lt;BR /&gt;For example first Quote 100234 will be update an than the new Data Record is 100234-001,100234-002 etc.&lt;BR /&gt;So my idea is to do an Lookup back from the Quote to the Quote ERP Query &amp;nbsp;and compare the first number first 100234 and then compare &amp;nbsp;if are &amp;nbsp;updated Quotes availiable &amp;nbsp; ( example 100234-001 or 100234-002).&lt;BR /&gt;&lt;BR /&gt;So which Component from Talend &amp;nbsp;may fit for this problem ? &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;regards john&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 13:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339982#M108061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-12T13:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339983#M108062</link>
      <description>It should be possible to achieve this via the "Upsert" operation in your tSalesforceOutput or tSalesforceOutputBulkExec component. In addition, you should introduce an external id in the Quote/Opportunity object(s) - depending on how you intend to use these. Please consult the Salesforce.com documentation for details on how to use "Upsert" and external ids. Your suggested solution seems a bit complicated and to be honest, I do not understand it. Feel free to ignore my suggestion if you definitely want to use your approach.</description>
      <pubDate>Mon, 12 Sep 2016 15:01:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339983#M108062</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2016-09-12T15:01:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339984#M108063</link>
      <description>Hi,
&lt;BR /&gt;The suggestion from JoRoesecke is the good one.&amp;nbsp;
&lt;BR /&gt;You need to define an external for each Salesforce object you want to be able to use the UPSERT statement.
&lt;BR /&gt;If the record exists with the value from the input flow, then the Salesforce record is updated, else it is inserted.
&lt;BR /&gt;Regards,
&lt;BR /&gt;TRF</description>
      <pubDate>Mon, 12 Sep 2016 15:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339984#M108063</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2016-09-12T15:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339985#M108064</link>
      <description>Hello JoRoesecke: 
&lt;BR /&gt;I just try to explain this a little bit better. 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;B&gt;ERP-Side:&lt;/B&gt; 
&lt;BR /&gt;1. Quote is created as &amp;nbsp;100234&amp;nbsp; 
&lt;BR /&gt; 
&lt;B&gt;Talend Side:&lt;/B&gt; 
&lt;BR /&gt;2. Talend Process will be fired up the Quote-Creation on SF&amp;nbsp; 
&lt;BR /&gt; 
&lt;B&gt;SF-Side:&amp;nbsp;&lt;/B&gt; 
&lt;BR /&gt;3. The Quote create per Process an Opportunity based on the Quote Number ( 100234) 
&lt;BR /&gt; 
&lt;B&gt;ERP-Side 5 Days later:&lt;/B&gt; 
&lt;BR /&gt;The Quote ( 100234) will be updated as 100234-001 ( for example &amp;nbsp;the price has changed) 
&lt;BR /&gt; 
&lt;B&gt;Talend Side:&lt;/B&gt; 
&lt;BR /&gt;Talend Process will be fired up the &amp;nbsp;update Quote 100234-001 to SF. 
&lt;BR /&gt; 
&lt;B&gt;SF-Side:&amp;nbsp;&lt;/B&gt; 
&lt;BR /&gt;The Quote create per Process an Opportunity based on the Quote Number ( 100234-001) 
&lt;BR /&gt; 
&lt;B&gt;The Problem :&lt;/B&gt; 
&lt;BR /&gt; 
&lt;B&gt;On the Opportunity in SF which are related to the Quote &amp;nbsp;100234 are still Activities and Notes,attachment etc.&lt;/B&gt; 
&lt;BR /&gt; 
&lt;B&gt;So these Opportunity needs a new Relation with these Quote &amp;nbsp;100234-001 ( this is the update one from 100234).&lt;/B&gt; 
&lt;BR /&gt; 
&lt;B&gt;ATM it doesn't matter if the old Quote 100234 still exist it only counts that the relation from the Opportunity will be Updated.&lt;/B&gt; 
&lt;BR /&gt;i hope now it's a little bit more clear. 
&lt;BR /&gt; 
&lt;BR /&gt;regards john&amp;nbsp;</description>
      <pubDate>Mon, 12 Sep 2016 16:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339985#M108064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-12T16:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339986#M108065</link>
      <description>OK, I think I understand what you want to achieve. Please correct me if I am wrong but you want to initially create an SFDC Opportunity from an ERP quote (in your example 100234). Then the users will add activities, attachments, etc. to it. Later, in ERP the quote is updated and gets the ID 100234-001, which subsequently creates a new SFDC Opportunity with ID 100234-001. You now want to link this new Opportunity to the original one. Is this correct? It is a bit confusing as "Quote" is an SFDC object as well. Strictly speaking, an opportunity is not a quote but I take it as it is in your case. 
&lt;BR /&gt; 
&lt;BR /&gt;If I am correct in my assumption, you should still consider giving the Opportunity in SFDC a new external ID field&amp;nbsp;(e.g. "ExternalId__c")&amp;nbsp;holding the ID of the Opportunity (100234) as well as a new Lookup(Opportunity) field called "ParentOpportunity__c". When loading the new (updated) Opportunity 100234-001, extract the original ID from this new ID e.g. via the Java split method (yourId.split("-")[0]) and pass it on to the field ParentOpportunity__c. Then - after setting the Output Action to "UPSERT" and selecting "ExternalId__c" as the "Upsert Key Column"&amp;nbsp;-&amp;nbsp;you will have to dive a bit deeper into the "Advanced" settings of the tSalesforceXXX component. Add a new record to "Relationship mapping for upsert" and provide the following values (I hope I got this right as I cannot test it right now):&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;Column name in Talend schema: "ParentOpportunity__c" 
&lt;BR /&gt;Lookup relationship field name: "ParentOpportunity__r" 
&lt;BR /&gt;Module name: Opportunity (without double quotes!) 
&lt;BR /&gt;External ID name: "ExternalId__c" 
&lt;BR /&gt; 
&lt;BR /&gt;As you can see, this is a bit more complicated. I believe, you will have to try it yourself. It is important that you understand what is happening here. Lots of information on external IDs, upsert statements and relationship mappings can be found in the Salesforce.com documentation which I cannot reproduce here due to lack of time and space. I hope this helps. 
&lt;BR /&gt;Note: this of course only works if your updated IDs always have exactly the format you described.</description>
      <pubDate>Mon, 12 Sep 2016 17:27:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339986#M108065</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2016-09-12T17:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339987#M108066</link>
      <description>Hello JoRoesecke&amp;nbsp;
&lt;BR /&gt;Yes your are right with your assumption but i &amp;nbsp;have forgot that the Quote obejct is custom may this is important or not just for completeness...
&lt;BR /&gt;Okay i will try to Build an Test Projekt ....so far at this point .. &amp;nbsp;thanks for helping
&lt;BR /&gt;
&lt;BR /&gt;Additional:
&lt;BR /&gt;
&lt;BR /&gt;If you have some tipps &amp;nbsp;which I can solve the problem with an talend component wil be great cause my Java Knowledge is very n
&lt;FONT color="#000000"&gt;&lt;FONT face="arial," helvetica=""&gt;&lt;U&gt;egligible.&lt;/U&gt;&lt;/FONT&gt;&lt;/FONT&gt;
&lt;BR /&gt;
&lt;BR /&gt;regards john&amp;nbsp;</description>
      <pubDate>Tue, 13 Sep 2016 09:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339987#M108066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-13T09:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339988#M108067</link>
      <description>I do not know what kind of Talend component you are looking for. You can achieve this with a simple job like tFileInputExcel --&amp;gt; tMap --&amp;gt; tSalesforceOutput(BulkExec). The Java split should be placed into the expression of the corresponding field in the output of the tMap. This is all the Java knowledge you need for this. The rest of the magic will happen in the Salesforce component. Sorry, but there is no simpler way to do this - you will need some Salesforce integration knowledge to achieve this.</description>
      <pubDate>Tue, 13 Sep 2016 20:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339988#M108067</guid>
      <dc:creator>JR1</dc:creator>
      <dc:date>2016-09-13T20:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339989#M108068</link>
      <description>Okay it seems &amp;nbsp;that i'm going to don't &amp;nbsp;understand the whole thing sometimes I understand only . 
&lt;BR /&gt; 
&lt;BR /&gt;I have the 2 Objects 
&lt;BR /&gt;&amp;nbsp;Quotes &amp;nbsp;and Opp's which plays a role. 
&lt;BR /&gt;I have Fields in &amp;nbsp;: 
&lt;BR /&gt; 
&lt;B&gt;Quote (example&amp;nbsp;&lt;/B&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Arial," helvetica=""&gt;1006709)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;:&lt;/B&gt; 
&lt;BR /&gt;1. No Linked Fields &amp;nbsp;to Opp. 
&lt;BR /&gt; 
&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Arial," helvetica=""&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;B&gt;Opp:&lt;/B&gt; 
&lt;BR /&gt;1. Opp.Name example (&amp;nbsp; 
&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Arial," helvetica=""&gt;1006709John Doe Corp)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&amp;nbsp;( concatenate&amp;nbsp; &amp;nbsp;the name of the Quote and the Companyname ) will be created per Process from Salesforce. 
&lt;BR /&gt;2 QuoteField ( example. 1006709)&amp;nbsp;&amp;nbsp;( Lookup to Quote). 
&lt;BR /&gt; 
&lt;B&gt;New Created Fields:&lt;/B&gt; 
&lt;BR /&gt;On. Opp:&amp;nbsp; 
&lt;BR /&gt;External ID &amp;nbsp;( i have to add what ? ) 
&lt;BR /&gt;Parent Opportunity &amp;nbsp;( for example &amp;nbsp;&amp;nbsp; 
&lt;FONT color="#000000"&gt;&lt;FONT size="1"&gt;&lt;FONT face="Arial," helvetica=""&gt;1006709)&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; 
&lt;BR /&gt;[list=*] 
&lt;BR /&gt; 
&lt;LI&gt;But i don't understand the handling with these Fields what you describe.&lt;/LI&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Cause the opp's will be created from the Salesforce &amp;nbsp;System based on some Criterias not from Talend. 
&lt;BR /&gt;[list=*] 
&lt;BR /&gt; 
&lt;LI&gt;When i make an upsert on my ERP-System should i use the Quote-Number 1006709 &amp;nbsp;( unique) or another one ?&lt;/LI&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt;Here is my standard Job from Talend to Load the Quotes from ERP to the Quotes to Salesforce. 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFjC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142890i5A7C0BF74B6CC5CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFjC.png" alt="0683p000009MFjC.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;to be honest &amp;nbsp;...I'm a litte bit confused ...i will lose the common theme .. may i think too complicated 
&lt;BR /&gt; 
&lt;BR /&gt;regards john&amp;nbsp;</description>
      <pubDate>Thu, 15 Sep 2016 08:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339989#M108068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-15T08:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339990#M108069</link>
      <description>Any further hints or tips ...&lt;BR /&gt;Thnx in advance&amp;nbsp;&lt;BR /&gt;regards john&amp;nbsp;</description>
      <pubDate>Mon, 26 Sep 2016 12:55:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339990#M108069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-26T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with lookup</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339991#M108070</link>
      <description>Some other &amp;nbsp;hints to solve the problem ?&amp;nbsp; 
&lt;BR /&gt;may someone could help which has some experience with sf ? 
&lt;BR /&gt;or could point me out the joes way ( thanks for that) a little bit more in detail &amp;nbsp;( may the way to create an unique id integrate the lookup properly )&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;regards john&amp;nbsp;</description>
      <pubDate>Wed, 05 Oct 2016 13:33:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-help-with-lookup/m-p/2339991#M108070</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-10-05T13:33:11Z</dc:date>
    </item>
  </channel>
</rss>

