<?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: Simple For Each Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-For-Each-Question/m-p/1102277#M628880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I must correct me that fieldvaluelist() is really an undocumented but valid function, see: &lt;A href="https://www.qlik2go.net/en/2015/06/08/a-beautifull-list-with-fieldvaluelist-2/" title="https://www.qlik2go.net/en/2015/06/08/a-beautifull-list-with-fieldvaluelist-2/"&gt;https://www.qlik2go.net/en/2015/06/08/a-beautifull-list-with-fieldvaluelist-2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Nov 2016 15:16:36 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2016-11-08T15:16:36Z</dc:date>
    <item>
      <title>Simple For Each Question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-For-Each-Question/m-p/1102275#M628878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello together,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I' ve adapted a Query of a colleague, the requirement is a loop.&lt;/P&gt;&lt;P&gt;We' re working with pixi (ERP) and using APIs to get any Information...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With this Script we' d like to get the available &amp;amp; physical stock of an Item.&lt;/P&gt;&lt;P&gt;For the API, we' ve to put in the EAN Code to get an result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Loading all EANs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;EANUPC as EAN&lt;/P&gt;&lt;P&gt;// ItemNrInt&lt;/P&gt;&lt;P&gt; FROM [lib://pixiReadItems (nickismode_administrator)]&lt;/P&gt;&lt;P&gt;(XmlSimple, table is [Envelope/Body/pixiReadItemsResponse/pixiReadItemsResult/SqlRowSet/diffgram/SqlRowSet1/row]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Put them into the API with a Loop&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FOR Each BN in FieldValueList('EAN')&lt;/P&gt;&lt;P&gt;[Pixi Get Item Infos]:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Webfile, generated with QV Source&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Let Libr = &lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;'&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:5555/QVSource/WebConnectorV2/?table=RawResponse&amp;amp;verb=POST&amp;amp;url=https%3a%2f%2fapi.pixi.eu%2fsoap%2fpixiNIC%2f%3fwsdl&amp;amp;data=%3csoapenv%3aEnvelope+xmlns%3asoapenv%3d%22http%3a%2f%2fschemas.xmlsoap.org%2fsoap%2fenvelope%2f%22+xmlns%3apix%3d%22https%3a%2f%2fapi.pixi.eu%2fsoap%2fpixiNIC%2f%22%3e%0a+++%3csoapenv%3aHeader%2f%3e%0a+++%3csoapenv%3aBody%3e%0a++++++%3cpix%3apixiGetItemStock%3e%0a+++++++++%3cpix%3aEAN%3e'&amp;amp;'$(BN)'&amp;amp;'%3c%2fpix%3aEAN%3e%0a++++++%3c%2fpix%3apixiGetItemStock%3e%0a+++%3c%2fsoapenv%3aBody%3e%0a%3c%2fsoapenv%3aEnvelope%3e&amp;amp;contentType=text%2fxml%3bcharset%3dUTF-8&amp;amp;headers=https%3a%2f%2fapi.pixi.eu%2fsoap%2fpixiNIC%2fpixiGetItemStock&amp;amp;UserName=pixiNIC&amp;amp;PasswordEncrypted=Vd5%2fe1luRn2NGe2eMc3oYHXd2wS6CHyy&amp;amp;appID=';" rel="nofollow" target="_blank"&gt;http://localhost:5555/QVSource/WebConnectorV2/?table=RawResponse&amp;amp;verb=POST&amp;amp;url=https%3a%2f%2fapi.pixi.eu%2fsoap%2fpixiNIC%2f%3fwsdl&amp;amp;data=%3csoapenv%3aEnvelope+xmlns%3asoapenv%3d%22http%3a%2f%2fschemas.xmlsoap.org%2fsoap%2fenvelope%2f%22+xmlns%3apix%3d%22https%3a%2f%2fapi.pixi.eu%2fsoap%2fpixiNIC%2f%22%3e%0a+++%3csoapenv%3aHeader%2f%3e%0a+++%3csoapenv%3aBody%3e%0a++++++%3cpix%3apixiGetItemStock%3e%0a+++++++++%3cpix%3aEAN%3e'&amp;amp;'$(BN)'&amp;amp;'%3c%2fpix%3aEAN%3e%0a++++++%3c%2fpix%3apixiGetItemStock%3e%0a+++%3c%2fsoapenv%3aBody%3e%0a%3c%2fsoapenv%3aEnvelope%3e&amp;amp;contentType=text%2fxml%3bcharset%3dUTF-8&amp;amp;headers=https%3a%2f%2fapi.pixi.eu%2fsoap%2fpixiNIC%2fpixiGetItemStock&amp;amp;UserName=pixiNIC&amp;amp;PasswordEncrypted=Vd5%2fe1luRn2NGe2eMc3oYHXd2wS6CHyy&amp;amp;appID=';&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Reading the needed Information&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;AvailableStock,&lt;/P&gt;&lt;P&gt;PhysicalStock,&lt;/P&gt;&lt;P&gt;PhysicalStockAllLocations,&lt;/P&gt;&lt;P&gt;// SupplPrice,&lt;/P&gt;&lt;P&gt;// ItemKey,&lt;/P&gt;&lt;P&gt;EANUPC as EAN&lt;/P&gt;&lt;P&gt;// ItemNrSuppl,&lt;/P&gt;&lt;P&gt;// ItemNrInt&lt;/P&gt;&lt;P&gt;FROM [lib://pixiGetItemStock (nickismode_administrator)]&lt;/P&gt;&lt;P&gt;(XmlSimple, table is [Envelope/Body/pixiGetItemStockResponse/pixiGetItemStockResult/SqlRowSet/schema]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next BN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it doesn' t work the way we wanted to.&lt;/P&gt;&lt;P&gt;It loads and loads but there' s no result... I hope you can help me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christoph&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 14:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-For-Each-Question/m-p/1102275#M628878</guid>
      <dc:creator />
      <dc:date>2016-08-12T14:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple For Each Question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-For-Each-Question/m-p/1102276#M628879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fieldvaluelist is not a valid qlik-function - your script should be more look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;//Loading all EANs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;concat(EANUPC, chr(39) &amp;amp; ',' &amp;amp; chr(39)) as EAN&lt;/P&gt;&lt;P&gt;// ItemNrInt&lt;/P&gt;&lt;P&gt; FROM [lib://pixiReadItems (nickismode_administrator)]&lt;/P&gt;&lt;P&gt;(XmlSimple, table is [Envelope/Body/pixiReadItemsResponse/pixiReadItemsResult/SqlRowSet/diffgram/SqlRowSet1/row]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vEANList = fieldvalue('EAN', 1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;//Put them into the API with a Loop&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FOR Each BN in '$(vEANList)'&lt;/P&gt;&lt;P&gt;[Pixi Get Item Infos]:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 16:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-For-Each-Question/m-p/1102276#M628879</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-08-12T16:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Simple For Each Question</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-For-Each-Question/m-p/1102277#M628880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I must correct me that fieldvaluelist() is really an undocumented but valid function, see: &lt;A href="https://www.qlik2go.net/en/2015/06/08/a-beautifull-list-with-fieldvaluelist-2/" title="https://www.qlik2go.net/en/2015/06/08/a-beautifull-list-with-fieldvaluelist-2/"&gt;https://www.qlik2go.net/en/2015/06/08/a-beautifull-list-with-fieldvaluelist-2/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 15:16:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-For-Each-Question/m-p/1102277#M628880</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2016-11-08T15:16:36Z</dc:date>
    </item>
  </channel>
</rss>

