<?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 Data integration for Magento to Quick Book in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Data-integration-for-Magento-to-Quick-Book/m-p/2334017#M102743</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I'm currently new to Talend and I'm learning through videos and documentation.&lt;BR /&gt;My goal is to integrate Magento and Quick Book using Talend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Initially my first thought was I will setup direct DB connection for Magento and will take relevant data which I need and will process it and will send to QuickBook using REST API's(specifically bulk API's)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But then again I thought it would be little hectic for me to query Magento database(multiple joins) so I've another option to use Magento's REST API.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But as I'm not much familiar with the tool I'm struggling little, so any help is appreciated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;What I've done currently?&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;I've saved my auth(for QB) and db(Magento) data in file and using tFileInputDelimited and tContextLoad, I'm storing them in context variables so they can be accessible globally.&lt;/LI&gt; 
 &lt;LI&gt;I've successfully configured database connection and input but I've not used metadata for connection(should I use that and if Yes how can I pass dynamic values there?). I've used my context variables data in db connection settings.&lt;/LI&gt; 
 &lt;LI&gt;I've taken relevant fields for now but if I want multiple fields simple query is not enough as Magento stores data in multiple tables for Customer etc but it's not big deal I know but I think it might increase my work.&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;For now that's what I've built and my next step is send the data to QB using REST while getting access_token and saving it to context variable and again storing the QB reference into Magento DB.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also I've decided to use QB bulk API's but I'm not sure how I can process data in chunks in Talend(I tried to check multiple resources but no luck) i.e. if the Magento is returning 500 rows I want to process them in chunks of&amp;nbsp;&lt;SPAN&gt;30 as QB batch max limit is 30, so I will be sending it using REST to QB and as I said I also want to store back QB reference ID in magento(so I can update it later).&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Also this all will be on local, then how can I do same in production? how I can maintain development and production environment?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Resources I'm referring&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For REST -&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCx7qCAC#M587" target="_blank"&gt;https://community.talend.com/t5/How-Tos-and-Best-Practices/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/133568#M587&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:36:19 GMT</pubDate>
    <dc:creator>indrajeet183</dc:creator>
    <dc:date>2024-11-16T04:36:19Z</dc:date>
    <item>
      <title>Data integration for Magento to Quick Book</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-integration-for-Magento-to-Quick-Book/m-p/2334017#M102743</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I'm currently new to Talend and I'm learning through videos and documentation.&lt;BR /&gt;My goal is to integrate Magento and Quick Book using Talend.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Initially my first thought was I will setup direct DB connection for Magento and will take relevant data which I need and will process it and will send to QuickBook using REST API's(specifically bulk API's)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But then again I thought it would be little hectic for me to query Magento database(multiple joins) so I've another option to use Magento's REST API.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But as I'm not much familiar with the tool I'm struggling little, so any help is appreciated.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;What I've done currently?&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;OL&gt; 
 &lt;LI&gt;I've saved my auth(for QB) and db(Magento) data in file and using tFileInputDelimited and tContextLoad, I'm storing them in context variables so they can be accessible globally.&lt;/LI&gt; 
 &lt;LI&gt;I've successfully configured database connection and input but I've not used metadata for connection(should I use that and if Yes how can I pass dynamic values there?). I've used my context variables data in db connection settings.&lt;/LI&gt; 
 &lt;LI&gt;I've taken relevant fields for now but if I want multiple fields simple query is not enough as Magento stores data in multiple tables for Customer etc but it's not big deal I know but I think it might increase my work.&lt;/LI&gt; 
&lt;/OL&gt; 
&lt;P&gt;For now that's what I've built and my next step is send the data to QB using REST while getting access_token and saving it to context variable and again storing the QB reference into Magento DB.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Also I've decided to use QB bulk API's but I'm not sure how I can process data in chunks in Talend(I tried to check multiple resources but no luck) i.e. if the Magento is returning 500 rows I want to process them in chunks of&amp;nbsp;&lt;SPAN&gt;30 as QB batch max limit is 30, so I will be sending it using REST to QB and as I said I also want to store back QB reference ID in magento(so I can update it later).&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Also this all will be on local, then how can I do same in production? how I can maintain development and production environment?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Resources I'm referring&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;For REST -&amp;nbsp;&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCx7qCAC#M587" target="_blank"&gt;https://community.talend.com/t5/How-Tos-and-Best-Practices/Using-OAuth-2-0-with-Talend-to-Access-Google-APIs/m-p/133568#M587&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:36:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-integration-for-Magento-to-Quick-Book/m-p/2334017#M102743</guid>
      <dc:creator>indrajeet183</dc:creator>
      <dc:date>2024-11-16T04:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Data integration for Magento to Quick Book</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-integration-for-Magento-to-Quick-Book/m-p/2334018#M102744</link>
      <description>&lt;P&gt;To chunk your data into a number of records, this explanation could be of use (&lt;A href="https://community.qlik.com/s/feed/0D73p000004kT8sCAE#M77032" target="_blank"&gt;https://community.talend.com/t5/Design-and-Development/Generate-n-rows-of-XML-output/m-p/122222/highlight/true#M77032&lt;/A&gt;). This is about an XML output, but the theory remains the same.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;When using a db component to retrieve records, you can use any SQL you like. This can involve multiple tables, WITH clauses, you name it. Be aware that the code is essentially a Java String. So if you want to add dynamic clauses, you will need to use variables and some String manipulation. For example.....&lt;/P&gt; 
&lt;PRE&gt;"Select
Table1.Column1,
Table2.Column2,
Table3.Column3
From Table1 JOIN  Table2 ON Table1.Column1 = Table2.Column5
JOIN Table3 ON Table1.column1 = Table3.Column4
WHERE Table1.Column5 = '" + context.MyWhereValue + "'"&lt;/PRE&gt; 
&lt;P&gt;If you have used context variables for your db connections, you can simply adjust the context variable values by using a tContextLoad component after a tPreJob component, or you could use the implicit context load.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2019 16:41:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-integration-for-Magento-to-Quick-Book/m-p/2334018#M102744</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-26T16:41:38Z</dc:date>
    </item>
  </channel>
</rss>

