<?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 Help in Looping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-in-Looping/m-p/1303614#M844828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; I&amp;nbsp; believe this can't be done through expressions but looping.&amp;nbsp; I would appreciate if someone can help me on this 'coz I have never tried looping in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a sample table that I need to create a new field for the proposed delivery date (per material and country) for the demand keyfig ...This new field will be committed based on Enter date.&amp;nbsp; IF enter date is the same , then commit by Request date....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; First row in order qty&amp;nbsp; is Commit through the 1st available supplyqty&amp;nbsp; through its ETA.&amp;nbsp; If the supply qty is not enough, go to the next row&amp;nbsp; of supply until the order qty can be fully supported....then go to the next order qty row, and commit to next available supply...until all the order qty will have a proposed&amp;nbsp; delivery date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; If there is no supply, it will be committed based on the LT...Request date +LT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; I have also attach a sample qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have explained this well enough. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159808_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Help in Looping</title>
      <link>https://community.qlik.com/t5/QlikView/Help-in-Looping/m-p/1303614#M844828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&amp;nbsp; I&amp;nbsp; believe this can't be done through expressions but looping.&amp;nbsp; I would appreciate if someone can help me on this 'coz I have never tried looping in script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is a sample table that I need to create a new field for the proposed delivery date (per material and country) for the demand keyfig ...This new field will be committed based on Enter date.&amp;nbsp; IF enter date is the same , then commit by Request date....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; First row in order qty&amp;nbsp; is Commit through the 1st available supplyqty&amp;nbsp; through its ETA.&amp;nbsp; If the supply qty is not enough, go to the next row&amp;nbsp; of supply until the order qty can be fully supported....then go to the next order qty row, and commit to next available supply...until all the order qty will have a proposed&amp;nbsp; delivery date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; If there is no supply, it will be committed based on the LT...Request date +LT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.&amp;nbsp; I have also attach a sample qvw.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I have explained this well enough. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/159808_pastedImage_0.png" style="max-height: 900px; max-width: 1200px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-in-Looping/m-p/1303614#M844828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
  </channel>
</rss>

